fail2ban: use "host_info" template expression
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Sun, 29 Sep 2019 13:37:08 +0000 (14:37 +0100)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Sun, 29 Sep 2019 13:37:08 +0000 (14:37 +0100)
This correctly handles items such as the port number that is now
included in log entries

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
modules/fail2ban/files/filter/dsa-exim-strict.conf

index 1fc5f49..2dcdfb1 100644 (file)
@@ -4,4 +4,4 @@
 before = exim-common.conf
 
 [Definition]
-failregex = (?i)^%(pid)s SMTP protocol error in "AUTH LOGIN" .* \[<HOST>\] AUTH command used when not advertised$
+failregex = (?i)^%(pid)s SMTP protocol error in "AUTH LOGIN" %(host_info)sAUTH command used when not advertised$