mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-21 06:45:33 -06:00
commit
54ea1fd12d
1 changed files with 1 additions and 1 deletions
|
|
@ -1413,7 +1413,7 @@ sub parse_sendmail
|
||||||
$reject =~ s/^\s+//;
|
$reject =~ s/^\s+//;
|
||||||
$reject =~ s/[\s;]+$//;
|
$reject =~ s/[\s;]+$//;
|
||||||
# Test PostFix DNSBL spam scan
|
# Test PostFix DNSBL spam scan
|
||||||
if ($reject =~ /(?:client|helo) .* (blocked using .*)/i) {
|
if ($reject =~ /(?:client|helo) (?:.*?) (blocked using [^;]+)/i) {
|
||||||
my $spamdetail = $1;
|
my $spamdetail = $1;
|
||||||
$SPAM{$host}{$id}{relay} = $relay;
|
$SPAM{$host}{$id}{relay} = $relay;
|
||||||
$SPAM{$host}{$id}{rule} = 'reject';
|
$SPAM{$host}{$id}{rule} = 'reject';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue