fail2ban: add more expressions to the Exim filter
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Thu, 26 Sep 2019 17:28:03 +0000 (18:28 +0100)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Thu, 26 Sep 2019 17:28:03 +0000 (18:28 +0100)
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
modules/fail2ban/files/filter/dsa-exim.conf

index 7e43af9..2d56613 100644 (file)
@@ -5,3 +5,8 @@ before = exim-common.conf
 
 [Definition]
 failregex = ^%(pid)s SMTP protocol error in "AUTH LOGIN" .* \[<HOST>\] 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+\) \[<HOST>\](:\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+ \[<HOST>\](:\d+)? (I=\[\S+\](:\d+)? )?dropped: too many nonmail commands \(last was "\S+"\)\s*$