Re: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Matt
Andy, That's not how MINWEIGHT works. MINWEIGHT is used for a filter so that it doesn't subtract any more than the value that you give it, generally a negative number unless you get fancy and apply scoring tests first. The only way to do this currently would be to create an external test to

Re: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread R. Scott Perry
I'm trying to detect mails weight = 15 that did NOT fail Sniffer. In NOTSNIFFEDfilter.txt MINWEIGHT 15 TESTSFAILED END CONTAINS SNIFFER REMOTEIP 0 CONTAINS . The problem here is that the MINWEIGHT option in a filter determines a minimum weight at which filter processing will stop. This is a

RE: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Colbeck, Andrew
Title: Message fgrep "Total weight = " dec0531.log | fgrep -v "SNIFFER" | gawk "$NF =20" result.txt sample contents of result.txt: 05/31/2004 00:01:44 Qd84b1ec600561d03 IPNOTINMX:2 HELOBOGUS:6 MAILFROM:9 REVDNS:4 CMDSPACE:5 COUNTRY:10 DSBL:6 SPAMCOP:3 SPAMCOP-DYNA:7 FIVETENSRC:2

RE: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Andy Schmidt
nt: Monday, May 31, 2004 06:18 PMTo: [EMAIL PROTECTED]Subject: Re: [Declude.JunkMail] Detect "Test NOT Failed"Andy,That's not how MINWEIGHT works. MINWEIGHT is used for a filter so that it doesn't subtract any more than the value that you give it, generally a negative number u

Re: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Matt
Sent: Monday, May 31, 2004 06:18 PM To: [EMAIL PROTECTED] Subject: Re: [Declude.JunkMail] Detect "Test NOT Failed" Andy, That's not how MINWEIGHT works. MINWEIGHT is used for a filter so that it doesn't subtract any more than the value that you give it, generall

RE: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Andy Schmidt
Of Colbeck, AndrewSent: Monday, May 31, 2004 06:32 PMTo: '[EMAIL PROTECTED]'Subject: RE: [Declude.JunkMail] Detect "Test NOT Failed" fgrep "Total weight = " dec0531.log | fgrep -v "SNIFFER" | gawk "$NF =20" result.txt sample contents of r

Re: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Matt
Regards Andy Schmidt Phone: +1 201 934-3414 x20 (Business) Fax:+1 201 934-9206 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pete McNeil Sent: Monday, May 31, 2004 09:15 PM To: Matt Subject: Re[2]: [Declude.JunkMail] Detect Test NOT Failed I'm just

RE: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Andy Schmidt
That's the way to do it Nope - it was a failure. The WEIGHTRANGE doesn't get processed by Declude until the end. So when the FITLER is running, the WEIGHTRANGE hasn't been set yet - apparently. So, Scott... We're back to needing SKIPIFWEIGHTLESS! Best Regards Andy Schmidt Phone: +1 201

Re: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Matt
Andy, I'm a big proponent of a skip if less than or more than setup, however I would like to see this in the Global.cfg so that the filter files don't even need to be opened and read if the proper weights have been tripped, thus saving a bunch of processing. This could be done with two

RE: [Declude.JunkMail] Detect Test NOT Failed

2004-05-31 Thread Andy Schmidt
Of MattSent: Monday, May 31, 2004 11:08 PMTo: [EMAIL PROTECTED]Subject: Re: [Declude.JunkMail] Detect "Test NOT Failed"Andy,I'm a big proponent of a skip if less than or more than setup, however I would like to see this in the Global.cfg so that the filter files don't even need to