>> Can anyone give me a clue as to how to resolve this?

> Looks like you need to Install BerkeleyDB first... DB::File requires
it.
> Once you get those two loaded, bayes should work for ya.


Yep, the problem was that SA was looking for /usr/local/BerkeleyDB and
the sun "addpkg" was creating it in /usr/local/BerkeleyDB.3.3 - I made a
link and SA found it ok. Maybe this should be in the install guidelines
or something? (Maybe it already is and I didn't spot it??)


The new issue however is I get the following in the procmail.log file

debug: using "/users/simon/.spamassassin" for user state dir
debug: using "/users/simon/.spamassassin/user_prefs" for user prefs file
debug: using "/users/simon/.spamassassin" for user state dir
debug: bayes: 4885 tie-ing to DB file R/O
/users/simon/.spamassassin/bayes_toks
Cannot open bayes databases /users/simon/.spamassassin/bayes_* R/O: tie
failed:
debug: Score set 1 chosen.
debug: Initialising learner
debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB <
200
debug: bayes: 4885 untie-ing
debug: bayes: 4885 untie-ing db_toks

but the bayes_* files do exist, here is the contents of the
.spamassassin dir

[EMAIL PROTECTED] simon/.spamassassin 10> ll
total 8242
   1 drwx------   2 simon    users         512 Dec 22 10:56 ./
   2 drwxr-x---  31 simon    users        2048 Dec 22 10:24 ../
 248 -rw-------   1 simon    users      241885 Nov  3 12:01
bayes_journal
   3 -rw-------   1 simon    users        3068 Nov  3 12:01
bayes_msgcount
 408 -rw-------   1 simon    users      443146 Nov  3 12:00 bayes_seen
7576 -rw-------   1 simon    users     8560640 Nov  3 12:00 bayes_toks
   2 -rw-------   1 simon    users        1369 Dec 19 16:16 user_prefs
   2 -rw-------   1 simon    users        1367 Dec 19 10:24 user_prefs~

does this mean that my bayes db is corrupted? Why can't SA see these
files?

Any help would be more than appreciated.

Rgds, Simon.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to