[CentOS] spamassassin - sa-learn

Thu Mar 31 18:16:49 UTC 2005
Aleksandar Milivojevic <amilivojevic at pbl.ca>

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?

[also related to your reply to Ajay's mail]

If spamd is running as root, and you want to use spamd, than you should 
use spamc utility to connect to it.  spamassassin is stand-alone, it 
doesn't utilize spamd.  If spamd is running as root, it will assume 
identity of connecting user (the one who run spamc utility).

Now, do you want to have per-user bayes databases, or one global 
database?  Do you connect to spamd as user or from some daemon, and does 
that daemon uses smapd or has copy its own copy of spamassassin (like 
mimedefang)?

I'm affraid you'll have to give much more details...

-- 
Aleksandar Milivojevic <amilivojevic at pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7