Re: [exim] log_message

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: Michael F. Sprague
CC: exim-users
Temat: 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