Re: [Exim] [Feature request] Logging in data-ACL without dum…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Andreas Metzler
Data:  
Para: exim-users
Assunto: Re: [Exim] [Feature request] Logging in data-ACL without dumping full headers to reject.log
Please quote properly.
http://www.netmeister.org/news/learn2quote.html

On Mon, Sep 08, 2003 at 05:45:20AM -0500, Rick Cooper wrote:
> From: Andreas Metzler

[...]
>> this silly example[1]


>>    warn log_message =  Big message received: $message_size
>>         condition = ${if >{$message_size}{6M}{yes}{no}}


>> will not only log the respective line in main.log but will also dump
>> the full message-headers to reject.log, which was not necessarily
>> intended, having log_info or similar that does not trigger dumping the
>> headers to reject.log woul be nice.

[...]
> I noticed some time ago the data acl does this. Add the following to
> your section 1 config "log_selector = -rejected_header" or add the
> "-rejected_header" to
> your existing log_selector and the header logging should go away.


You missed the major point: Having headers of messages in reject.log
that have _not_ been rejected.

Changing log_selector would stop logging of the headers of rejected
messages, too.
            cu andreas