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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is BAD for a global Bayes setup. You do NOT want to give global read access to /root, do you? Pick a directory under /var or /usr (or wherever you have space available; YMMV). I've used /var/SpamAssassin (and recently /usr/SpamAssassin when other factors made /var a Bad Place for AWL and Bayes files): bayes_path /var/SpamAssassin/bayes 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 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. -kgd -- "Sendmail administration is not black magic. There are legitimate technical reasons why it requires the sacrificing of a live chicken." - Unknown
