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
Oh, i've just move *.pre , its fine now.
Thanks.
--beast