Can we request a STOP function that woul dstop the filter and exit with the 
current weight?
  ----- Original Message ----- 
  From: David Barker 
  To: [email protected] 
  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: [email protected]
  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