Re: [exim] Expansion Problem

Top Page
Delete this message
Reply to this message
Author: Edgar Lovecraft
Date:  
To: exim-users
Subject: Re: [exim] Expansion Problem
Jesse Regier wrote:
>
> Arrrrgh! I can't see what the problem is with the following condition!
> Please someone have mercy on me and tell me what I'm doing wrong.
>
>   condition = "${if and \
>                    {\
>                    { eq {${received_protocol}}{spam-scanned}\
> {1}{0}}\                    { def:h_X-Spam-Flag:{1}{0}}\
>                    { match {$h_X-Spam-Level:} {\N\*{10}\N}
> {1}{0}}\                    }\
>                    {1}{0}}"

>


It should be:

condition = ${if and \
             {\
             { eq {${received_protocol}}{spam-scanned}}\
             { def:h_X-Spam-Flag:}\
             { match {$h_X-Spam-Level:} {\N\*{10}\N}}\
             }\
             {1}{0}}


--

--EAL--

--