Reindl Harald <h.rei...@thelounge.net> wrote .. > > you said in your other mail "This is for sitewide filtering" and for > that a own wiki page exists which can be found by type "spamassassin > sitewide" in search engines > > did you consider click at this link? > https://wiki.apache.org/spamassassin/SiteWideBayesSetup > > In local.cf, tell SpamAssassin where to find the Bayesian database files: > > bayes_path /var/spamassassin/bayes_db/bayes > bayes_file_mode 0777 > > this stuff has no business to live under /root
Yes, I read the wiki page. I had no bayes_path setting in my local.cf. Spamassassin put the bayes database under /root on its own. To keep it simple, I created /var/bayes, did chown spamd:root on it, copied the bayes files and user_prefs from /root/.spamassassin, chmod 777 all of it (for now to get this working) and made these changes to local.cf: bayes_path /var/bayes/ bayes_file_mode 0777 After restarting the service, spamassassin continues with the same complaints and still no bayes processing: Fri Mar 31 08:34:13 2017 [26563] info: spamd: creating default_prefs: /root/.spamassassin/user_prefs Fri Mar 31 08:34:13 2017 [26563] info: spamd: failed to create readable default_prefs: /root/.spamassassin/user_prefs Fri Mar 31 08:36:49 2017 [26562] info: spamd: result: {snip} autolearn=no autolearn_force=no