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

On 31.03.17 08:38, dav...@shopblt.com wrote:
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.

what's the "spamd" user's home directory? Isn't it /root/ ?

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

you do not need those, just check the above.
spamd uses home directory of the user it's running under.


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux is like a teepee: no Windows, no Gates and an apache inside...

Reply via email to