Re: [Exim] Ruoter conditions

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dan Egli
Ημερομηνία:  
Προς: Edward St Pierre
Υ/ο: Exim Users
Αντικείμενο: Re: [Exim] Ruoter conditions
Edward St Pierre wrote:

> I might have this a little wrong, however something along the lines of:
>
> condition = "${if or { \
>                           {eq {$interface_port}{10025} {0}{1}}\
>                           {eq
> {${lookup{$sender_address}lsearch{filename}{0}}} {0}}\
>                           }\
>                 }"

>
>
> Might work.
>
> Ed
>
>


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.



--
-- Dan