on 5/21/04 11:30 AM, Scott Fisher wrote:

> Can the maxweight / minweight be changed in the middle of a filter?
> 
> I can't really think of a reason to use it, just curious.
> 
> maxweight 3
> subject 5 contains URGENT REQUEST

I don't know, but I'd guess not.

I saw your post a few weeks ago about a minweight type feature. I have, in
the last week or so, really seen the need for this functionality within
Declude especially for "stock" and "nigerian" type messages.

Maybe we could ask for a minweighttofail command for filters.

minweighttofail xx yy

xx - the weight the filter must match or exceed
yy - the weight to assign the message if it exceeds xx

This would allow a filter weight variable that would be different than the
total message weight variable.

For 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

If any combination of filter lines matched the message and the total of
matched line weights was 10 or more the message would get 100 added to it's
total weight. The 10 weight would only apply to the internals of this filter
and would not be added to the overall weight of the message.

If the filter match didn't get a weight of 10 or more, nothing would be
added to the overall message weight.

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.

Reply via email to