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}}