>> Why the requirement of single filter? << Clarity? It's easier for me to follow a logic, if it's enclosed in a SINGLE source document (= filter). If the logical is spread over multiple source documents, I have to first scour the Global.CFG to see which filters are active, then inspect each one to see if by chance any one of them might have any effect.
Best Regards Andy Schmidt Phone: +1 201 934-3414 x20 (Business) Fax: +1 201 934-9206 _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John T (Lists) Sent: Friday, November 17, 2006 12:57 PM To: declude.junkmail@declude.com Subject: RE: [Declude.JunkMail] Filter 'END' statement in 4.3.14 flushes WEIGHT? Why the requirement of single filter? I have different combo filters created like this: ComboFilterA REM If testa and testb fail, and if testc or testd fail, add 10 ENDONFIRSTHIT TESTSFAILED END NOTCONTAINS testa TESTSFAILED END NOTCONTAINS testb TESTSFAILED 10 CONTAINS testc TESTSFAILED 10 CONTAINS testd ComboFilterB REM If testc and testd fail, and if teste or testf fail, add 20 ENDONFIRSTHIT TESTSFAILED END NOTCONTAINS testc TESTSFAILED END NOTCONTAINS testd TESTSFAILED 10 CONTAINS teste TESTSFAILED 10 CONTAINS testf IMHO, that is a much cleaner and neater way to do it. You could also use MAXWEIGHT instead of ENDONFIRSTHIT and then assign different weights to different test. John T eServices For You "Life is a succession of lessons which must be lived to be understood." Ralph Waldo Emerson (1802-1882) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Schmidt Sent: Friday, November 17, 2006 9:29 AM To: declude.junkmail@declude.com Subject: RE: [Declude.JunkMail] Filter 'END' statement in 4.3.14 flushes WEIGHT? Hi John, >> Was never changed. << Please read the URL I posted: http://www.mail-archive.com/declude.junkmail@declude.com/msg14009.html As you can tell, ORIGINALLY it did return the weight. He was thinking of it even FAILING the test (if there was a weight). >> What you should have been using is MAXWEIGHT at the top, or STOPATFIRSTHIT. << Kindly, please read the sample I had posted (bottom of this message). Your reply doesn't address the issue of trying to make some sections of a test conditional. Example, the goal is to return either 1 or 2 or 3 if test1 or test2 occur with test3 - and to only add test4 and test5, if test3 is not true. SKIPIFWEIGHT 20 MAXWEIGHT 3 TESTSFAILED 1 CONTAINS test1 TESTSFAILED 1 CONTAINS test2 TESTSFAILED END CONTAINS test3 TESTSFAILED 1 CONTAINS test4 TESTSFAILED 1 CONTAINS test5 etc etc Please demonstrate how MAXWEIGHT or STOPATFIRSTHIT would do this in a single filter? Best Regards Andy Schmidt Phone: +1 201 934-3414 x20 (Business) Fax: +1 201 934-9206 --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.