Be more backward compatible on matching postfix/smtps/smtpd

Support trailing smtps also and not only smtpd.

suggested by @sebres
pull/1391/head
Alexandre Perrin 2016-04-14 13:54:58 +02:00
parent 1a299409e5
commit 7712310d2d
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ before = common.conf
[Definition]
_daemon = postfix(-\w+)?/((?:submission|smtps)/)?smtpd
_daemon = postfix(-\w+)?/(?:submission/|smtps/)?smtp[ds]
failregex = ^%(__prefix_line)swarning: [-._\w]+\[<HOST>\]: SASL ((?i)LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5) authentication failed(: [ A-Za-z0-9+/:]*={0,2})?\s*$

View File

@ -10,7 +10,7 @@ before = common.conf
[Definition]
_daemon = postfix(-\w+)?/((?:submission|smtps)/)?smtpd
_daemon = postfix(-\w+)?/(?:submission/|smtps/)?smtp[ds]
failregex = ^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[<HOST>\]: 554 5\.7\.1 .*$
^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[<HOST>\]: 450 4\.7\.1 Client host rejected: cannot find your hostname, (\[\S*\]); from=<\S*> to=<\S+> proto=ESMTP helo=<\S*>$