ConfigServer Services HelpDesk
Server Management Services from Way to The Web Ltd
ConfigServer Home Page
Way to the Web Ltd and Configserver.com will be closing down permanently on 31 August 2025. The server software market has changed drastically in the more than 25 years since our company began, and we now find the business is no longer profitable so must come to an end. All the details are available here.


How do I change the score for a specific SpamAssassin test?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
Sometimes you may want to change the default score for a SA test if it is causing false positives or false negatives.

To change the score for a test, do NOT modify it in the original .cf file in the SpamAssassin configuration files. (It will be overwritten with any spamassassin rules updates.) Instead, add your modified scores to a special .cf file in /etc/mail/spamassassin/, such as /etc/mail/spamassassin/configserver.cf (which will already exist if you have had us install MailScanner for you). You should use the following format:

score TEST_NAME 1.0
The word "score" is required on each one. Replace TEST_NAME with the actual exact name of the test as it appears in MailWatch or the spam report in the message headers. The number after the test name is the score you want to use *instead* of what it is currently using.

To disable a test so it does not add anything to an email's spamassassin score, change the score to zero by adding a line like this to /etc/mail/spamassassin/configserver.cf:

score TEST_NAME 0.0

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© ConfigServer Services