What does X-Spam-Status mean ?

SpamAssassin adds an extra email header such as

X-Spam-Status: Yes, score=21.6 required=4.0 tests=BATMAIL,BAYES_99,
autolearn=spam version=3.2.1

These are visible when the a mail client is configured to "show full headers", or a similar option.

The fields are the following:

  • Whether the message is spam (yes/no)
  • The total score for the message (can be negative if whitelisted)
  • The score that would be required to be classed as spam
  • The comma-separated list of tests that returned non-zero value
  • Whether autolearn learned the message as spam or ham
  • The version of SpamAssassin that was used

To find out why a message was classified as spam (got the score it did), check the tests listed.

You can find all of the currently active rules with descriptions and scores in the Subversion repository under /trunk/rules or by downloading the latest published set using the sa-update tool. 

If a message is classed as spam, by default it is attached to a text message that gives the tests failed, points assigned, and short descriptions.

  • No labels