On Mon, 31 Aug 2009, Duane Hill wrote:
On Mon, 31 Aug 2009, Ben Whyte wrote:
Based on what you've told me so far, it is not. It is pointing to
/home/.spamassassin/
What's the exact bayes_path statement you used, and what file is it in?
(please post the exact one.. bayes_path is a VERY tricky option to use,
because it requires more than just a path.)
bayes_path /home/spamd/.spamassassin
bayes_file_mode 0666
You need a file part to the bayes_path as well according to the docs:
bayes_path /path/filename (default: ~/.spamassassin/bayes)
This is the directory and filename for Bayes databases. Several
databases will be created, with this as the base directory and
filename, with "_toks", "_seen", etc. appended to the base. The
default setting results in files called
"~/.spamassassin/bayes_seen", "~/.spamassassin/bayes_toks", etc.
auto_whitelist_path /home/spamd/auto-whitelist
auto_whitelist_file_mode 0666
Forgot this part. It is the same as bayes_path. It needs to include the
file part as well:
auto_whitelist_path /home/spamd/.spamassassin/<file_name>
Its running as the user spamd.
I noticed that the spamassassin_seen is not been touched by running
sa-learn. However the size isnt changing. spamassassin_toks is
changing size.
Did you run sa-learn as the user spamd?
No, I run it as root.
Ben