Hello all!

Ok, I've not seen anything like this out there before, so I decided to put my first utility for SA out for all to use. Hopefully you all like/use it! I wasn't able to find a utility that would easily report spam to my Bayesian filter, DCC/Razor/Pyzor, and SpamCop all in one. Doing all three separately was a pain in the butt and a waste of a lot of time, so I figured it would be great to have a utility to do all three at once. The primary purpose of the script was simply to report Bayes and send me the results of the learning, but it grew to help the rest of the spam-fighting community. In order to use it, you must be using Qmail, an MTA using Maildir format, or have a web form to populate your spam/ham directories.

Being its primary goal in life is to submit mail to the Bayes filter, it expects a directory containing your spam and one containing your ham as well. It will learn from these directories and send you an email showing what it learned and how many of each type of mail are in your Bayes DB. You can turn off the notification if you like, or if you don't have Bayes you can turn this entire feature off if you like.

You can also report to DCC/Razor/Pyzor all at once as well. I've not tested with Pyzor as I don't use it, but it should work due to the way SA does it's reporting. This too can be disabled if you're not using DCC, Razor, or Pyzor.

Lastly you can send your mail to a SpamCop account if you have one as well. As with the other two features, this can be shut off.

Feedback is appreciated. I don't claim to be the best programmer in the world, or even a very good one, so please be gentle :-) I also have a script to accept input from a web form to populate the spam/ham directories for those not privileged enough to be running *ix that goes with this. I have to clean it up so I'm not embarrassed by my coding before releasing it first :-)

You can find the script at http://www.daringone.net/files/3in1reporter.pl

- D.J.



Reply via email to