Re: [exim] acl_smtp_data header_sender not using log_message

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Mike Sturdee
Fecha:  
A: exim-users
Asunto: Re: [exim] acl_smtp_data header_sender not using log_message
I did that and (previously also) and it makes no difference. Like I said
previously, it logs correctly if there is no from header, but it doesn't
on a temporary reject from a defer.


  deny   log_message     = There must be a valid sender address in the 
headers: RCPTS $recipients
         message         = There must be a valid sender address in the 
headers
         !verify         = header_sender


-Mike


On Wed, 17 Nov 2004, Philip Hazel wrote:

> On Wed, 17 Nov 2004, Mike Sturdee wrote:
>
>> I am trying to set a custom log message upon failing verification of the
>> header_sender in the smtp_data acl, but when verification is deferred, it
>> ignores mine and
>> uses the "stock" error message.
>
>> deny    !verify = header_sender
>>    log_message = There must be a valid sender address in the headers: RCPTS
>> $recipients
>>    message     = There must be a valid sender address in the headers

>
> Exim stops evaluation as soon as it knows the answer.
> Put the log_message and message lines BEFORE the verify= line.
>
> See the last part of section 38.10 in the manual.
>
>
> -- 
> 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

>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>