I found my problem! (the problem was that I'm an idiot :) I tried setting the permissions on the dir and files in it to 777, and I was still getting the errors. I was just starting to write a message to the MailWatch users list (since the error I see is thru the mailwatch interface), when I noticed my folly:
debug: bayes: 28182 tie-ing to DB file R/O /etc/MailScanner/bayes_toks 0.22509 Cannot open bayes databases /etc/MailScanner/bayes_* R/O: tie failed: Permission denied 0.00082 debug: Score set 1 chosen. 0.00025 debug: Initialising learner 0.00016 debug: bayes: 28182 tie-ing to DB file R/O /etc/MailScanner/bayes_toks 0.00069 Cannot open bayes databases /etc/MailScanner/bayes_* R/O: tie failed: Permission denied My bayes db is in /etc/MailScanner/bayes.... I didn't read the comment well enough (and forgot about it). I had in spam.assassin.prefs.conf my bayes path set to /etc/MailScanner/bayes, and it really needs to be /etc/MailScanner/bayes/bayes! D'oh! Thanx for the suggestion tho, but it looks like I just needed to read my error messages and conf file comments a little better :P k > -----Original Message----- > From: Matt Kettler [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 29, 2004 17:50 > To: Kevin Hanser; [EMAIL PROTECTED] > Subject: Re: Problem w/bayes DB on gentoo > > At 05:25 PM 7/29/2004, Kevin Hanser wrote: > > I have created a symlink from > >/opt/MailScanner/etc to /etc/MailScanner though, so it can > be accessed > >from either place. > > > >As you can see, it doesn't have a problem tie-ing to the db this way. > >If I run the same command as apache, I get the permission denied > >messages. > > what are the *directory* permissions for > /opt/MailScanner/etc/? The user > running SA must be able to create files in that directory, > thus it must > have RWX permissions to the directory. > > >