Re: [exim] How to handle DEFERring ACL condition

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] How to handle DEFERring ACL condition
On 24/01/17 21:46, Ian Zimmerman wrote:
> On 2017-01-24 19:40, Jeremy Harris wrote:
>
>>> With "strict" behaviour, any temporary DNS error causes the whole
>>> lookup to defer.
>>
>> I think, in turn, it results in a defer return from the ACL. See the
>> first sentence of section 13 in the ACL chapter.
>
> Yes, that part of the spec seems to support your hypothesis. But my
> logs disagree. Could this be a bug? (caveat: exim 4.84.2)



Works for me as of the current sources. Here's the test I did:

----
check_rcpt:
  accept
        local_parts =   defer_strict
        set acl_m1 =    ${lookup dnsdb{defer_strict,a=$domain}}
----
exim -bs
HELO
MAIL FROM:<>
RCPT TO:<defer_strict@???>
QUIT
----
1999-03-02 09:44:33 U=CALLER F=<> temporarily rejected RCPT
<defer_strict@???>: failed to expand ACL string "${lookup
dnsdb{defer_strict,a=$domain}}": lookup of
"defer_strict,a=test.again.dns" gave DEFER:



--
Cheers,
Jeremy