Dan,
Monday, November 11, 2002 you wrote:
DS> I want to either delete or send to a specified mailbox all mail
DS> for a list of recipients.
DS> Is this possible using declude filters?
Yes, but I believe it would require a custom external test. As far as
I know there is no declude test that traps on TO address.
I have something along your idea working like this:
1) in .CFG file I define my test as a perl program:
MyTest external nonzero "C:\perl\bin\perl.exe C:\MyTest.pl" -1000 0
The -1000 is used to prevent the WEIGHT test from being
triggered.
2) in .junkmail file I define my action which is ROUTETO but could be
DELETE if you wanted.
MyTest ROUTETO [EMAIL PROTECTED]
3) My Perl program checks the TO address and fails if it is not in a
list. In your case you would want to fail if it was in a list I
believe.
Now when I deployed my test I could not pass parameters to the
external test so I had to read the ENVELOPE file for the recipient
TO address. In version 1.62 the ability to send parameters was
added so now you could pass %ALLRECIPS% to the program and avoid
reading the ENVELOPE.
DS> What about a blacklist recipient function?
Again as far as I know that is not possible. It is possible to
whitelist a recipient.
Terry Fritts
---
[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.