AW: [Exim] problem with nested condition

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Lumpp, Wolfgang
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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