Configuring Spamassassin

Hi,
I’ve made changes to /etc/spamassassin/local.cf - I’ve set the required_score from 5.0 to 4.0. I’ve also used sa-learn to categorise spam from ham. When I run spamassassin from the command line, I get a value I’m happy with. But when it runs by itself, it seems that my local changes are not honoured - it both gets another score, and the required score is back at 5.0. What am I missing? How do I get it to honour my local changes?

Please post the changes you have made to local.cf.

35c35
< required_score 4.0
---
> #required_score 5.0

Have you reviewed the documentation:

https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html

Yes. But I don’t think my problem is with /etc/spamassassin/local.cf, because when I run it from the command line it behaves exactly like I want it to. My question is why it doesn’t continue to do this when it runs as part of the mail receiving process?

This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.