ConfigServer Services HelpDesk
Server Management Services from Way to The Web Ltd
ConfigServer Home Page

Temporary Closure

We are taking a short break and will close the store, helpdesk and email from 17:00 GMT on Tuesday, 16h April to 09:00 Thursday, 25th April 2024.

If you purchase a license or Service Package before the closing date and require installation, please be sure to leave at least 24-48 hours before then for the work to be done. Otherwise, any work will be scheduled for after this period. We will reopen on Thursday, 25th April 2024.


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