>Is there any plan or possibility to allow for multiple actions for one test?

There are no immediate plans to directly support multiple actions per test 
(IE having the MAILFROM test add a warning to the headers and have the 
subject altered), although it can be done (by defining two identical tests 
with different names, MAILFROM1 and MAILFROM2 for example, and using 
different actions for each one).

>  The WEIGHT feature allows great control via multiple tests ... but ;-) 
> ... different Customers (either domain or user) on a mail server will 
> invariably have different requirements.
>
>What I'd find particularly useful would be to allow the WEIGHT10 test to 
>be controlled via action in *.junkmail definitions rather than global.cfg.

I'm not quite sure what you mean here.  The *.junkmail files do determine 
the action to take for mail that fails the WEIGHT10 test (just like the 
other tests).  For example, E-mail to one user failing the WEIGHT10 test 
could be deleted, while mail failing the WEIGHT10 test to another user 
could have a warning added to the headers.

>  Going even further, I can make a case for multiple instances of WEIGHT10 
> for one user or domain something like ...
>
>     WEIGHT10 DELETE 30
>     WEIGHT10 WARN 10

The WEIGHT10 test is a test that is listed in the default configuration 
files, that is triggered whenever an E-mail has a total weight of at least 
10.

If you want, you can have two different tests defined in the global.cfg file:

         WEIGHT10        weight  x       x       10      0
         WEIGHT30        weight  x       x       30      0

That way, the WEIGHT10 test will get triggered for mail with a weight of 
10, and the WEIGHT30 test will get triggered for mail with a weight of 
30.  You can then have in the *.junkmail files:

         WEIGHT30        DELETE
         WEIGHT10        WARN

This way, you have two different tests, with a different action for each 
one, that I think would accomplish what you are trying to do.
                                                -Scott

---

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".  You can E-mail
[EMAIL PROTECTED] for assistance.  You can visit our web
site at http://www.declude.com .

Reply via email to