change regex to include bounce.*
This commit is contained in:
parent
2373ac4f5b
commit
9a0d82b9bc
@ -62,7 +62,7 @@ while (my $line = <>) {
|
||||
$ooo{$sid} = 1;
|
||||
$from = $address;
|
||||
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|noreply|no-reply|bounce.*)@/i) { $ooo{$sid} = 0; }
|
||||
} elsif ($event eq "tx-mail" && $code ne "ok") {
|
||||
$ooo{$sid} = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user