fixed to separate rejections by greylisting than by RBL. #102

This commit is contained in:
Jordi Sanfeliu 2017-07-06 08:30:26 +02:00
parent 399300ae9e
commit a46b38971a
1 changed files with 7 additions and 0 deletions

View File

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