Re: [exim] log_message

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Michael F. Sprague
CC: exim-users
Sujet: 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