In fact, I am thinking maybe of simulating the weight test with a filter
has anybody tried

Filter1: myweight.txt
SKIPIFWEIGHT 10
(Some way to trigger this filter if not skipped above)

Filter 2: filter2.txt
TESTSFAILED END CONTAINS TESTA
TESTSFAILED 0 CONTAINS myweight

So:
1- Has anyone tried something similar ?
2- what is the easiest way to force Filter1 to trigger ?
3- would this consume much CPU, since we have to use 2 filters intsead of
one ?

AND, 4- Is there a way in declude (by analyzing logs, or ... ), to see cpu
usage by different tests ?


----- Original Message ----- 
From: "Scott Fisher" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, December 09, 2006 4:03 PM
Subject: Re: [Declude.JunkMail] testfailed in filters


> I'm not sure you can do it without a change in Declude.
>
> I've requested a SKIPIFMINWEIGHT addition to filters, but no luck getting
> that added.
> I would think the code to add it would be extremely similiar to add since
> the SKIPIFWEIGHT for a max weight already exists. Sounds like you just
flip
> that > to a <...
>
> ----- Original Message ----- 
> From: "Serge" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Saturday, December 09, 2006 8:30 AM
> Subject: Re: [Declude.JunkMail] testfailed in filters
>
>
> > the manual says that MINWEIGHTTOFAIL is the total weight attributed by
the
> > filter
> > I need the weight ON STARTING the filter
> >
> > What I want, is a test of messages that did NOT fail TestA, but do have
a
> > TOTAL weight > 10
> >
> > ----- Original Message ----- 
> > From: "John T (Lists)" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Saturday, December 09, 2006 9:26 AM
> > Subject: RE: [Declude.JunkMail] testfailed in filters
> >
> >
> > Weight "tests" are last. What are you trying to do?
> >
> > Maybe something like this?
> >
> > MINWEIGHTTOFAIL 10
> > TESTSFAILED END CONTAINS TESTA
> >
> > John T
> > eServices For You
> >
> > "Life is a succession of lessons which must be lived to be understood."
> > Ralph Waldo Emerson (1802-1882)
> >
> >
> >
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Serge
> >> Sent: Friday, December 08, 2006 11:19 PM
> >> To: [email protected]
> >> Subject: [Declude.JunkMail] testfailed in filters
> >>
> >> Hi all
> >>
> >> I am trying to write a filter file so it fails if:
> >> Messgae did not fail TESTA
> >> WEIGHT > 10
> >>
> >> I tried
> >> TESTSFAILED END CONTAINS TESTA
> >> TESTSFAILED 0 CONTAINS WEIGHT10
> >>
> >> The above did not work
> >> I assume all Weight tests are added to TESTFAILED after all other test
> >> are
> >> processed? even if the filter line is after Weight10 in global.cfg.
> >> Am i correct ?
> >> and, how to achieve what i am trying to do ?
> >>
> >> TIA
> >>
> >>
> >>
> >> ---
> >> 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 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 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 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 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