Re: [Exim] Ruoter conditions

Top Page
Delete this message
Reply to this message
Author: Edgar Lovecraft
Date:  
To: exim-users
Subject: Re: [Exim] Ruoter conditions
Dan Egli wrote:
>
> > condition = "${if or { \
> >                           {eq {$interface_port}{10025} {0}{1}}\
> >                           {eq
> > {${lookup{$sender_address}lsearch{filename}{0}}} {0}}\
> >                           }\
> >                 }"

>
> Unfortunately, I get this in my logs when using that condition:
> 2004-07-05 10:20:56 failed to expand condition "${if or { {eq
> {$interface_port}{10025} {0}{1}}{eq
> {${lookup{$sender_address}lsearch{/etc/exim/amavis.bypass}{0}}} {0}}}}"
> for amavis router: missing } at end of condition inside "or" group
>
> I don't get it since I've carefully counted the { and } in the
> condition, and they are exactly equal. Plus they seem to match up to me
> properly, but then again the exim conditionals never made any sense to
> me. Too complex I guess.


Why do you have the condition wraped in "quotes"??? remove them :)

--

--EAL--