I think you could actually do that now with a kludge :)

Let's say that you only wanted to give a score of 4 to 10 points...or a score of 0 points.

MAXWEIGHT	10

SUBJECT		1	CONTAINS	URGENT REQUEST
BODY		1	CONTAINS	NIGERIAN OIL COMPANY
BODY		1	CONTAINS	reliable foreigner
BODY		1	CONTAINS	I am a scammer
BODY		1	CONTAINS	kiss your money goodbye
BODY		1	CONTAINS	loser
BODY		1	CONTAINS	nigerian
BODY		1	CONTAINS	best stock
BODY		1	CONTAINS	I am an exile
BODY		1	CONTAINS	transfer money to my bank

MAXWEIGHT	9
MAXWEIGHT	8
MAXWEIGHT	7
MAXWEIGHT	6
MAXWEIGHT	5
MAXWEIGHT	4

MINWEIGHT	0

REMOTEIP	-1	CONTAINS	.
REMOTEIP	-1	CONTAINS	.
REMOTEIP	-1	CONTAINS	.

The trick of stepping down the MAXWEIGHT would cause the filter to stop processing with the current score if it was 4 or more points.  Then by switching to MINWEIGHT, you would subtract any possible points between 1 and 3 by using a filter that always hits, my favorite is checking for a dot in the REMOTEIP which is always there unless you IPBYPASS all hops (a configuration error generally).  You could also work this out to only give either 10 points on 3 or more failures or 0 points otherwise by changing around the filter.

Matt




System Administrator wrote:
on 5/21/04 1:57 PM, Scott Fisher wrote:

  
Someone else countered with a number of lines failed that sounded interesting.
I'll call it MINFAILURES

You would only score the filter if the number of matched lines was equal to or
exceeded the MINFAILURES value.
    

I believe my version is more flexible though (from what I remember).

To make my suggestion act like that previously mentioned example you could

minweighttofail 3 100
subject 1 contains URGENT REQUEST
body 1 contains NIGERIAN OIL COMPANY
body 1 contains reliable foreigner
body 1 contains I am a scammer
body 1 contains kiss your money goodbye
body 1 contains loser
body 1 contains nigerian
body 1 contains best stock

which would be triggered by 3 or more line matches or you could assign
individual weights like my example

minweighttofail 10 100
subject 5 contains URGENT REQUEST
body 10 contains NIGERIAN OIL COMPANY
body 5 contains reliable foreigner
body 2 contains I am a scammer
body 3 contains kiss your money goodbye
body 1 contains loser
body 6 contains nigerian
body 5 contains best stock

so that no matter which way you preferred, by line match or by weight match,
the same command would work for both.

Later,
Greg

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


  

-- 
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================

Reply via email to