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

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: 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

>
>