One way to accomplish your objectives is as follows:

In your global.cfg...
Assign a weight of at least 1 to each test you choose to perform
Add the following line
WEIGHT1 weight  x       x       1       0
and place the line below in your $default$junkmail
WEIGHT1 WARN    X-RBL-Warning: Tests-Failed-> %TESTSFAILED%
(This will cause the list of all tests failed to appear in the header when
at least one test fails.)

Also, in global.cfg, assign weights to be used to trigger various actions,
such as...
WEIGHT15        weight  x       x       15      0
WEIGHT20        weight  x       x       20      0
WEIGHT30        weight  x       x       30      0

and
in $default$junkmail, determine actions for each weight, for example,
WEIGHT15        LOG
WEIGHT20        WARN
WEIGHT30        HOLD

set the actions for all other performed tests in $default$junkmail to LOG

Good luck!

-----

I also use only the Weight system and would like a way to tell just what
test failed. But sometimes I get lost following these threads that cross
several days worth of e-mails. So if I'm redundant, please excuse my lack of
attention.

I would like to have one line in the e-mail header that lists all the tests
that failed (for e-mails that get through) and one entry in the decxxxx.log
that lists the all the tests that failed (for those e-mails that get
deleted - just in case I need to trace a problem).

If you would be so kind to help me with the following:
1) write the line for $defaule$ to put in the %testsfailed% in the header.
2) put log entries in decxxxx.log
3) and last if I'm using only the weight system, should I set all the tests
to WARN or something else so my log doesn't fill up with redundant
information.

Thanks in advance for your help.
Ken

---
[This E-mail was scanned by the balloons.com anti-virus system.]

---
[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".  You can E-mail
[EMAIL PROTECTED] for assistance.  You can visit our web
site at http://www.declude.com .

Reply via email to