From: Adam D. Barratt Date: Thu, 26 Sep 2019 17:28:03 +0000 (+0100) Subject: fail2ban: add more expressions to the Exim filter X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=6493f3db79d5ab50eabad4637dbdb54a74eb85bc;p=mirror%2Fdsa-puppet.git fail2ban: add more expressions to the Exim filter Signed-off-by: Adam D. Barratt --- diff --git a/modules/fail2ban/files/filter/dsa-exim.conf b/modules/fail2ban/files/filter/dsa-exim.conf index 7e43af9e2..2d56613e1 100644 --- a/modules/fail2ban/files/filter/dsa-exim.conf +++ b/modules/fail2ban/files/filter/dsa-exim.conf @@ -5,3 +5,8 @@ before = exim-common.conf [Definition] failregex = ^%(pid)s SMTP protocol error in "AUTH LOGIN" .* \[\] AUTH command used when not advertised$ + ^%(pid)s %(host_info)ssender verify fail for <\S+>: (?:Unknown user|Unrouteable address|all relevant MX records point to non-existent hosts)\s*$ + ^%(pid)s \w+ authenticator failed for (\S+ )?\(\S+\) \[\](:\d+)?( I=\[\S+\](:\d+)?)?: 535 Incorrect authentication data( \(set_id=.*\)|: \d+ Time\(s\))?\s*$ + ^%(pid)s %(host_info)sF=(<>|[^@]+@\S+) rejected RCPT [^@]+@\S+: (relay not permitted|Sender verify failed|Unknown user|Unrouteable address|Invalid local part)\s*$ + ^%(pid)s SMTP protocol synchronization error \([^)]*\): rejected (connection from|"\S+") %(host_info)s(next )?input=".*"\s*$ + ^%(pid)s SMTP call from \S+ \[\](:\d+)? (I=\[\S+\](:\d+)? )?dropped: too many nonmail commands \(last was "\S+"\)\s*$