Here's my set up:
I had to
# mkdir /etc/spamassassin/.spamassassin
# chown vchkpw:vpopmail drwxr-xr-x 2 vpopmail vchkpw 20480 Oct 4
05:57 .spamassassin
# ls -l /etc/spamassassin/
...
drwxr-xr-x 2 vpopmail vchkpw 20480 Oct 4 05:57 .spamassassin
...
# vi /etc/spamassassin/local.cf (Add settings below)
use_auto_whitelist 1
auto_whitelist_file_mode 0700
auto_whitelist_path /etc/spamassassin/.spamassassin/auto-whitelist
use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1
bayes_path /etc/spamassassin/.spamassassin/bayes
bayes_auto_learn_threshold_spam 6.0
bayes_file_mode 0700
# restart spamd
See if bayes is working
# spamassassin --lint -D
Look for these lines
Oct 4 06:10:44.219 [32423] dbg: bayes: tie-ing to DB file R/O
/etc/spamassassin/.spamassassin/bayes_toks
Oct 4 06:10:44.220 [32423] dbg: bayes: tie-ing to DB file R/O
/etc/spamassassin/.spamassassin/bayes_seen
Oct 4 06:10:44.221 [32423] dbg: bayes: found bayes db version 3
Oct 4 06:10:44.222 [32423] dbg: bayes: DB journal sync: last sync:
1538654406
# ls -l /etc/spamassassin/.spamassassin (files seen when spamassassin
starts training)
-rwx------ 1 vpopmail vchkpw 9867264 Oct 4 05:57 auto-whitelist
-rw------- 1 vpopmail vchkpw 5373952 Oct 3 15:00 bayes_seen
-rw------- 1 vpopmail vchkpw 5308416 Oct 4 06:00 bayes_toks
# use sa-learn to train on messages or directory
On 10/4/2018 2:29 AM, Rajesh M wrote:
hello all
qmail toaster on centos 6, 64 bit
Please advise concerning steps to be followed for implementing bayes.
should i follow the steps listed here ? or is there anything specific related
specific to qmail toaster
https://wiki.apache.org/spamassassin/SiteWideBayesSetup
the mail traffic on this server is around 60000 emails per day
thanks
rajesh
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Eric Broch
White Horse Technical Consulting (WHTC)