From e8710b679d73fb9865e6524d6321d707daaa787f Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Tue, 31 Dec 2013 08:22:52 +1100 Subject: [PATCH] ENH: stronger regex for failregex --- config/filter.d/openwebmail.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/filter.d/openwebmail.conf b/config/filter.d/openwebmail.conf index 00cdc87e..ef51031f 100644 --- a/config/filter.d/openwebmail.conf +++ b/config/filter.d/openwebmail.conf @@ -5,8 +5,8 @@ [Definition] -failregex = ^ - \[\d+\] \(\) .* login error .+$ - ^ - \[\d+\] \(\) .* doesn't exist$ +failregex = ^ - \[\d+\] \(\) (?P\S+) - login error - (no such user - loginname=(?P=USER)|auth_unix.pl, ret -4, Password incorrect)$ + ^ - \[\d+\] \(\) (?P\S+) - userinfo error - auth_unix.pl, ret -4, User (?P=USER) doesn't exist$ ignoreregex =