[Exim] help with condition statement

Góra strony
Delete this message
Reply to this message
Autor: Test, James
Data:  
Dla: exim-users
Temat: [Exim] help with condition statement
I'm trying to get RAV and spamassassin working together.

spamcheck_router:
no_verify
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}}} {1}{0}}"
driver = accept
transport = spamcheck

I need to add a {!eq {received_protocol}{mail-ok}} statement to the above condition to prevent looping.
I've been having difficulty getting the correct syntax. Can anyone assist with this?