Saturday, October 9, 2010

Greylisting

Error:-

2010-10-09 08:07:20 1P4SaL-0000NW-L1 == emailID R=dk_lookuphost T=dk_remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:: host Theirmailser [196.28.76.20]: 451 Temporary Policy Rejection - Please try later
2010-10-09 08:07:32 cwd=/var/spool/exim/msglog 3 args: exim -Mvl 1P4SaL-0000NW-L1
2010-10-09 08:08:36 cwd=/var/spool/exim/msglog 3 args: exim -Mvb 1P4SaL-0000NW-L1

Once we enabled Greylisting on our exim mail server it will not accept our first email and send the bounce message with "temporary failure report" with "==" symbol.
Why we are enabling greylisting on mail server: To avoid virus's and spam bots emails to servers. Virus and spam bots often don't bother to try again, if they fail to deliver a message on the first attempt.
All our exim default settings (/etc/exim.conf) retries every 15 minutes for 2 hours. Means once the mail delivery failed after 15minutes it will retry to send email again. On that time all greylisting servers will allow and delivered to particular consignee.
If you want to reset retry to every 5minutes for 2 hours we need to edit exim.conf(RETRY CONFIGURATION) section as
* * F,2h,5m; G,16h,1h,1.5; F,4d,8h
and restart exim

No comments:

Post a Comment