Re: [exim] log_message

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Michael F. Sprague
CC: exim-users
Betreff: Re: [exim] log_message
On Tue, 15 Mar 2005, Michael F. Sprague wrote:

> accept
>   condition   = ${if eq {${hmac{md5}{SECRET}{$body_linecount}}}\
>                         {$h_X-Scan-Signature:}{true}{false}}
>   log_message = SCANNED () RCPT=$acl_m9 SUB=${quote:$h_subject:} \
>                 MSGID=$h_message-id:

>
> SECRET is a macro and $acl_m9 get set in the RCPT ACL.
>
> I would like to track how many messages pass this check, thus the addition of
> the log_message line.


log_message is used only when an ACL verb denies access. Take a look
at "logwrite" instead.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book