Re: [exim] condition error

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jakob Hirsch
Ημερομηνία:  
Προς: 'Exim-users'
Αντικείμενο: 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}}