Re: [Exim] ACL - sender verify - Exim 4.11

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nico Erfurth
Date:  
À: Jamie Nudds
CC: exim-users
Sujet: Re: [Exim] ACL - sender verify - Exim 4.11
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