Re: [exim] condition error

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: 'Exim-users'
Subject: Re: [exim] condition error
Chris Knipe wrote:
> Lo all,
>
> Should be fairly straight forward, what's wrong? :)
>
> condition = "${if and { {$interface_port}{10025} {!eq
> {$received_protocol}{spam-scanned}}} {0}{1}}"


One "eq" is missing and your logic is bogus

condition = ${if and {\
     {eq {$interface_port}{10025}}\
     {eq {$received_protocol}{spam-scanned}}\
   }{0}{1}}