spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: Difference in score returned and sum of

Re: Difference in score returned and sum of all points

From: Jared Hall <jhall_at_nospam>
Date: Tue Oct 12 2010 - 13:23:45 GMT
To: Gnanam <gnanam@zoniac.com>, SpamAssassin <users@spamassassin.apache.org>

There is a Wiki page on rounding issues within SpamAssassin:

http://wiki.apache.org/spamassassin/RoundingIssues

- Three decimal rules, one decimal composite, not to mention
  dynamic scoring by third party plugins. E-gads.

This bug may be pertinent in your case also:

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6419

Regards,

Jared Hall
General Telecom, LLC.

Gnanam wrote:
> Hi,
> I'm using SpamAssassin version 3.3.1 running Perl version 5.8.5 on RHEL5.
>
> I've a mail message (not relayed via SMTP) for which I was trying to test
> the spam score based on body content and email header.
>
> Command used to check spam score: spamc -R < /tmp/mymailmessage.txt
>
> My question is, though SA reports 2.8 points at the top, on summing-up each
> points from the Content analysis details, it is only 2.7 points. Why SA is
> reporting/showing an increase by 0.1 point from its Content analysis details
> points sum?
>
> Here is the
> Content analysis details: (2.8 points, 5.0 required)
>
> pts rule name description
> ---- ----------------------
> --------------------------------------------------
> -0.0 NO_RELAYS Informational: message was not relayed via SMTP
> 0.0 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL
> 0.7 HTML_IMAGE_ONLY_20 BODY: HTML: images with 1600-2000 bytes of words
> 0.0 HTML_MESSAGE BODY: HTML included in message
> 1.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
> 0.6 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag
> 0.3 HTML_SHORT_LINK_IMG_3 HTML is very short with a linked image
> -0.0 NO_RECEIVED Informational: message has no Received headers
>
> Regards,
> Gnanam
>