Re: Script or command for testing new rules to ensure new rules don't generate false positives/negatives?

2021-04-24 Thread John Hardin
On Sat, 24 Apr 2021, Steve Dondley wrote: And if you want to test your rules against a corpus rather than testing against a few one-off spamples, then look into setting up a local masscheck instance. You don't need to upload the results to SA, but it will give you a good overview of how a rul

Re: Script or command for testing new rules to ensure new rules don't generate false positives/negatives?

2021-04-24 Thread Steve Dondley
And if you want to test your rules against a corpus rather than testing against a few one-off spamples, then look into setting up a local masscheck instance. You don't need to upload the results to SA, but it will give you a good overview of how a rule behaves against multiple messages. I'm

Re: Script or command for testing new rules to ensure new rules don't generate false positives/negatives?

2021-04-24 Thread John Hardin
On Sat, 24 Apr 2021, Steve Dondley wrote: On 2021-04-23 05:41 PM, Martin Gregorie wrote: On Fri, 2021-04-23 at 16:28 -0400, Steve Dondley wrote: I'm experimenting with writing a library of my own SA rules and scores. Treat this like any other code development project: use a rule development

Re: Script or command for testing new rules to ensure new rules don't generate false positives/negatives?

2021-04-24 Thread Steve Dondley
On 2021-04-23 05:41 PM, Martin Gregorie wrote: On Fri, 2021-04-23 at 16:28 -0400, Steve Dondley wrote: I'm experimenting with writing a library of my own SA rules and scores. I do this on a separate computer, which has Spamassassin installed but not linked into anything else. It also has a cop

Re: Script or command for testing new rules to ensure new rules don't generate false positives/negatives?

2021-04-23 Thread Martin Gregorie
On Fri, 2021-04-23 at 16:28 -0400, Steve Dondley wrote: > I'm experimenting with writing a library of my own SA rules and > scores. > I do this on a separate computer, which has Spamassassin installed but not linked into anything else. It also has a copy of all the live SA configuration files. Alon

Script or command for testing new rules to ensure new rules don't generate false positives/negatives?

2021-04-23 Thread Steve Dondley
I'm experimenting with writing a library of my own SA rules and scores. I'd like to be sure that the rules I write don't turn ham into spam and vice versa. I figured the best way to do this would be to run SA against an existing collection of ham and spam to make sure emails are still scored ac