AW: [Exim] problem with nested condition

Top Page
Delete this message
Reply to this message
Author: Lumpp, Wolfgang
Date:  
To: exim-users
Subject: AW: [Exim] problem with nested condition
Hi,

> Von: Nico Erfurth [mailto:masta@perlgolf.de]
> Lumpp, Wolfgang wrote:


> > this one doesn't work:
> > condition = ${if and { \
> >                 or { \
> >                     {match
> > {$header_X-Spam-Status:}{\N.*hits=0\..*\N}} \
> >                     {match
> > {$header_X-Spam-Status:}{\N.*hits=1\.0.*\N}} \
> >                     {match
> > {$header_X-Spam-Status:}{\N.*hits=-.*\N}} \
> >                 } \
> >             {< {$message_size}{1M}} \
> >             {yes}{no}}}

>
> You didn't closed the and{ at the wrong place.
> Replace the last line with
> }{yes}{no}}
>
> With your condition, {yes} and {no} were parts of the and-condition.
>

sorry, but same error-message.
I've crosschecked it several times.

Thanks
Wolfgang