Re: [exim] Simple if-else condition in acl_check_rcpt

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] Simple if-else condition in acl_check_rcpt
On 02/06/14 10:58, basti wrote:
> # list of IP's
> hostlist filter_relays = net-lsearch;/etc/filterrelays :
> net-lsearch;/etc/relayhosts
> # list of domains
> domainlist filter_domains = lsearch;/etc/filterdomains
>
>


(deleted line)
>     deny
>         !hosts = +filter_relays


           condition = ${if match_domain {$domain}{+filter_domains}}


>          message = Your IP $sender_host_address is not allowed to send
> mail for $domain

>
>