Hi Bruce, on Mon, 22 Mar 2004 15:30:10 +0000 you wrote:
> Some of the things I have been trying to do with Exim recently would
> have been significantly eaiser if it were possible to test for list
> membership in string expansions, along the lines of
> {if inlist{$value}{+relay_domains}{yes}{no}}
This came up recently. The Exim WishList has this:
"
(73) 17-Jul-02 M Match a list from within a condition
e.g. ${if matchdomain {$domain}{+domainlist} ...
${if matchhost {$sender_host_address}{1.2.3.4/10:2.3.4.5/16}...
Thought needed about how to handle host names. This may be too messy to
specify cleanly.
"
However, FWIW, I must say that it would be an *extremely* useful feature
if Philip could find the time to add it. Even just support for named lists
would be a great start.
Tim