AW: [Exim] problem with nested condition

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Lumpp, Wolfgang
Fecha:  
A: 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