Add 'config/fail2ban/postfix-sasl.conf'

This commit is contained in:
b.waal
2019-08-31 23:08:43 +02:00
parent d1709fd7f3
commit 2ab5f92f08

View File

@@ -0,0 +1,6 @@
# Fail2Ban filter for postfix authentication failures
[INCLUDES]
before = common.conf
[Definition]
_daemon = postfix/smtpd
failregex = ^%(__prefix_line)swarning: [-._\w]+\[<HOST>\]: SASL (?:LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5) authentication failed(: [ A-Za-z0-9+/]*={0,2})?\s*$