Cool, Thanks

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Jeremy Harris
Sent: 07 February 2014 10:27
To: [email protected]
Subject: Re: [exim] Exim ACL questions... {Scanned}

On 07/02/14 09:41, Ritchie P. Fraser wrote:
> Hi Jeremy,
>
> So a...
> allow     domains                =             +local_domains : 
> +relay_sql_domains
>                   local_parts          =             lsearch{local_file.txt}
>                   condition             =     ${if !inlist 
> {$sender_host_address}{+relay_from_host : +relay_sql_hosts}  }
>                   condition             =     ${if !inlist 
> {$sender_address_domain}{+local_domains : +relay_sql_domains }  }
>
> ...would be better?
>
> Can I actually use a  "list" like +local_domains in a condition expression 
> like this?

Certainly you can.
"exim -be" is helpful for testing.
-- 
Cheers,
   Jeremy


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to