Re: [exim] Condition in ACL

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Marcin Krol
日付:  
To: exim users
CC: addw
題目: 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