spamassassin - sa-learn

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



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@xxxxxx>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7

[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