ENH: Simplify cyrus-imap filter fail regex

pull/303/merge^2
Steven Hiscocks 2013-07-26 11:55:09 +01:00
parent 37f240bef0
commit b5639a8672
1 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,7 @@ _daemon = (?:cyrus/)?(?:imapd?|pop3d?)
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
# Values: TEXT
#
failregex = ^%(__prefix_line)sbadlogin: \S+ ?\[<HOST>\] (?:plaintext|PLAIN|LOGIN) .* \[?SASL\(-13\): authentication failure: checkpass failed\]?$
^%(__prefix_line)sbadlogin: \S+ ?\[<HOST>\] (?:(?:CRAM|DIGEST)-MD5|NTLM|OTP) \[SASL\(-13\): authentication failure: .*\]$
failregex = ^%(__prefix_line)sbadlogin: \S+ ?\[<HOST>\] \S+ .*?\[?SASL\(-13\): authentication failure: .*\]?$
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.