[CentOS] spamassassin - sa-learn

Craig White craigwhite at azapple.com
Thu Mar 31 17:32:29 UTC 2005


On Thu, 2005-03-31 at 09:27 -0800, Ajay Sharma wrote:
> 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?
> 
> Just a shot in the dark, does the directory, "/root/.spamassassin/"
> exist?  And if so, is it writable?
----
# ls -ld /root/.spamassassin/
drwx------    2 root     root         4096 Mar 31
10:04 /root/.spamassassin/
# ls -l /root/.spamassassin/
total 12
-rw-------    1 root     root        12288 Mar 31 10:04 auto-whitelist
-rw-r--r--    1 root     root         1165 Mar 25 17:55 user_prefs

yes and yes - spamassassin is running as root (not sure of the wisdom of
that but I haven't changed it)...

# ps aux|grep spam
root     20711  0.0  0.0 26672  132 ?        S    Mar25
0:00 /usr/bin/spamd -d -c -m5 -H
root     20714  0.0  0.0 26672  132 ?        S    Mar25   0:00 spamd
child
root     20715  0.0  0.0 26672  132 ?        S    Mar25   0:00 spamd
child
root     20716  0.0  0.0 26672  136 ?        S    Mar25   0:00 spamd
child
root     20717  0.0  0.0 26672  156 ?        S    Mar25   0:00 spamd
child
root     20718  0.0  0.0 26672  168 ?        S    Mar25   0:00 spamd
child
root     32312  0.0  0.0  3856  576 pts/0    S    10:32   0:00 grep spam

Craig




More information about the CentOS mailing list