At 12:41 pm +0100 2004/06/23, Philip Hazel wrote:
>On Wed, 23 Jun 2004, Giuliano Gavazzi wrote:
>
>> I think yes, just don't use defer_ok but use acl variables. Taken
>> from my configuration:
>>
>>
>> warn !sender_domains = aol.com : yahoo.com : netscape.net<<ignore
>>those domains
>> set acl_c7 = 4 <<< value if the callout defers
>
>No, that is the value if the callout defers OR the whole verify fails.
>
>> verify = sender/callout=30s,random
> > set acl_c7 = 0 <<< value if the callout succeeds
>
what do you mean by fails? A 5XX reply? Because in that case the next
warn statement enters into play, as in:
At 12:21 pm +0200 2004/06/23, Giuliano Gavazzi wrote:
>warn !sender_domains = aol.com : yahoo.com : netscape.net
> !verify = sender/callout=30s,random
> log_message = callout failed
> set acl_c7 = 8 <<< value if the callout fails
g