Results 1 to 10 of 19

Thread: Rewrote zmtrainsa for DSPAM

Threaded View

  1. #1
    Join Date
    Nov 2005
    Rep Power

    Default Rewrote zmtrainsa for DSPAM

    I rewrote zmtrainsa to make it a bit more scalable as a training tool for spam filters. My version now grabs the spam or ham messages, and stores them temporarily so more then one spam trainer can take a look at it. Currently I have to split these functions up into two files because of fetchmail's limitations. Right now SA Bayes and DSPAM will be trained. If DSPAM is not installed it will ignore training DSPAM. Also I assumed that dspam was installed in /opt/dspam/bin. If your install is elsewhere change the DSPAMDIR variable in each file. Also, the temp location used is /tmp/sa. That can be changed with the TEMPDIR variable in zmtrainfilter. Run zmtrainsa with its normal usage, zmtrainfilter is really just a support file. Take a look at the files if you need them. The zmtrainsa script now needs zmtrainfilter to run. Although zmtrainfilter doesn't necessarily need zmtrainsa for single file input. I'll comment the code better when I get time. If you have any problems, or don't know why I did something let me know.


    Download latest fix on the second page of posts.
    The files are compressed and attached as zmtrainsa.tgz
    Attached Files Attached Files
    Last edited by unilogic; 12-06-2005 at 05:49 PM.

Similar Threads

  1. zmtrainsa ham learning error
    By lzmarine in forum Administrators
    Replies: 3
    Last Post: 10-10-2007, 11:41 AM
  2. How can I fix zmtrainsa?
    By ms2k in forum Administrators
    Replies: 11
    Last Post: 04-16-2007, 10:11 AM
  3. Replies: 3
    Last Post: 12-18-2006, 10:50 PM
  4. spamassassin not learn, zmtrainsa ignores junked mail
    By lukefilewalker in forum Administrators
    Replies: 0
    Last Post: 11-20-2006, 08:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts