From: Declude JunkMail Install/Manual

Multiple actions per test
Declude JunkMail does not support multiple actions per test. When it was designed, it 
was assumed that people would only want to use one of the two actions that other 
anti-spam products use: WARN or BOUNCE. 
However, since Declude JunkMail allows so many different actions to be taken on 
E-mail, a number of people have requested the ability to use multiple actions per 
test. Although Declude JunkMail does not support this, there is a way to accomplish 
the same end result. You just need to define two copies of the same test, each with a 
different name. 

For example, if you wanted to have the SPAMCOP test use both the WARN and SUBJECT 
actions, you would change add a new test SPAMCOP2. The \IMail\Declude\global.cfg 
defines the SPAMCOP test as:

SPAMCOP ip4r bl.spamcop.net 127.0.0.2 7 0

You would add another entry that is identical except with a different name, so you 
would now have:

SPAMCOP ip4r bl.spamcop.net 127.0.0.2 7 0
SPAMCOP2 ip4r bl.spamcop.net 127.0.0.2 0 0

Then, in your $default$.JunkMail file, you could have:

SPAMCOP SUBJECT Spam:
SPAMCOP2 WARN

Now, both actions will be used. There are some combinations of actions that will not 
work together (such as DELETE and HOLD, which logically can't both be used), but most 
will. Also, if you use the weighting system, you should set the weights of the second 
test to 0, so that you do not end up with double the weight.


Scott Fisher
Director of IT
Farm Progress Companies

>>> [EMAIL PROTECTED] 04/15/04 02:36PM >>>
Is it possible to specify multiple actions for failed tests?

I.e.:

filtername    log
filtername    warn
filtername    copyto [EMAIL PROTECTED] 

Thank you,
Joshua Hughes
Sunline Team
941-206-7870
888-512-6100

http://www.sunline.net/

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