[Mimedefang] bayes filtering for a mimedefang implementation

Mathew Thomas mathew.thomas at rmit.edu.au
Mon Aug 11 23:36:01 EDT 2003


Hi All

Matt, you are right. The variable is auto_learn_threshold_spam ( no bayes).  Now there is no error message when I run
# spamassassin -D --lint
except the following
debug: debug: Only 0 spam(s) in Bayes DB < 200

I can see the files,  bayes_msgcount, bayes_sen and bayes_toks in the directory, "bayes_path /var/spool/MIMEDefang/", but nothing in the directory, "/var/spool/MIMEDefang/bayes" .  The file , bayes_msgcount has got about 15 dots and is increasing.
I believe , "/var/spool/MIMEDefang/bayes" is a directory.

Thanks
Mathew





>>> mscramer at armstrong.com 12/08/03 2:10:53 >>>
> On 8/9/03 5:13 AM, "Matt Cramer" <mscramer at armstrong.com> wrote:
>
> [...]
> > I do run mimedefang and mimedefang-multiplexor as the defang user.
> > However there is no /home/defang/.spamassassin directory.  In my
> > /etc/mail/spamassassin/local.cf (only file in that directory) I have the
> > following lines:
> >
> > use_bayes 1
> > bayes_auto_learn 1
> > bayes_file_mode 0777
> > bayes_path /var/spool/MIMEDefang/bayes
> > bayes_auto_learn_threshold_spam 6.00

Ugh.  My problem was the final setting here.  I thought of it after
reading in another thread that the SpamAssassin man pages on the web site
were for the latest beta, not the current production release.  I was
reading the man pages on the web, and when I compared it to my installed
man page for Mail::SpamAssassin::Conf I realized the variable is just
auto_learn_threshold_spam.  :(  After making that change my test emails
successfully caused the bayes filters to update the database and
statistics files.

Thanks to all who tried to assist.


Matt

-- 
Matthew S. Cramer <mscramer at armstrong.com>          Office: 717-396-5032
Infrastructure Security Analyst                     Fax:    717-396-5590
Armstrong World Industries, Inc.                    Cell:   717-917-7099

_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com 
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang





More information about the MIMEDefang mailing list