Re: [exim] Condition in ACL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marcin Krol
Date:  
À: exim users
CC: addw
Sujet: 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