Re: [exim] condition error

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jakob Hirsch
Dátum:  
Címzett: 'Exim-users'
Tárgy: 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}}