Drav Sloan <holborn-exim@???> wrote:
>
>A quick condition master, got a quick second to have a look at the
>following condition. All I want is a simple if ... and ... but
>I've been going around in circles and pulling alot of hair...
The problem is that ${lookup isn't an expansion condition
(like def, eq, match, etc.). However note that ${lookup
has built-in ${if-like behaviour...
condition = ${lookup {$interface_address} \
lsearch {Exim_Tables/aaa_file} \
{ ${lookup {$domain} \
lsearch {Exim_Tables/bbb_file} \
{1} {0} } } \
{0} }
Tony.
--
f.a.n.finch <dot@???>
http://dotat.at/
THAMES DOVER: WEST VEERING NORTH OR NORTHWEST 4 OR 5, INCREASING 5 TO 7.
SLEET. MODERATE OR GOOD.