[exim] Call to spamassasin conditionally

Pàgina inicial
Delete this message
Reply to this message
Autor: Christian Gregoire
Data:  
A: exim-users
Assumpte: [exim] Call to spamassasin conditionally
Hello,

I have the following DATA ACL :

acl_check_data:
  warn message = X-Spam-Score-Reached: YES
          spam      = joe:true
          condition = ${if >{$spam_score_int}{140}{1}{0}}



which adds the X-Spam-Score-Reached header whenever the score reaches 14.

But is there a way to conditionally call Spamassassin ? Since it does not analyse messages larger than 255Kb, and my spamd daemon runs on a different server, I don't want to send a 2Mb-large message over the network given that Spamassasin would reject it.


Any idea ?

Thanks in advance.

Christian