Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

Why do the message score and the number of stars show something different?

Wiki MarkupUpgrade to 3.0 and they shouldn't anymore. This was a common question and was filed as a \[http://bugzilla.spamassassin.org/show_bug.cgi?id=2607 bug\] and fixedThe message score is computed to three decimal places and then displayed rounded to the nearest tenth. An exception is made in the case that the score would round up to the required spam threshold score. In that one case to avoid a confusing message, the score is rounded down to a tenth. The number of stars is always rounded down to an integer so that a score that is below the spam threshold will never result in more than the spam threshold number of stars.

If the score of a spam message is 4.995, and required hits are score is 5.0, the message's headers should show:

No Format
X-Spam-Level: ****
X-Spam-Status: No, hitsscore=4.9 required=5.0

...

If the score of a message is 8.995, and required score is 5.0, the message's headers should show a score of 9.0 but only 8 stars:

No Format

X-Spam-Level: ********
X-Spam-Status: Yes, score=9.0 required=5.0

Why do the points of individual rules in the content analysis not add up to the

...

correct point total?

The actual scores of the rules have three digits after the decimal, but in the Content analysis report they are rounded off to the nearest tenth.

...

The actual scores for each of these rules are shown below. They total 8.577, which clearly rounds to the 8.6 reported in the Content analysis.

No Format
1.723  MSGID_FROM_MTA_ID
0.001  HTML_MESSAGE
5.000  BAYES_99
0.177  MIME_HTML_ONLY
1.047  HTML_IMAGE_ONLY_16
0.629  FORGED_OUTLOOK_HTML