Re: [exim] Condition in ACL

Top Pagina
Delete this message
Reply to this message
Auteur: Marcin Krol
Datum:  
Aan: exim users
CC: addw
Onderwerp: Re: [exim] Condition in ACL
Alain Williams wrote:

> Maybe, but it still rejects domains listed in the file.
> What I want to do is sender verification for all domains *except* those listed in the file.
>


You need to define custom ACL. Do smth like this:


domainlist nosv_domains_whitelist =
lsearch:/etc/exim4/nosv_domains_whitelist

...

begin acl

acl_svwl:
         accept sender_domains = +nosv_domains_whitelist
         require verify = sender/callout=120s,defer_ok
         accept


...

In acl_check_rcpt:

   require verify        = sender
   acl = acl_svwl


Regards,
Marcin Krol