Re: [exim] Condition in ACL

Top Page
Delete this message
Reply to this message
Author: Marcin Krol
Date:  
To: exim users
CC: addw
Subject: 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