change regex to capture text before and after noreply, no-reply and bounce
This commit is contained in:
parent
ad41b4cd4d
commit
15cae2e64a
@ -69,7 +69,7 @@ while (my $line = <>) {
|
|||||||
$ooo{$sid} = 1;
|
$ooo{$sid} = 1;
|
||||||
$from = $address;
|
$from = $address;
|
||||||
dolog($fh, "$sid created session", $opt_l);
|
dolog($fh, "$sid created session", $opt_l);
|
||||||
if ($from =~ m/^(postmaster|hostmaster|noreply.*|no-reply.*|bounce.*)@/i) {
|
if ($from =~ m/^(postmaster|hostmaster)@|.*(noreply|no-reply|bounce).*@/i) {
|
||||||
$ooo{$sid} = 0;
|
$ooo{$sid} = 0;
|
||||||
dolog($fh, "$sid from skip $from", $opt_l);
|
dolog($fh, "$sid from skip $from", $opt_l);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user