1) I'd like a clarify the STOPALLTESTS action.
If I had a line TESTSFAILED STOPALLTESTS CONTAINS GUARANTEED-NOTSPAM
This would exclude any e-mail that met that criteria from this filter and all subsequent filters.
If my understanding is correct, it would be interesting to have a
SKIPIFWEIGHTALLTESTS 340 option where this filter and all subsequent filters would be skipped for a certain weight. (this would save a lot of filter files from being opened).
For that, you could use "SKIPIFWEIGHT 340" at the beginning of all filters. Not quite as efficient (as the filters will be started), but there is little overhead to starting the filters.
2) I use a lot of Maxweight to limit my filter to one hit.
What's more efficient?
MAXWEIGHT 100 BODY 100 CONTAINS SPAM-URL BODY 100 CONTAINS SPAM-URL2 ...
or
STOPATFIRSTHIT BODY 100 CONTAINS SPAM-URL BODY 100 CONTAINS SPAM-URL2 ...
Both will have nearly identical performance. Specifically, in each case, only the first BODY comparison will be made (and it is those BODY/CONTAINS combinations that eat up CPU time).
-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.
