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

Re: Where is spamassassin's bayes database?



Dan Ritter wrote:
> Victor Sudakov wrote: 
> > 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.
> 
> At some point Debian started creating debian-spamd user with
> /var/lib/spamassassin as $HOME. 
> 
> dpkg --reconfigure spamd   maybe?

Nope, just https://wiki.debian.org/DebianSpamAssassin needs to be fixed.
It suggests for Exim "spam = nobody" or "spam = nobody:true", while it
should be "spam = debian-spamd" or "spam = debian-spamd:true" of course.

The example is correct for Postfix but incorrect for Exim.

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

Attachment: signature.asc
Description: PGP signature


Reply to: