Okay, so the HOLD action trumps COPYTO.  In fact COPYTO is trumped by just 
about everything - even WARN, and probably shouldn't even be used unless you 
are certain the test you are looking for it to fail will definitely be the only 
one that fails.

Since COPYTO is not going to let me do what I wanted to do, I tried to 
manipulate things with a HOLD.  Basically I wanted everything that fails a 
certain test and is over a certain weight to be collected separate from all the 
other held spam.  So I tried making a filter that was like this:

TESTSFAILED  0  CONTAINS  WEIGHT20 FILTER-PHISH

But it didn't work.  I tried every combination, rearranging the order in the 
TESTSFAILED statement, rearranging the order of the tests in the global.cfg and 
$default$.junkmail, etc.  I came to the conclusion that a weight test is 
ignored by TESTSFAILED (though I couldn't find anything about this in the 
manuals, knowledgebase, or archives of declude.junkmail).  I was able to get 
other combinations of tests to work, but as soon as I added a weight test to 
the mix, TESTSFAILED wouldn't work any more.  I also tried using a weightrange, 
but apparently TESTSFAILED treats it the same as a weight.  Maybe weight and 
weightrange would better be labelled "triggers" ranther than "tests" (based on 
the commenting in the default global.cfg) since these "triggers" don't seem to 
be treated the same as other tests.

Has anyone else experienced this?  And is there any other work around that will 
let me do what I want to do using filters or some other aspect of Declude?


-------- Original Message --------
> From: "Gary Steiner" <[EMAIL PROTECTED]>
> Sent: Thursday, October 12, 2006 1:48 PM
> To: [email protected]
> Subject: [Declude.JunkMail] HOLD overrides COPYTO as last action?
> 
> Say I have the following in my $default$.junkmail file:
> 
> FILTER-PHISH  COPYTO [EMAIL PROTECTED]
> WEIGHT20  HOLD %DATE%
> 
> 
> If both tests are triggered on the same email, the COPYTO never occurs.  It 
> only does the HOLD.  I tried switching the order of the tests in the 
> $default$junkmail file and the global.cfg file, but it doesn't seem to make a 
> difference.  Will Declude only perform one action on a message?
> 
> Gary
> 
> 
> 
> 
> 
> 
> ---
> 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