In my mail.log I see frequent errors like this:

Dec  2 18:07:45 ip-172-26-5-36 postfix/smtpd[32302]: warning: ip112.ip-149-56-254.net[]: SASL LOGIN authentication failed: Invalid authentication mechanism

to catch these users I have created this regex:

failregex = ^%(__prefix_line)swarning: [^\[]\[<HOST>\]: SASL ((?i)LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5) authentication failed(: [ A-Za-z0-9+/:]*={0,2})?\s*$

But it's not matching. Can someone explain what's wrong?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.