Alessandro Amici
2004-Aug-06 09:53 UTC
[Logcheck-devel] Bug#259603: proposed patch for the lmtp regexp
maks, i can reproduce the lmtp part of the problem and as a matter of fact the rule seemed pretty broken 8-). the attached patch works with on my postfix-cyrus setup. please apply, alessandro -------------- next part -------------- A non-text attachment was scrubbed... Name: logcheck-patch Type: text/x-diff Size: 1235 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040806/d6b49336/attachment.diff
Todd Troxell
2004-Aug-09 20:26 UTC
Bug#259603: [Logcheck-devel] Bug#259603: proposed patch for the lmtp regexp
Alessandro, A similar rule has allready been applied to cvs. Feedback on the diff [0] is appreciated. Thanks anyway for the patch as well! -Todd [0] http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/logcheck/rulefiles/linux/ignore.d.server/postfix.diff?r1=1.20&r2=1.21&cvsroot=logcheck On Fri, Aug 06, 2004 at 11:53:35AM +0200, Alessandro Amici wrote:> > maks, > > i can reproduce the lmtp part of the problem and as a matter of fact the rule > seemed pretty broken 8-). > > the attached patch works with on my postfix-cyrus setup. > > please apply, > alessandro> --- /root/postfix 2004-08-06 11:41:05.000000000 +0200 > +++ ignore.d.server/postfix 2004-08-06 11:42:06.000000000 +0200 > @@ -58,5 +58,5 @@ > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning: Illegal address syntax from [^[:space:]]+ in (MAIL|RCPT) command: .*$ > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning: unknown\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\] sent non-SMTP command: .*$ > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: warning: Illegal address syntax from unknown\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\] in MAIL command: .*$ > -^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/lmtp\[[0-9]+\]: [0-9A-F]: to=<[^[:space:]]+>,( orig_to=<[^[:space:]]+>,)? relay=[^[:space:]]+\], delay=[0-9]+ status=sent \(250 2\.1\.5 Ok\)$ > +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/lmtp\[[0-9]+\]: [0-9A-F]+: to=<[^[:space:]]+>,( orig_to=<[^[:space:]]+>,)? relay=[^[:space:]]+\], delay=[0-9]+, status=sent \(250 2\.1\.5 Ok\)$ > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/lmtp\[[0-9]+\]: [0-9A-F]+: to=<[^[:space:]]+>,( orig_to=<[^[:space:]]+>,) relay=[^[:space:]]+\[[^[:space:]]+\], delay=[0-9]+, status=sent \(250 2\.6\.0 Ok, id=[-0-9]+, from MTA: 250 Ok: queued as [0-9A-F]+\)$-- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat `. `' `- ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040809/09007b61/attachment.pgp