Nico Erfurth wrote:
> Jamie Nudds wrote:
> require verify = sender/callout/callout_defer_ok
> This will deny when the callout fails.
>
> If you don't want to exclude domains from the callout, use this:
>
> deny !domains = allow.com : domain-allow.com
> !verify = sender/callout,defer_ok
>
> If you want to do the callout in ANY case, but want to allow some
> specific domains to go through, even if the callout fails, use this
>
> deny !verify = sender/callout,defer_ok
> !domains = allow.com : domain-allow.com
Ohh well, and if your system processes much mail, you should set random
also.
Like
deny !domains = allow.com : domain-allow.com
!verify = sender/callout,defer_ok,random
This prevents to check hosts for every single mail, if the host would
accept EVERY address.
Some mailinglists are using a new FROM address for every single mail,
without random, your exim would check the host for EVERY mail from this
list.
ciao