On Tue, Jan 20, 2015 at 11:15:01AM -0600, Noel Jones wrote: > # main.cf > smtpd_client_restrictions = > check_client_access hash:/etc/postfix/client_blacklist > check_sender_access hash:/etc/postfix/sender_blacklist > ... any other restrictions ... > > > # client_blacklist > # list IP or client hostname to block > 192.0.2.125 REJECT bad client > badhost.example.com REJECT bad client
I would add the DISCARD action as an option, because some smtp clients really check if the mail has been accepted, and if not retry to send it later; so a REJECT action will only delay the problem. The mail relay of my work lab was hit by this last week. -- Nicolas