Changing SpamAssasin default filter scores

Questions and answers about how to do stuff
Post Reply
AITCS
Posts: 38
Joined: 13 Mar 2017 11:12

Changing SpamAssasin default filter scores

Post by AITCS » 20 Sep 2021 23:45

Hi all,

Just wondering how we might be able to change the default score for the SPOOF_GMAIL_MID rule?
We're getting a LOT of fake gmail.com addressed email at the moment so I need to change the rule from 1.5 to something like 4.0.

The score appears to be in the following file, however the files in that directory seem to get updated daily, so I'm not sure if making any changes will stick:
/var/lib/spamassassin/3.004001/updates_spamassassin_org/72_scores.cf

Any help would be greatly appreciated.

User avatar
shawniverson
Posts: 3456
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Changing SpamAssasin default filter scores

Post by shawniverson » 08 Oct 2021 17:20

You will want to modify the rule in /etc/mail/spamassassin/local.cf to override the rule instead of editing directly.

Post Reply