Dan Egli wrote:
>
..[snip]...
>
> I removed the quotes, verified all the \'s no effect.
>
> condition = ${if or { \
> {eq {$interface_port}{10025}
> {0}{1}}\ {eq \
> {${lookup{$sender_address}lsearch{/etc/exim/amavis.bypass}{0}}}
> {0}}\ }\
> }
Okay, this time I actually tested it ou rather than just looking at what
you had written, you need something like this....
condition = \
${if or{\
{eq{$interface_port}{10025}}\
{eq{${lookup{$sender_address}lsearch{/etc/exim/amavis.bypass}{0}}}{0}}\
}{0}{1}}
I do not know if that will do exactly what you want it to do, but the
problem was with the "{eq{$interface_port}{10025}{0}{1}}" part, you
need to remove the {0}{1} as the eq test will either pass or fail, if it
passes then the or statement stops on success, if it fails, then it goes
on to the next test. If you need the eq's to 'reverse' then use...
condition = \
${if or{\
{!eq{$interface_port}{10025}}\
{!eq{${lookup{$sender_address}lsearch{/etc/exim/amavis.bypass}{0}}}{0}}\
}{0}{1}}
--
--EAL--