[Exim] help with condition statement

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Test, James
Datum:  
To: exim-users
Betreff: [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?