mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 14:15:56 -06:00
sender relay for RBL Check detail report
This commit is contained in:
parent
102d771920
commit
e658db6b34
1 changed files with 7 additions and 0 deletions
|
|
@ -1454,6 +1454,13 @@ sub parse_sendmail
|
|||
$REJECT{$host}{$id}{arg1} = &edecode($from);
|
||||
$REJECT{$host}{$id}{to} = $to;
|
||||
}
|
||||
if (!exists $FROM{$host}{$id}{date}) {
|
||||
$FROM{$host}{$id}{date} = $time_st;
|
||||
$FROM{$host}{$id}{from} = &edecode($from);
|
||||
$FROM{$host}{$id}{size} = 0;
|
||||
$FROM{$host}{$id}{nrcpts} = 1;
|
||||
$FROM{$host}{$id}{relay} = $relay;
|
||||
}
|
||||
|
||||
# POSTFIX spampd reject
|
||||
} elsif ($str =~ m#^([^:\s]+): reject: header X-Spam-Flag: YES from ([^;]+); from=<([^>]*)> to=<([^>]+)> [^:]+: (.*)#) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue