On Mon, 9 Feb 2004, John Fleming wrote:

> I want the Bayes intelligence to apply site-wide.  I don't see any
> indication in my headers that SA is using Bayes.
>
> In local.cf, I have:
>
> use_bayes 1
> bayes_path /root/.spamassassin/bayes
>
> I have run sa-learn on both ham and spam (>200 each) and have bayes_toks and
> bayes_seen files in:
> /root/.spamassassin
> (There's no journal yet - Does that appear when Bayes gets used the first
> time??)

not used until you define: bayes_learn_to_journal 1

> I originally ran sa-learn as root.  Do I need to change permissions on those
> to be used site-wide??

depends on which user is running spamd. spamd user must have access (rw)
to these bayes files.

> I also note that I have bayes_toks and bayes_seen files in my individual
> users' directories.  These weren't there after originally running sa-learn -
> that run went to /root/.spamassassin, so I assume the files in the users'
> directories have appeared due to auto-learning?

if you allow user config, then your users gets their own bayes DB.

> What am I missing?  It's so close to working!

hope this helps a bit.

regards,
Matthias

Reply via email to