Hi,
Beast wrote:
Anthony Peacock wrote:
Hi,
Beast wrote:
Any reason why this config failed?
According to Mail::SpamAssassin::Plugin::AutoLearnThreshold it is a
valid config.
# spamassassin --lint
[11919] warn: config: failed to parse line, skipping:
bayes_auto_learn_threshold_nonspam 0.1
[11919] warn: config: failed to parse line, skipping:
bayes_auto_learn_threshold_spam 12.0
[11919] warn: lint: 2 issues detected, please rerun with debug
enabled for more information
# spamassassin --version
SpamAssassin version 3.1.4
running on Perl version 5.8.5
That looks OK to me. The next thing to look at is the config file
itself. Check the lines either side of these lines. Make sure that
the line endings are correct eg you have copied a file that was edited
on a Windows PC onto a *nix computer and the line endings are still in
DOS format.
File was edited with vi only.
Does order matter?
use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam 0.1
bayes_auto_learn_threshold_spam 12.0
Make sure you have the autolearn plugin enabled in v310.pre...
# AutoLearnThreshold - threshold-based discriminator for Bayes auto-learning
#
loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
--
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW: http://www.chime.ucl.ac.uk/~rmhiajp/
"If you have an apple and I have an apple and we exchange apples
then you and I will still each have one apple. But if you have an
idea and I have an idea and we exchange these ideas, then each of us
will have two ideas." -- George Bernard Shaw