I'm doing some testing now with the following in the global.cfg file:

        ALLMAILS1  weight  x  x  -10  0
        ALLMAILS2  weight  x  x  -10  0

and the following in the .junkmail file:

        ALLMAILS1  ATTACH
        ALLMAILS2  ALERT

which should accomplish this.
The testing seems to show that this will work just fine.

The ALLMAILS1/ALLMAILS2 tests will catch all E-mail with a weight of -10 or higher (meaning virtually all E-mail, unless you have weights that go below -10). This is used instead of the CATCHALLMAILS test, since the CATCHALLMAILS test won't get whitelisted.

Having the two separate test names allows two actions to be taken. In this case, the ALERT action causes a bounce-like E-mail to be sent to the sender of the E-mail (but still allows the E-mail to be delivered to the recipient). The ATTACH action then changes the E-mail so that you can format it as you like, with the \IMail\Declude\spamattach.eml file (you could remove the message body, and perhaps adding instructions on how to whitelist the E-mail).
-Scott

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