On Fri, 24 May 2002 the voices made Matt Sergeant write: > Tony L. Svanstrom wrote: > > Would it be possible to set up an environment where you can test changed/new > > rules against a set number of spam and non-spam, preferably the same ones used > > for the current GA-scores? > > The best way is to just extract the header from emails you know break, > and write tests for them. It's dead easy, just: > > test RULE_NAME ok Something this rule should match > test RULE_NAME fail Something this rule should not match > > Unfortunately it doesn't cope with embedded newlines in headers yet, but > I'm hoping that will become completely irrelevant once SA does proper > email parsing.
I was thinking that it'd be a great help to get the GA-generated score as a sign of if one's heading in the right direction; esp. helpful when you think you might be able to improve an existing rule. Yes, I'm slowly moving in the direction of maybe actually helping instead of just asking stupid questions. =) /Tony -- # Per scientiam ad libertatem! // Through knowledge towards freedom! # # Genom kunskap mot frihet! =*= (c) 1999-2002 [EMAIL PROTECTED] =*= # -- Random URL (3/8): <URL: http://www.slashdot.org/ > Who's getting ./:ed today? _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk