Re: [exim] log_message

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users @ exim. org
Betreff: Re: [exim] log_message
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:

[...]
> The problem is that the line never gets logged. It doesn't matter if the
> log_message line is before or after the condition statement. I know that in
> some cases the condition matches b/ of various tests. Please note that I have
> a similar issue later on in the DATA ACL when I do virus scanning.


Log_message only writes in a warn, or if the statement cases a deny.
Try using "logwrite = biglongmessage" instead. Note it doesn't prefix
a "Warning: ".

-Jeremy