You want to set up a mass checker.  This will run on mbox files (I'm pretty 
sure) and it gives you combined and very useful stats on an entire group of 
rules you are testing, across all the mail in the files.  You basically need a 
group of known ham mail and another group of known spam mail.  The masscheck 
then does the stats on the spam/ham hitrates for each rule.

You can talk with Alex about setting up the SARE version of the mass checker, 
or there is the standard one that (at least used to) be distributed with the 
standard distribution.  

There is also the SA masscheck system, and you can submit rules for that in 
various ways, including (I believe) as attachments to mail messages, once you 
are blessed by the system.  The SA system has a huge cumulative corpus and some 
real nicve analysys tools, but as a result the results are more like tomorrow 
rather than instant.  The SARE system will give you results form the various 
mass checkers in anything from a few minutes to a few hours, depending on the 
mass checker.

        Loren
  ----- Original Message ----- 
  From: Kevin A. McGrail 
  To: SpamAssassin Dev 
  Sent: Friday, August 17, 2007 11:30 PM
  Subject: Easier Rules Work


  I'm trying to speed up my rule development.

  First, I'm wondering if there is an easy way that already exists to re-run 
spamassassin on all the mails in an mbox format file?

  Second, anyone know how to modify a muttrc to give a quick key perhaps to 
save an email to a temporary file, shell out, run spamassassin -t [temporary 
file] -D 2>&1 | grep -i kam, pause to let me see the output and return to mutt.

  Thoughts?

  KAM

Reply via email to