A different admin built our original bayes database, but I've moved
it aside and am trying to build a new one (various reasons). However,
when I try to give sa-learn the first message, I get the following
error (running as our spamd user):
-----------------------------------
% sa-learn --mbox --showdots -D --spam /tmp/spamfood2
debug: Score set 0 chosen.
debug: running in taint mode? no
debug: using "/opt/spamassassin/share/spamassassin" for default rules dir
debug: using "/opt/spamassassin/etc/mail/spamassassin" for site rules dir
debug: using "/var/tmp/.spamassassin/user_prefs" for user prefs file
debug: Not allowing user rules!
debug: Score set 0 chosen.
debug: Initialising learner
debug: Initialising learner
debug: Learning Spam
Learned from 0 message(s) (1 message(s) examined).
ERROR: the Bayes learn function returned an error, please re-run with -D for more information
-----------------------------------
"/tmp/spamfood2" is a unix mail file with a single message in it.
I've tried several different mail messages, all with the same
result.
Note that this run was with -D, but I'm not seeing anything indicating
what may be wrong.
Can anyone see what I'm missing? Or how to get further info? I tried
"truss", but if there was any useful info there it was lost in the
noise.
Thanks...
-glenn
it aside and am trying to build a new one (various reasons). However,
when I try to give sa-learn the first message, I get the following
error (running as our spamd user):
-----------------------------------
% sa-learn --mbox --showdots -D --spam /tmp/spamfood2
debug: Score set 0 chosen.
debug: running in taint mode? no
debug: using "/opt/spamassassin/share/spamassassin" for default rules dir
debug: using "/opt/spamassassin/etc/mail/spamassassin" for site rules dir
debug: using "/var/tmp/.spamassassin/user_prefs" for user prefs file
debug: Not allowing user rules!
debug: Score set 0 chosen.
debug: Initialising learner
debug: Initialising learner
debug: Learning Spam
Learned from 0 message(s) (1 message(s) examined).
ERROR: the Bayes learn function returned an error, please re-run with -D for more information
-----------------------------------
"/tmp/spamfood2" is a unix mail file with a single message in it.
I've tried several different mail messages, all with the same
result.
Note that this run was with -D, but I'm not seeing anything indicating
what may be wrong.
Can anyone see what I'm missing? Or how to get further info? I tried
"truss", but if there was any useful info there it was lost in the
noise.
Thanks...
-glenn