AW: [Exim] problem with nested condition

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lumpp, Wolfgang
Date:  
À: exim-users
Sujet: 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