i only run sitewide - i'm not offering individual users their own prefs (we're a small company)
so, spamd is running with /etc/spamassassin/local.cf as the local configuration file
in there, i have these lines for bayes:
## ## Bayes ##
# Enable the Bayes system use_bayes 1
# Enable Bayes auto-learning auto_learn 1
# Set Bayes DB Path bayes_path /etc/spamassassin/bayes
# bayes_file_mode (default: 0700) # bayes_use_hapaxes (default: 1) # bayes_use_chi2_combining (default: 0) # bayes_expiry_min_db_size (default: 100000) # bayes_expiry_scan_count (default: 5000)
a nightly cron job hits each user's 'is spam/is not spam' directories using
sa-learn --spam --config-file=/etc/spamassassin/local.cf --dir SPAMDIR sa-learn --ham --config-file=/etc/spamassassin/local.cf --dir HAMDIR
that help at all?
On Monday, June 9, 2003, at 08:31 AM, Kai Schaetzl wrote:
Michael Satterwhite wrote on Mon, 9 Jun 2003 05:44:16 -0500:
I'm running spamd in root mode. I'd like to start using the Bayesian filter,
but I'm not sure how to train Spamassassin when spamd is running root. I'm
sure I'm missing something very obvious. Can you offer any help?
Not sure, since you don't explain the problem you have. Your sitewide bayes db
needs to be 666, so that all users can write to it, otherwise auto-learning
would fail f.i. Is that what you wanted to know? If *you* want to train it you
can just go ahead and train it.
Kai
--
Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com IE-Center: http://ie5.de & http://msie.winware.org
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk