[Declude.JunkMail] Total weight as X-header

2003-01-16 Thread David Lewis-Waller
Is it possible to add an X-HEADER that shows the total weight of the
email without using a zero weighted action?

For instance if a WARN action is applied then the total weight range is
shown:

X-RBL-Warning: SPAM-NONE: Total weight between 0 and 4.

If a SUBJECT action is used only test failures are listed:

X-Note: SPAM tests failed:[SPAMCOP, REVDNS, SPAM-MID]

I have an action of WEIGHT0 that gives a result of:

   X-RBL-Warning: WEIGHT0: Weight of 5 reaches or exceeds the limit
of 0.

My aim is to give clients the option of filtering locally using a total
weight as well as the defined weight ranges we use.

WEIGHT0 weight  x   x   0   0
SPAM-NONE   weightrange x   x   0   4
SPAM-VLOW   weightrange x   x   5   9
SPAM-LOWweightrange x   x   10  14
SPAM-MIDweightrange x   x   15  19
SPAM-HIGH   weightrange x   x   20  29
SPAM-VHIGH  weight  x   x   30  0

A total weight header would be useful that didn't involve creating a
weight test and setting the action to WARN. Unless I've missed something
that does this.

David
WiSS Limited


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



Re: [Declude.JunkMail] Total weight as X-header

2003-01-16 Thread R. Scott Perry


Is it possible to add an X-HEADER that shows the total weight of the
email without using a zero weighted action?


I think what you are looking for is a variation on:

XINHEADER   X-Spam-Tests-Failed: %TESTSFAILED% [%WEIGHT%]

You could change this to something like:

XINHEADER   X-Spam-Weight: %WEIGHT%.

  -Scott

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



RE: [Declude.JunkMail] Total weight as X-header

2003-01-16 Thread David Lewis-Waller
Scott,

Thanks just the ticket, I couldn't see the wood for the trees.

David


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of R. Scott Perry
Sent: 16 January 2003 13:14
To: [EMAIL PROTECTED]
Subject: Re: [Declude.JunkMail] Total weight as X-header



Is it possible to add an X-HEADER that shows the total weight of the 
email without using a zero weighted action?

I think what you are looking for is a variation on:

 XINHEADER   X-Spam-Tests-Failed: %TESTSFAILED% [%WEIGHT%]

You could change this to something like:

 XINHEADER   X-Spam-Weight: %WEIGHT%.

   -Scott

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