I wrote a small perl script to distribute the rules.ima into each
domain:
#!c:/perl/bin/perl.exe
#
# Change the path below to your Imail install directory
# Also substitute "mydomain" for the folder that contains
# the rules.ima file you want copied
chdir("x:/path/to/imail");
@FILES = (<*>);
for (@FILES) {
next if /^spool$/i;
next if /^mydomain$/i;
if (-d $_) {
`copy mydomain\\rules.ima $_\\rules.ima`;
}
}
`net stop "Imail SMTP Server"`;
`net start "Imail SMTP Server"`;
#------------------------
----- Original Message -----
From: "Kami Razvan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 21, 2001 9:30 AM
Subject: RE: [IMail Forum] Global Rules?
> Hi:
> I agree with the global rule & its existence. But it is only for a
> domain and its respective users. What if you have 100 domains with a
> bunch of users in each?
>
> You can not define a rule that applies to all domains and all users!
> Right? Wrong?
>
> With Kill.lst or Control Access in the SMTP tab- whatever you define
> applies to all domains, all users, no matter how many you add in the
> future. You don't have to make any changes or define new users or new
> mailboxes for the users.
>
> What I think we need is a GLOBAL Rules.ima where the rules applies to
> everyone, everywhere. For example - you may want to block .exe files
> for everyone everywhere- so nobody can receive .exe files? It is not
as
> easy as adding that rule to the Kills.lst is it?
>
> that is all I am wondering about!
>
> Regrads,
> Kami
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Hermann
> Strassner
> Sent: Friday, September 21, 2001 5:17 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [IMail Forum] Global Rules?
>
>
> IMail HAS global rules.
>
> Hermann
>
> Hi:
> Is there any reason why IMail does not have global rules? Much like
> SMTP Kill.lst or Deny Access why not a Global Rule to have all email
> that follow a certain set of conditions to be sent to an email.
>
> This could tremendously help with filtering SPAM on top of using such
> services as IMGate or PostfixGate or even blocking viruses or .exe
files
> before it is sent to the users.
>
> Regards,
> Kami [[EMAIL PROTECTED]]
>
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/