Wow - really? When was that changed? I know that the filter "test" itself
did not show as "failed", but the WEIGHT always carried over!
 
Take a look at Scott's reply when this feature was implemented and the
weight-result of the END was being discussed:
http://www.mail-archive.com/declude.junkmail@declude.com/msg14009.html
 
"[1] the E-mail will stop processing, 
[2] the test will *not* fail (this may change -- I'm not sure why it was set
up that way), and 
[3] the weight will be exactly what it should have been when END was
reached."
 
And it's only logical.
 
If you WANTED a filter to return 0, then you would simply place the 'END'
lines at the BEGINNING of the Filter!
 
If you place the 'END' line behind other lines that accumulated weight, then
it clearly is the intention that the weights be COUNTED and that only any
FURTHER weights not be added!


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 David
Barker
Sent: Friday, November 17, 2006 10:06 AM
To: declude.junkmail@declude.com
Subject: RE: [Declude.JunkMail] Filter 'END' statement in 4.3.14 flushes
WEIGHT?


The END function means END the filter and do not add any of the points for
that filter. If the END condition is met it is as if the filter never ran.

David B
www.declude.com

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy
Schmidt
Sent: Friday, November 17, 2006 10:00 AM
To: declude.junkmail@declude.com
Subject: [Declude.JunkMail] Filter 'END' statement in 4.3.14 flushes WEIGHT?


Hi,
 
Can anyone confirm that the 'END' statement is functioning properly. I've
been noticing/suspecting that certain test combinations had much too little
weights and I finally have time to debug that.
 
This is the entry in the GLOBAL.CFG
 

CONTENT  filter  D:\IMail\Declude\CONTENTfilter.txt x 0 0


Means - the filter itself has a weight of 0 - all weights would be assigned
IN the filter
 
Here CONTENTfilter.txt:
 

SKIPIFWEIGHT 20
MAXWEIGHT 9
 
TESTSFAILED 7 CONTAINS SNIFFER
TESTSFAILED 1 CONTAINS SNIFFER-SCAMS
TESTSFAILED 1 CONTAINS SNIFFER-PORN
TESTSFAILED 2 CONTAINS SNIFFER-MALWARE
TESTSFAILED 1 CONTAINS SNIFFER-OBFUSC
TESTSFAILED -2 CONTAINS SNIFFER-IP
 
TESTSFAILED 4 CONTAINS INV-URIBL-WT1
TESTSFAILED 5 CONTAINS INV-URIBL-WT2
TESTSFAILED 6 CONTAINS INV-URIBL-WT3
TESTSFAILED 7 CONTAINS INV-URIBL-WT4
 
TESTSFAILED END CONTAINS SPAMCOP
TESTSFAILED END CONTAINS NJABLSOURCES
TESTSFAILED END CONTAINS AHBLSOURCES
TESTSFAILED END CONTAINS AHBLPSSL
TESTSFAILED END CONTAINS SORBS-SPAM
TESTSFAILED END CONTAINS SENDERDB-BLOCK
TESTSFAILED END CONTAINS SBL
 
TESTSFAILED 2 CONTAINS SNIFFER-IP

As far as I can tell, the Filter works fine as long as there is only SNIFFER
and/or URIBL and will return the proper weights around 7 through 9.  
 
However, if it hits the END statement is appears as if it always returns
ZERO.  In other words, it loses the weight that had been accumulated up to
that point.
 
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. 
---
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. 


---
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.

Reply via email to