adding hostmaster to check
This commit is contained in:
parent
9a0d82b9bc
commit
eeb1854eec
@ -62,7 +62,7 @@ while (my $line = <>) {
|
|||||||
$ooo{$sid} = 1;
|
$ooo{$sid} = 1;
|
||||||
$from = $address;
|
$from = $address;
|
||||||
print $fh "Virtual Vacation: created session $sid\n" if ($opt_d);
|
print $fh "Virtual Vacation: created session $sid\n" if ($opt_d);
|
||||||
if ($from =~ m/^(postmaster|noreply|no-reply|bounce.*)@/i) { $ooo{$sid} = 0; }
|
if ($from =~ m/^(postmaster|hostmaster|noreply|no-reply|bounce.*)@/i) { $ooo{$sid} = 0; }
|
||||||
} elsif ($event eq "tx-mail" && $code ne "ok") {
|
} elsif ($event eq "tx-mail" && $code ne "ok") {
|
||||||
$ooo{$sid} = 0;
|
$ooo{$sid} = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user