Re: [exim] Why or where does Exim::log_write set the X-ACL-W…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Serge Demonchaux
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Why or where does Exim::log_write set the X-ACL-Warn header?
Le Wednesday 07 January 2009 13:26:31 Steve May, vous avez écrit :
> OK now, by RTFM I found out that 'warn' also writes the X-ACL-Warn header.
> But how can I circumvent this?
>
> ---
> perl_startup = do '/etc/exim/exim.pl'
> ...
> acl_check_data:
>

'message ' or 'add_header' is identical. The condition add one or more extra
header lines to an incoming message, as in this example:

> warn message = ${perl{log_remote_address}}
> accept


40.22 Adding header lines in ACLs:
[...] If the data for the add_header modifier contains one or more newlines
that are not followed by a space or a tab, it is assumed to contain multiple
header lines. Each one is checked for valid syntax; X-ACL-Warn: is added to
the front of any line that is not a valid header line.[..]