Very kool addition but I'm having trouble with MAXWEIGHT
Gotta be simple but I just don't get it:

DJMPro v1.76i27

I created a filter called testfilter.txt
it contains
SKIPIFWEIGHT      40
MAXWEIGHT         20
HEADERS   1   CONTAINS    from

This should [1] skip the test completely if the weight is 40 or higher before the test is run, and [2] set the maximum weight for the test to 20 (which will also stop processing and set the weight to 20 if the weight reaches or exceeds 20 during processing of the filter).


I sent myself an email. Total weight of the email was -5

The above filter did not kick off

What confuses me here is:


*BUT* if I changed the SKIPIFWEIGHT to 400 the filter did execute.

11/25/2003 17:59:05 Qdeb405260116f421 Msg failed TESTFILTER (Message
failed TESTFILTER test (line 3, weight -1)). Action=IGNORE.

This is showing that the test is adding -1 to the weight. Is the TESTFILTER test set up to start with a weight of -2 (in the test definition line in the global.cfg file)?


-Scott
---
Declude JunkMail: The advanced anti-spam solution for IMail mailservers.
Declude Virus: Catches known viruses and is the leader in mailserver vulnerability detection.
Find out what you've been missing: Ask about our 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.

Reply via email to