Add 'config/fail2ban/postfix-sasl.conf'
This commit is contained in:
6
config/fail2ban/postfix-sasl.conf
Normal file
6
config/fail2ban/postfix-sasl.conf
Normal 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*$
|
||||||
Reference in New Issue
Block a user