Re: [exim] Callout header_sender and defer_ok

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Silmar A. Marca
CC: exim-users
Subject: Re: [exim] Callout header_sender and defer_ok
On Fri, 14 Jan 2005, Silmar A. Marca wrote:

> I using the condition:
>
> acl_data_chk:
>   deny  senders         = !:
>         !verify         = header_sender/callout=100s,maxwait=200s,defer_ok,random

>
> But, the "defer_ok" not run... All defer servers are bloked!
>
> Have the solution for this problem? I check the callout in rcpt clause, but if
> sender_address is equal h_from, the message is deny for defer servers...


You cannot check header_sender in the rcpt ACL, because the message header
has not yet been received. (A look at your logs should have informed you
that your configuration is incorrect.) You should move the clause to the
data ACL.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}