Bug#260810: [Logcheck-devel] Bug#260810: Addition to bug 260810: lmtp rule

maks attems debian at sternwelten.at
Fri Jul 23 12:33:43 UTC 2004


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, Til

thanks 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 


More information about the Logcheck-devel mailing list