Bug#259603: [Logcheck-devel] Bug#259603: proposed patch for the lmtp regexp
Todd Troxell
ttroxell at debian.org
Mon Aug 9 20:26:02 UTC 2004
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
More information about the Logcheck-devel
mailing list