Kevin,

Think about using "MAXWEIGHT 10" in the beginning of the file.  This will end the test immediately when a score of 10 is reached.  This can be an effective incremental method of saving processing power.  It can also be redefined so you can have groupings of filter lines at weight 10, followed by ones at weight 5, etc.

MAXWEIGHT was created for exactly the type of need that you have here, and it works well in most cases.

Matt



Kevin Bilbee wrote:
I get it now. But, is there anyway to fail the test and end the test in one
line instead of two.

For example the way I under stand now it is if you want to short circut a
test you would use END, but this would not fail the test to if you want the
test to fail you would have to do something like

  
HEADERS 10 CONTAINS X-Bulk:  99
HEADERS END CONTAINS X-Bulk:  99
    

This will fail the test and then end the test. But also doubles the lines in
the test file????


How about a line like this

  
HEADERS ENDWITHFAIL CONTAINS X-Bulk:  99
    

It would fail the test and end the test and use the weight defined in the
Global.cfg??????


Would cause my body filter to be much more efficient by failing the test on
a match and not continuing to process the whole body filter file.


Kevin Bilbee


  
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of R. Scott Perry
Sent: Friday, July 09, 2004 10:06 AM
To: [EMAIL PROTECTED]
Subject: RE: [Declude.JunkMail] Test Action Failure



    
Can you clarify the END for me?
      
It ends the processing of the filter.

    
Would this fail the test if the e-mail came with a revdns of us.info?

revdns 10 contains info

revdns end contains info

mailfrom 10 contains info
      
In this case, the E-mail would fail the test (the first line fails the
test; the second one causes the test to end).

                                                    -Scott
---
Declude JunkMail: The advanced anti-spam solution for IMail mailservers
since 2000.
Declude Virus: Ultra reliable virus detection and the leader in
mailserver
vulnerability detection.
Find out what you've been missing: Ask for a free 30-day evaluation.

---
[This E-mail was scanned for viruses by Declude Virus
    
(http://www.declude.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 was scanned for viruses by Declude Virus (http://www.declude.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.


  

-- 
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================

Reply via email to