Re: Bayes issues

Sander Smeenk <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
Quoting Justin F. Knotzke ([email protected]):

>     Sorry, that should read:

sa-exim invokes spamc as user 'nobody' or maybe 'mail', for security 
issues. That means spamd can't get to your homedirectory to read the
bayesian stuff.

You can however tell spamd to look for bayesian stuff in another
directory, for example, /var/tmp or some directory you created
especially for this purpose.

You could then even copy your own current databases into that directory.

In your local.cf, in /etc/spamassassin/ add:
(directories based on Debian GNU/Linux)

| # Bayes basefilename. This file must be readable for user mail
| # spamc/spamd will add _toks and _journal to this path...
| bayes_path /var/tmp/exim4-bayes/bayes
| # Use 'hapaxes' to increase hit-rates with larger databases
| bayes_use_hapaxes 1

Sander.
-- 
| If you must choose between two evils, pick the one you've never tried before.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.