AW: [Exim] problem with nested condition

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Lumpp, Wolfgang
Data:  
Para: exim-users
Asunto: 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