Re: [exim] Condition in ACL

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marcin Krol
Dátum:  
Címzett: exim users
CC: addw
Tárgy: 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