> However, I've had to symlink the various bayes_* files in
> ~root/.spamassassin as sa-learn does not seem to respect the bayes_path
> option in local.cf.  :/

I know what you mean.  However, this worked:  I made the directory
spamassassin in /var.  Then I ran sa-learn from /var/spamassassin.  The
local.cf has bayes_path /var/spamassassin.
sa-learn put the files in /var/spamassassin like expected!

> > I originally ran sa-learn as root.  Do I need to change permissions
> > on those to be used site-wide??
>
> You'll need to chmod 666 bayes_* wherever the files are;  and you'll
> probably need to add
>
> bayes_file_mode 0777
>
> to local.cf to make sure that non-root users can *continue* to read (and
> write if you've enabled autolearn) the bayes_* files, wherever you put
> them.

OK, it's starting to make sense, but I don't understand file modes - Can you
explain?
I'll try the above tomorrow when I have time to run sa-learn again.  - John


Reply via email to