[Exim] help with condition statement

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Test, James
Data:  
Para: exim-users
Asunto: [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?