Since the introduction of SA v3.2.0, bayes_auto_learn_threshold_nonspam appears to be -1.0.

I realize in the code, 0.1 is the default set:

  push (@cmds, {
    setting => 'bayes_auto_learn_threshold_nonspam',
    default => 0.1,
    type => $Mail::SpamAssassin::Conf::CONF_TYPE_NUMERIC
  });

I just did a brand new install (FreeBSD v6.2, SA 3.2) in a virtual server. I have not ran any updating. The threshold running is -1.0.

The threshold value is being overridden by a config file that was installed from the distribution package:

% grep nonspam /usr/local/share/spamassassin/10_default_prefs.cf
bayes_auto_learn_threshold_nonspam     -1.0

Therefore, anyone using SA 3.2 who was a prior version without the bayes_auto_learn_threshold_nonspam setting will ultimately have to set the value now to 0.1. Therefore, the code default will never be taken as a default as long as bayes_auto_learn_threshold_nonspam lives in 10_default_prefs.cf.

Reply via email to