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/
