Ruleset and Scoring

The following settings control adding and modifying SpamAssassin scoring rules.

User Settable

score test name score [ score score score ]

Assign scores (the number of points for a hit) to a given test. Scores can be positive or negative real numbers or integers. test name is the symbolic name used by SpamAssassin for that test; for example, FROM_ENDS_IN_NUMS. If only one valid score is listed, then that score is always used for a test. Setting a rule’s score to 0 will disable that rule from running.


  • Test names that begin with __ are reserved for meta-match sub-rules and are not scored or listed in the ’tests hit’ reports.

  • If no score is given for a test, the default score is 1.0, or 0.01 for tests whose names begin ...

Get Slamming Spam: A Guide for System Administrators now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.