[Exim] help with condition statement

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Test, James
Date:  
À: exim-users
Sujet: [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?