Here's an alternative I am using.  REDIRECT was not an option when I built
this.  So this is what I did.

In the IMail web interface (8383), I have added a couple pages which allow
me to change the user's spam filtering level to one of 3 choices (0=WARN,
1=SUBJECT, 2=BOUNCE).  This web script creates a username.junkmail file for
them based on one of 3 pre-defined templates.

I also have a script that I can run after updating any of those three
templates which copies it over the all the username.junkmail files that are
at that filtering level.

So to change an action, test, whatever, I edit the template file, run my
script, then all my users' personal .junkmail files are updated.

If anyone's interested in the script, let me know off-list.  But since
discovering the REDIRECT command, this might not be so useful to anyone.
The web scripts are ASP so you need to have IIS on the same box.  The update
script is Perl.

--Todd.



----- Original Message -----
From: Trent M. Davenport
To: [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 5:00 PM
Subject: [Declude.JunkMail] Groups with per user .junkmail files


Here's what I'd like to accomplish

weight10.cfg
  Config File with what to do when fails weight 10

weight20.cfg
  Config File with what to do when fails weight 20

user1.junkmail
  REDIRECT * c:\imail\declude\weight10.cfg

user2.junkmail
  REDIRECT * c:\imail\declude\weight20.cfg

The manual says that groups should work in any per-user file, but do I have
to have the format of REDIRECT [EMAIL PROTECTED] filename, or can I use a
wildcard as listed above.

The reason we want to do this, is for ease of administration.  If somewhere
down the road we want to add an additional filter or change the wording of a
header, we could just do it in 1 place, instead of having to do it in each
user.junkmail file.

Trent
-----------
Trent M. Davenport - Systems Administrator
Northern Television Systems Ltd - WHTV
203-4103 4th Avenue, Whitehorse, YT Y1A 1H6
(867) 393-2225 X204, (867) 393-2224 FAX
www.whtvcable.com ( [EMAIL PROTECTED] )

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