[exim] Expansion Problem

Top Page
Delete this message
Reply to this message
Author: Jesse Regier
Date:  
To: exim-users
Subject: [exim] Expansion Problem
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}}"



failed to expand 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}}" for bigspam_router
router: missing } at end of condition inside "and" group

Thanks,


--
Jesse Regier <jregier@???>
Computer Systems, Inc.