From e1f72a43aa5fe1cfb45aa5ada1af9ecd08c53c94 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Sun, 29 Sep 2019 14:37:08 +0100 Subject: [PATCH] fail2ban: use "host_info" template expression This correctly handles items such as the port number that is now included in log entries Signed-off-by: Adam D. Barratt --- modules/fail2ban/files/filter/dsa-exim-strict.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fail2ban/files/filter/dsa-exim-strict.conf b/modules/fail2ban/files/filter/dsa-exim-strict.conf index 1fc5f49ad..2dcdfb1bd 100644 --- a/modules/fail2ban/files/filter/dsa-exim-strict.conf +++ b/modules/fail2ban/files/filter/dsa-exim-strict.conf @@ -4,4 +4,4 @@ before = exim-common.conf [Definition] -failregex = (?i)^%(pid)s SMTP protocol error in "AUTH LOGIN" .* \[\] AUTH command used when not advertised$ +failregex = (?i)^%(pid)s SMTP protocol error in "AUTH LOGIN" %(host_info)sAUTH command used when not advertised$ -- 2.20.1