Re: [exim] adding a header to a message in an ACL, even whe…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: W B Hacker
Date:  
À: exim users
Sujet: Re: [exim] adding a header to a message in an ACL, even when the condition defers
Josip Rodin wrote:
> On Sun, Nov 12, 2006 at 02:47:10AM +0800, W B Hacker wrote:
>>> Perhaps something like:
>>>
>>>   accept !verify = sender/callout=60s
>>>          set acl_m7 = true
>>>   ...
>>>   warn message = X-Exim-ACL-envelope-sender-verify: failed ($acl_verify_message)
>>>        condition acl_m7 = true

>>>
>>> ?
>>>
>> This example wroks, but is NOT a sender verification.
>
> What?
>
>> All you should need to do is make that substitution and adjust the header
>> and logging text:
>
>> warn, deny, accept verbs have different rules for when they exit the case
>> structure.
>>
>> Sequencing appropriate to each class of verb is very important!
>
> That's all fine and well, but it does nothing to answer the actual question -
> how to get the warn verb not to get skipped when verify defers.
>


You've missed the *point*. The 'warn' verb *doesn't* 'get skipped'.

It does precisely what it was programmed to do.

Fixed timeout or defer, *neither* will satisfy a conditional if they ultimately
fail - regardless of why they failed:

fail-rejected-immediate

fail-rejected-later

fail-no-response-but-just-can't-wait-around-any-longer

..... do not look like a successful return in any case.

Bill