spamassassin - sa-learn

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



On Thu, Mar 31, 2005 at 10:08:40AM -0700, Craig White wrote:
> How do I get this set up?
> 
> spamassassin -D --lint
> 
> shows me an error...
> 
> debug: bayes: no dbs present, cannot tie DB
> R/O: /root/.spamassassin/bayes_toks
> 
> and with no db present, it doesn't learn.
> 
> Is there something simple that I'm missing?

If you run spamassassin in daemon mode it drops root priviledges and run
as nobody. So you need:

chmod o+x /root
chown .nobody /root/.spamassassin
chmod 770 /root/.spamassassin

Or better - use onother directory for spamassassin config files.

-- 
                        Milan Kerslager
                        E-mail: milan.kerslager@xxxxxxxx
                        WWW:    http://www.pslib.cz/ke/

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux