[Mimedefang] Mimedefang Spamassassin bayes learning isssue
Ngo, Toan
tngo at midway.com
Thu Jul 15 13:10:10 EDT 2004
I'm trying to get bayes to auto learn with MD 2.43 and spamassassin
2.63.
Here's my config part in relation to bayes:
use_bayes 1
auto_learn 1
bayes_path /var/spool/spamassassin/bayes
bayes_file_mode 0666
bayes_auto_expire 1
bayes_auto_learn_threshold_nonspam 0.5
bayes_auto_learn_threshold_spam 10
bayes_expiry_max_db_size 100000
bayes_file_mode 0644
bayes_ignore_header X-Spam-Status:
bayes_ignore_header X-Spam-Score:
bayes_journal_min_size 10240
bayes_journal_max_size 5120000
bayes_learn_to_journal 1
bayes_min_ham_num 100
bayes_min_spam_num 100
/var/spool/spamassassin/bayes is owned by defang.defang and is 777 for
testing.
At first the bayes_ files were not created. I them proceed to make a
spam folder and created a spam message in it.
At /var/spool/spamassassin directory:
su defang
sa-learn --spam spam
This read in the file in the spam folder and created the bayes_files.
However the bayes files were created in /var/spool/spamassassin and not
/var/spool/spamassassin/bayes like specified in the bayes_path config
line. Now the bayes_journal appears to be getting updated but not
bayes_seen or bayes_toks. Is there a reason why the bayes_ files are
located in the incorrect path?
Also why didn't the auto_learn option create the bayes files?
Thanks,
Toan Ngo
More information about the MIMEDefang
mailing list