|
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 columns added to the definitions of each custom filter, the first number being less than or equal to and the second number being greater than or equal to resulting in a skip. Regarding this filter, just modify your approach a little. This requires 1.79i7 for NOTCONTAINS functionality. First test for the weight in a single filter. ----- WeightTest.txt ----- SKIPIFWEIGHT 15 REMOTEIP 0 CONTAINS . Then check for both Sniffer plus the WEIGHTTEST filter: ----- NotSniffed.txt ----- TESTSFAILED END CONTAINS WEIGHTTEST TESTSFAILED 0 NOTCONTAINS SNIFFER NOTSNIFFED will only trip on E-mail that scores >=15 and doesn't fail any tests containing the string SNIFFER. Matt Andy Schmidt wrote:
-- ===================================================== MailPure custom filters for Declude JunkMail Pro. http://www.mailpure.com/software/ ===================================================== |
- [Declude.JunkMail] Detect "Test NOT Failed" Andy Schmidt
- Re: [Declude.JunkMail] Detect "Test NOT Failed&q... Matt
- RE: [Declude.JunkMail] Detect "Test NOT Fail... Andy Schmidt
- Re: [Declude.JunkMail] Detect "Test NOT ... Matt
- Re[2]: [Declude.JunkMail] Detect "Te... Pete McNeil
- RE: Re[2]: [Declude.JunkMail] Detect... Andy Schmidt
- Re: [Declude.JunkMail] Detect &q... Matt
- RE: [Declude.JunkMail] Detec... Andy Schmidt
- RE: [Declude.JunkMail] Detec... Matt
- RE: [Declude.JunkMail] Detec... Andy Schmidt
- Re: [Declude.JunkMail] Detect "Test NOT Failed&q... R. Scott Perry
- RE: [Declude.JunkMail] Detect "Test NOT Failed&q... Colbeck, Andrew
- RE: [Declude.JunkMail] Detect "Test NOT Fail... Andy Schmidt
