Here's the stanza for jail.local:

[sendmail-sasl]

enabled  = true
filter   = sendmail-sasl
action   = iptables-multiport[name=sendmail-sasl, 
port="submission,465,smtp", protocol=tcp]
           sendmail-whois[name=sendmail-sasl, dest=fail2ban, 
sender=fail2ban, sendername="Fail2Ban"]
logpath  = /var/log/maillog
# these guys hit stealthy and slow, so only allow 3 retries in 2 hours
findtime = 7200
maxretry = 3


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to