adding hostmaster to check

This commit is contained in:
mischa 2022-08-19 12:38:50 +00:00
parent 9a0d82b9bc
commit eeb1854eec

View File

@ -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;
} }