On Wed, 24 Sep 2014, Deeztek Support wrote:

Hello, I'm using the following spamassassin:

SpamAssassin version 3.3.2
  running on Perl version 5.10.1

On Ubuntu 10.04 LTS. I'm having a strange problem with messages being autolearned as ham even though they don't score low enough. Here's my local.cf config:


use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam    -0.001
bayes_auto_learn_threshold_spam    9.000
#override bayes default scores
score BAYES_00    0.000
score BAYES_80    3.000
score BAYES_95    4.000
score BAYES_99    4.500

Here's one of the message's in question headers:

X-Spam-Score: 0.257
X-Spam-Level:
X-Spam-Status: No, score=0.257 tagged_above=-999 required=0.6
         tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001,
         RP_MATCHES_RCVD=-0.653, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
         T_DKIM_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham


As you can see, it scored 0.257 but it autolearned as ham even though the bayes_auto_learn_threshold_nonspam is set to -0.001

Am I missing something here?

The Bayes score does not contribute to the autolearning decision. Take 0.8 points off the raw total of 0.257 and you go negative enough to be autolearned.

Also: URIBL_BLOCKED - you really want to set up a local recursive (non-forwarding) DNS server for SA so that your URIBL lookups will work, that might help a lot.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Maxim IV: Close air support covereth a multitude of sins.
-----------------------------------------------------------------------
 846 days since the first successful private support mission to ISS (SpaceX)

Reply via email to