mirror of https://github.com/mikaku/Monitorix.git
fixed to separate rejections by greylisting than by RBL. #102
This commit is contained in:
parent
399300ae9e
commit
a46b38971a
|
@ -399,6 +399,13 @@ sub mail_update {
|
|||
}
|
||||
# postfix RBL
|
||||
if(/ postfix\/smtpd\[\d+\]: NOQUEUE: reject: RCPT from /) {
|
||||
# postgrey
|
||||
if(lc($mail->{greylist}) eq "postgrey") {
|
||||
if(/ Recipient address rejected: Greylisted, /) {
|
||||
$gl_greylisted++;
|
||||
next;
|
||||
}
|
||||
}
|
||||
$rbl++;
|
||||
}
|
||||
# postgrey
|
||||
|
|
Loading…
Reference in New Issue