dist: Update fail2ban filter

Remove unnessecary log prefix matching.
This commit is contained in:
bn4t 2020-05-08 07:02:58 +00:00 committed by Max Mazurov
parent 79e3e3385d
commit b41ca65cd3

View file

@ -2,5 +2,5 @@
before = common.conf
[Definition]
failregex = (smtp|submission|lmtp|imap):\ authentication failed\t\{\"reason\":\".*\",\"src_ip\"\:\"<HOST>:\d+\"\,\"username\"\:\".*\"\}$
failregex = authentication failed\t\{\"reason\":\".*\",\"src_ip\"\:\"<HOST>:\d+\"\,\"username\"\:\".*\"\}$
journalmatch = _SYSTEMD_UNIT=maddy.service + _COMM=maddy