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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users
Asunto: 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

>
>