Configure Fail2ban to block SASL login failed attempts in Postfix

From MyWiki
Revision as of 11:03, 21 March 2019 by George2 (Talk | contribs)

Jump to: navigation, search

Ref - https://bobcares.com/blog/fail2ban-postfix-sasl/

Add the following section in the jail.local file.

[sasl]
enabled  = true
port     = smtp
filter   = postfix-sasl
logpath  = /var/log/mail.log
maxretry = 5