Hello,

I saw bits and pieces of related errors in the archives, but I did not see
anything resembling resolution.  I am seeing the following error scrolling
my console quite regularly.  I'm not sure what causes it, but am reasonably
sure it's not a good thing.  This error message (the one I cut and pasted)
was actually generated when I ran sa-learn --rebuild.  But it seems to
happen at other times, too.
        Cannot open bayes_path /home/spamc/.spamassassin/bayes R/W: File exists

Can anybody shed some light on what might be causing this error and how I
can clear it up?  Help is greatly appreciated!

Some more information to assist.  I am running spamd under the user "spamc".
I receive the above error message whether or not
/home/spamc/.spamassassin/bayes exists as a file or directory, or if it
doesn't exist at all.

I am starting spamd with the following command: /usr/bin/spamd -L -x -q -u
spamc

Clients are being called with the following: /usr/bin/spamc -f -u
[EMAIL PROTECTED]

I have one config file, which is /etc/mail/spamassassin/local.cf, and it
contains (changes/suggestions welcomed, this is ad hoc with no real basis of
experience; in particular, is defang_mime used anymore?):

# Enable user prefs in vpopmail db
user_scores_dsn                 DBI:mysql:vpopmail:mailsql
user_scores_sql_username        USERNAME
user_scores_sql_password        PASSWORD
user_scores_sql_table           TABLE
# The following are the default settings for SA.
required_hits 4
rewrite_subject 0
use_terse_report 1
defang_mime 0
use_bayes 1
auto_learn 1
ok_languages all
ok_locales all
skip_rbl_checks 1
use_dcc 1
#
# Global whitelist, blacklist, etc.
whitelist_from [EMAIL PROTECTED]
whitelist_from [EMAIL PROTECTED]
whitelist_from [EMAIL PROTECTED]
#
# Recommended settings for bayes
bayes_path /home/spamc/.spamassassin/bayes
bayes_expiry_min_db_size 500000
bayes_expiry_scan_count 999999
#
# Adjust score to be more SquirrelMail-friendly.
score USER_AGENT -0.7

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications      www.sofast.net



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to