Re: problems with spamprobe

Brian Burton <[email protected]> Thu, 09 Aug 2007 12:48:21 -0400
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
The hash format uses mmap() which does not seem to update the
timestamp of the file on Linux.  Not sure why.  To be certain that
nothing changed in the file you would need to md5sum it before and
after running the training command.

> I've collected a bunch of spam and a bunch of non-spam and tried to
> teach spamprobe by doing:
>
> spamprobe good /my/non-spam/maildir/
> spamprobe spam /my/spam/maildir/

Is maildir in your example a directory name?  Is it really a maildir
directory (i.e. with .cur and .new subdirectories)?

Try running with -v and see if spamprobe prints information about the
emails it is processing.  If it doesn't then it's not finding any
email to learn from.

If maildir in your example is not actually a maildir type directory
structure but rather just a directory containing mbox files then you
should use a wildcard to have the filenames appear on the command line:

  spamprobe good /my/non-spam/maildir/*

In any case it's generally better to use auto-train or auto-learn for
initial training rather than separate runs of spam and good.

spamprobe auto-train -v GOOD /non-spam/maildir/ SPAM /spam/maildir/

All the best,
++Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/