Re: [Exim] Ruoter conditions

Página Inicial
Delete this message
Reply to this message
Autor: Edgar Lovecraft
Data:  
Para: exim-users
Assunto: Re: [Exim] Ruoter conditions
OOPS, hit the send key too soon, appols for the second post...

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 :)
and put the missing '\' in after the second "{eq" line.


--

--EAL--