Goran, yes, if you set a HOLD action, the weight is irrelevant in the
example you cited.  In a more complicated example, you'd have to check the
precedence of actions listed in the manual.

Why?

Well, you might also have a WHITELIST action, or a WEIGHT action for a high
value that does a DELETE.

This gets even more complicated (in a good way, though!) if you are also
using the short-circuit evaluation techniques in the recent beta/interim
builds, e.g. the END, SKIPIFWEIGHT and MAXWEIGHT.  Your configuration might
include increasing severe actions based on the weight of the message, so
you'd definitely want to accrue weight to the new test, but conservatively.

Also, I would recommend never using a weight of zero plus an action like
HOLD when you are evaluating a test, but you might not agree with my style.

Instead, I would recommend using a weight of 1.  A weight of zero, even if
the test is triggered and an action taken, will make the test NOT show up in
the list of tests triggered in your declude log file on the "total weight="
line (at LOGLEVEL MID, anyway).

Andrew 8)

-----Original Message-----
From: Goran Jovanovic [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 9:42 PM
To: [EMAIL PROTECTED]
Subject: [Declude.JunkMail] Weight and Action Question


Hi,

If you are trying out a new test and are not sure what it is going to do
you set the WEIGHT of that test to 0 and then monitor it. One way would
be to use a HOLD action on that test. 

My question is if the WEIGHT was not set to 0 but say 10 and the action
is HOLD will the e-mail be held regardless of the total weight? If that
is true then why does it matter what the weight is set to?

Am I missing something here?

 
     Goran Jovanovic
     The LAN Shoppe

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

Reply via email to