logo       

Re: spamassassin - sa-learn: msg#01527

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


<Prev in Thread] Current Thread [Next in Thread>