>Run "sa-learn" as nobody!
>I.e.
>su - nobody
>sa-learn --dump magic
This produces:
[20090] dbg: replacetags: done replacing tags
[20090] dbg: bayes: tie-ing to DB file R/O
/var/lib/nobody/.spamassassin/bayes_toks
[20090] dbg: bayes: tie-ing to DB file R/O
/var/lib/nobody/.spamassassin/bayes_seen
[20090] dbg: bayes: found bayes db version 0
bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm line 196.
[20090] dbg: config: score set 1 chosen.
[20090] dbg: bayes: tie-ing to DB file R/O
/var/lib/nobody/.spamassassin/bayes_toks
[20090] dbg: bayes: tie-ing to DB file R/O
/var/lib/nobody/.spamassassin/bayes_seen
[20090] dbg: bayes: found bayes db version 0
bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm line 196.
ERROR: Bayes dump returned an error, please re-run with -D for more
information

>And you have to make sure that "nobody" has read/write access to the
>Bayes database/file(s) as well!
Checking this now, will report back

>Found a few other mails from you, are you running Bayes DB in MySQL?
>Then you should have this line in your local.cf as well
>bayes_sql_override_username nobody
I am trying to have bayes in mysql but have not done this until the db
version thing is corrected. I do have override_username nobody in the
local.cf
Just in case you did not see the other posting:
Here's
what we did:
upgraded to 3.2.1 from 3.1.1. We installed 3.1.1, long ago, from a rpm
created from the tarball. When we went to upgrade to 3.2.1, we created a
rpm from tarball; this created 2 rpm's 1 called perl-mail-spamassassin
and 1 called spamassassin. Perl-mail-spamassassin installed fine but
spamassassin rpm failed (see earlier thread for the specifics). So, we
installed from source. This is when we get the bayes db version 0.
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard

Reply via email to