Darn - I got burned.
 
Some interims release in 2004 changed the END behavior - where it stopped
carrying over the weight:
http://www.mail-archive.com/declude.junkmail@declude.com/msg20850.html
 
This behavior makes NO sense at all. But now that I've upgraded Imail and
Declude there's no way going back. For now I'll have to work around it and
change my filters.
 
Yes, if the 'END' now behaves like a 'CANCEL', then we need a 'STOP'
directive to restore the previous capability of using filters to simulate
and/or conditions in a somewhat efficient manner.
 
This is a huge gotcha!


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


Can we request a STOP function that woul dstop the filter and exit with the
current weight?

----- Original Message ----- 
From: David  <mailto:[EMAIL PROTECTED]> Barker 
To: declude.junkmail@declude.com 
Sent: Friday, November 17, 2006 9:05 AM
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. 


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