[exim] Help with multiple condition ACL needed

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim User
Date:  
À: Exim Mailing List
Sujet: [exim] Help with multiple condition ACL needed
Dear list,

to my spam score ACL I added a second condition to get different thresholds
per domain:


deny message = This message seems to be spam. Spam score is $spam_score
points. If you think this is an error, contact the recipient directly.

spam = nobody:true

condition = "${if and { \
              { >{$spam_score_int}{150}} \
              { eq{${domain}{mydomain.com}}}\
              } \ 
              {1}{0}}"



All I get is
>temporarily rejected after DATA: failed to expand ACL string,
>missing 2nd string in {} after "eq" inside "and{...}" condition


What will be the right syntax for this multiple condition?

Thanks and regards
Sebastian