fail2ban: make exim "AUTH LOGIN" match case-insensitive
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Thu, 26 Sep 2019 17:29:45 +0000 (18:29 +0100)
committerAdam D. Barratt <adam@adam-barratt.org.uk>
Thu, 26 Sep 2019 17:29:45 +0000 (18:29 +0100)
Apparently people are trying it in lower-case as well

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

index 2d56613..64c8c1e 100644 (file)
@@ -4,7 +4,7 @@
 before = exim-common.conf
 
 [Definition]
-failregex = ^%(pid)s SMTP protocol error in "AUTH LOGIN" .* \[<HOST>\] AUTH command used when not advertised$
+failregex = ^%(pid)s SMTP protocol error in "(?i: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*$