|
Search tenon.com
Thanks to:
|
|
Post.Office
RE: Bayesian filtering is driving me nuts.
It's ugly I agree.
Here is my SA config:
make a directory '.spamassassin' in /var/spool/post.office
drwxr-x--- 5 mta mail 170 Jun 24 15:02 .spamassassin
Edit your /etc/mail/spamassassin/local.cf:
## Misc
use_bayes 1
bayes_file_mode 0777
bayes_path /var/spool/post.office/.spamassassin/bayes
bayes_auto_expire 1
bayes_learn_to_journal 0
bayes_auto_learn 0
bayes_min_ham_num 1
bayes_min_spam_num 200
Ensure that your SA start-up script uses the '-u mta' option which runs SA as
the same user as PO.
This set-up was the only way I have ever made it work properly. SA seems to
pick a different location each time for the bayes
location unless you force / trick it.
Dan
-----Original Message-----
From: John Sievert [mailto:john@xxxxxxxxxxxxxxx]
Sent: Thursday, June 24, 2004 2:23 PM
To: post_office@xxxxxxxxxxxxxxx
Subject: Bayesian filtering is driving me nuts.
I think I can improve my filtering big time with the Bayesian filtering for
spamassassin. but i can't make it work. Here is what i
get from the log
Jun 24 14:48:38 mail spamd[2587]: debug: auto-learning failed: lock: 2587
cannot create tmp lockfile
/private/var/root/.spamassassin/.lock.mail.customer1st.com.2587 for
/private/var/root/.spamassassin/.lock: Permission denied
I have run spamd as root. i have changed the permissions on the dir so that it
is rw everywhere but still the same problem.
any suggestions?
J
--
Give a man a fish and you feed him for a day; teach him to use the Net and he
won't bother you for weeks.
John Sievert
Customer 1st, Inc.
2950 Metro Drive, Suite 101
Minneapolis, MN 55425
(952) 851-7901
---------
Tenon Intersystems' Post.Office Mailing List
To unsubscribe: send mailto:post_office-request@xxxxxxxxxxxxxxx
with the body only containing:
unsubscribe
Find the searchable mailing list archives at:
http://postoffice.computeroil.com/
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|