Well that sounds like it could work, but might be tough for me. The only
perl I know is in a strand in my wife's jewlery box. :-)
I don't know any programming, guess I should learn sometime except there is
never any time.  You are only using the perl script to look at the to:
address and then compare it with an external list and then pass or
fail..right?

Scott, any chance of doing this with the existing filters or adding a
location - To: for the filter to look? Or possibly getting a blacklist To:
function?
I would like to keep this as simple as possible.

Thanks
Dan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:Declude.JunkMail-owner@;declude.com]On Behalf Of Smart Business
Lists
Sent: Monday, November 11, 2002 11:44 AM
To: Dan Spangenberg
Subject: Re: [Declude.JunkMail] Is this possible with the filter
function or blacklist?


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.

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