Re: [Declude.JunkMail] SKIPIFWEIGHT - RUNIFWEIGHT?
I do not think this would work - WEIGHT and WEIGTRANGE tests run last. [I think!] As Scott suggested the only way I believe is to use the SKIPIFWEIGHT directive. For me it would sure be nice if we could use variables in the filter files eg IF %WEIGHT% xx ELSE END sort of thingy.. -Nick Chris Haycox wrote: Kami, You should be able to say something like: TESTSFAILED END NOTCONTAINS WEIGHT50 TESTSFAILED END CONTAINS WEIGHT65 ...rest of filter, etc. Also, make sure that WEIGHT50 and WEIGHT65, or whatever weight value rangeyou want to "RUNIFWEIGHT" at are real tests themselves, as defined in global.cfg as a standard weight test. -Chris From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kami Razvan Sent: Monday, February 20, 2006 11:39 AM To: Declude.JunkMail@declude.com Subject: [Declude.JunkMail] SKIPIFWEIGHT - RUNIFWEIGHT? Hi; Is there anyway one can run a test if the weight, at the time the filter is run, is above a certain point and below a certain point? I know we can skip tests if a certain weight is reached but it seems like we can not run a test only if the weight is above a certain level. This can be handy as a final test/review to push an email to delete in cases of extreme violation of all rules.. Regards, - Kami
Re: [Declude.JunkMail] SKIPIFWEIGHT - RUNIFWEIGHT?
could you chain a few skipifweightfilters? under10.txt skipifweight 10 remoteip 0 contains . filter2.txt testsfailed end notcontains under10.txt - Original Message - From: Kami Razvan To: Declude.JunkMail@declude.com Sent: Monday, February 20, 2006 1:39 PM Subject: [Declude.JunkMail] SKIPIFWEIGHT - RUNIFWEIGHT? Hi; Is there anyway one can run a test if the weight, at the time the filter is run, is above a certain point and below a certain point? I know we can skip tests if a certain weight is reached but it seems like we can not run a test only if the weight is above a certain level. This can be handy as a final test/review to push an email to delete in cases of extreme violation of all rules.. Regards, - Kami
Re: [Declude.JunkMail] SKIPIFWEIGHT - RUNIFWEIGHT?
I've long wanted a SKIPIFWEIGHTLESSTHAN myself. My thinking is that it would cut down on some CPU time for filters that wouldn't even effect the email's weight because they were scoring low enough. Maybe with version 4 being PRO across the board, we can expect to see some filter enhancements. - Original Message - From: Kami Razvan To: Declude.JunkMail@declude.com Sent: Monday, February 20, 2006 2:58 PM Subject: RE: [Declude.JunkMail] SKIPIFWEIGHT - RUNIFWEIGHT? Hi.. Yes we can.. that is what I am doing now.. I was hoping we can have a construct that allows us to do it inside the filter. If one can have a construct like: RUN IF WEIGHTIS BETWEEN Min Max So the filter runs if the weight is= Min and =Max then one can truly set filters and fine tune conditions. It will allow an IF statement construct.. combining this with MINWEIGHT can easily set IF STATEMENT with Exit conditions. otherwise we have to do it outside the filter in global with several filters and conditions.. much cleaner if done inside the filter. I searched the manual but did not see it-- I was hoping it was added and I missed it in the release notes.. thanks .. hopefully it will be added. Regards, - Kami From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott FisherSent: Monday, February 20, 2006 3:45 PMTo: Declude.JunkMail@declude.comSubject: Re: [Declude.JunkMail] SKIPIFWEIGHT - RUNIFWEIGHT? could you chain a few skipifweightfilters? under10.txt skipifweight 10 remoteip 0 contains . filter2.txt testsfailed end notcontains under10.txt