[SA-exim] Bayes issues

Sander Smeenk ssmeenk at freshdot.net
Sun Aug 10 16:15:18 PDT 2003


Quoting Justin F. Knotzke (jknotzke at shampoo.ca):

>     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



More information about the SA-Exim mailing list