From: Adam D. Barratt Date: Sun, 29 Sep 2019 13:37:08 +0000 (+0100) Subject: fail2ban: use "host_info" template expression X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e1f72a43aa5fe1cfb45aa5ada1af9ecd08c53c94;p=mirror%2Fdsa-puppet.git 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 --- 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$