[Logcheck-devel] Bug#260810: Addition to bug 260810: lmtp rule
Tilman Koschnick
til at belleville.ch
Thu Jul 22 17:22:39 UTC 2004
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
More information about the Logcheck-devel
mailing list