Hi all,

I am trying to get the bayes side of Baruwa 2.0 working and am running into
a problem.

When I run the lint test (Status :: Node status :: [node name]) I get the
following error from the bayes output:

Feb 15 09:34:45.888 [24793] dbg: bayes: learner_new
self=Mail::SpamAssassin::Plugin::Bayes=HASH(0x3bdc828),
bayes_store_module=Mail::SpamAssassin::BayesStore::SQL
Feb 15 09:34:45.895 [24793] dbg: bayes: using username: postgres
Feb 15 09:34:45.895 [24793] dbg: bayes: learner_new: got
store=Mail::SpamAssassin::BayesStore::SQL=HASH(0x41e4220)
Feb 15 09:34:45.895 [24793] dbg: plugin:
Mail::SpamAssassin::Plugin::Bayes=HASH(0x3bdc828) implements
'learner_is_scan_available', priority 0 Feb 15 09:34:45.906 [24793] dbg:
bayes: database connection established
Feb 15 09:34:45.916 [24793] dbg: bayes: _get_db_version: SQL error: ERROR:
permission denied for relation bayes_global_vars
Feb 15 09:34:45.916 [24793] dbg: bayes: found bayes db version 0 Feb 15
09:34:45.916 [24793] warn: bayes: database version 0 is different than we
understand (3), aborting! at
/usr/share/perl5/Mail/SpamAssassin/BayesStore/SQL.pm line 142.



When I run spammassassin -D --lint from the console I get:

Feb 15 09:39:29.740 [24886] dbg: bayes: learner_new
self=Mail::SpamAssassin::Plugin::Bayes=HASH(0x35be210),
bayes_store_module=Mail::SpamAssassin::BayesStore::DBM
Feb 15 09:39:29.747 [24886] dbg: bayes: learner_new: got
store=Mail::SpamAssassin::BayesStore::DBM=HASH(0x3c81db8)
Feb 15 09:39:29.747 [24886] dbg: plugin:
Mail::SpamAssassin::Plugin::Bayes=HASH(0x35be210) implements
'learner_is_scan_available', priority 0
Feb 15 09:39:29.747 [24886] dbg: bayes: tie-ing to DB file R/O
/root/.spamassassin/bayes_toks
Feb 15 09:39:29.748 [24886] dbg: bayes: tie-ing to DB file R/O
/root/.spamassassin/bayes_seen
Feb 15 09:39:29.748 [24886] dbg: bayes: found bayes db version 3
Feb 15 09:39:29.748 [24886] dbg: bayes: DB journal sync: last sync: 0
Feb 15 09:39:29.748 [24886] dbg: bayes: not available for scanning, only 0
spam(s) in bayes DB < 200
Feb 15 09:39:29.748 [24886] dbg: bayes: untie-ing

Any ideas on pointing me in the right direction?

Thanks,

Rod.
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to