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

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: 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

>
>