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 17:39, Ian Zimmerman wrote:
> In acl_check_data, I have a bit like this:
>
>   warn
>     condition = ${lookup dnsdb{ptr=$acl_m_data_rip}{false} {true}}
>     set acl_m_data_noptr = true


> The question is how to handle the case when the lookup times
> out/DEFERs. From the POV of the downstream rules, this case is
> different from either success or failure - I should really like to say
> 4xx in the SMTP session. But there seems to be no "third way" out of
> this context. Or is there?
>


${lookup dnsdb{defer_strict,ptr=$acl_m_data_rip}{false} {true}}

might do what you want.

http://exim.org/exim-html-current/doc/html/spec_html/ch-file_and_database_lookups.html#SECTdnsdb
--
Cheers,
Jeremy