diff --git a/VIRTUAL_VACATION/vacation.pl b/VIRTUAL_VACATION/vacation.pl index 88ced38..3563081 100755 --- a/VIRTUAL_VACATION/vacation.pl +++ b/VIRTUAL_VACATION/vacation.pl @@ -69,7 +69,7 @@ while (my $line = <>) { $ooo{$sid} = 1; $from = $address; 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; dolog($fh, "$sid from skip $from", $opt_l); }