Re: [exim] condition error

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: 'Exim-users'
Assumpte: 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}}