[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where is spamassassin's bayes database?



Victor Sudakov wrote:
> Dan Ritter wrote:
> > Victor Sudakov wrote: 
> > > Dear Colleagues,
> > > 
> > > Is anyone running Debian's default SpamAssassin package together with
> > > some MTA (exim, postfix etc)?
> > > 
> > > My question is, when SpamAssassin is accessed over the network
> > > (127.0.0.1:783), where does it keep its Bayesian database? 
> > > 
> > > A command like
> > > spamc -u nobody -L ham  < mail.txt
> > > 
> > > returns that "Message was already un/learned", but for the life of me,
> > > where is the database kept?
> > > 
> > > I've even tried setting bayes_path in local.cf, to no avail. Beats me.
> > 
> > /var/lib/spamassassin/.spamassassin
> > 
> 
> I thought as much, but this directory contains only sa-compile.cache.
> 
> Even if I set "bayes_path /var/lib/spamassassin/.spamassassin/bayes"
> in local.cf, the database does not appear there.

F*ck!

I wonder why it is trying to create it as nobody:nogroup...

 spamd[32333]: plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create tmp lockfile /var/lib/spamassassin/.spamassassin/bayes.lock.ip-172-31-37-150.us-west-2.compute.internal.32333 for /var/lib/spamassassin/.spamassassin/bayes.lock: Permission denied

At least I have something to go on with.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

Attachment: signature.asc
Description: PGP signature


Reply to: