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