Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [Original edit by SidneyMarkowitz] Change description of score rounding to match what we actually ended up doing

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 fixed.The 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?

...