Tilman Koschnick
2004-Jul-22 17:22 UTC
[Logcheck-devel] Bug#260810: Addition to bug 260810: lmtp rule
Hi, I'd like to suggest one change in the postfix rules originally submitted: The last line should read ^\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]+\)$ instead of ^\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]+\)$ since the 'orig_to=...' part is optional and only inserted if the address needs to be rewritten. E.g. I'm using lmtp to route all mail to amavisd-new, and no rewrite of addresses is taking place in this case. Cheers, Til
maks attems
2004-Jul-23 12:33 UTC
Bug#260810: [Logcheck-devel] Bug#260810: Addition to bug 260810: lmtp rule
On Thu, 22 Jul 2004, Tilman Koschnick wrote:> Hi, > > I'd like to suggest one change in the postfix rules originally submitted: > > The last line should read > > ^\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]+\)$ > > instead of > > ^\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]+\)$ > > since the 'orig_to=...' part is optional and only inserted if the > address needs to be rewritten. E.g. I'm using lmtp to route all mail to > amavisd-new, and no rewrite of addresses is taking place in this case. > > Cheers, Tilthanks for the explanation, fixed in cvs for both lmtp rules. a++ maks -------------- 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/20040723/48a3a72a/attachment.pgp
Apparently Analagous Threads
- Bug#259603: logcheck-database: postfix/lmtp rules do not match some configurations
- Bug#344620: ignore.server.d/postfix: 'address not listed for hostname' rule
- Bug#255560: logcheck-database: More Postfix rules
- Bug#260743: logcheck-database: dhcp rule updates for failover support
- Bug#404422: logcheck-database: postfix/lmtp messages not ignored by ignore.d.server/postfix