Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Imail Forum
Ipswitch list for Imail
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Imail :
product's home
product's list home
 
  Archived TallyList / Imail Forum: 
Subject: Re: Rules
Andrew SNOWDEN (16p/+1r)     Posted: Monday 19 Feb 2001
This post: 24 views, +0 rating

Try something along the lines of this.....

@echo off echo. echo This batch copies the file .\master\rules.ima echo into all subdirectories. It has to be started from echo the root of any of your mail domain's directories. echo. pause

rem building userlist based on directory only dir /B /AD users>dirlist.txt echo.>rulecopy.log echo Please wait while the file is copied ...

rem copy the source file to each directory rem Note that this command must all be on one single line: FOR /F "eol= tokens=1,* delims=/" %%i in (dirlist.txt) do echo %%i>>rulecopy.log && copy .\master\imailabuse.fwd .\users\"%%i" >>rulecopy.log FOR /F "eol= tokens=1,* delims=/" %%i in (dirlist.txt) do echo %%i>>rulecopy.log && copy .\master\imailvirus.fwd .\users\"%%i" >>rulecopy.log FOR /F "eol= tokens=1,* delims=/" %%i in (dirlist.txt) do echo %%i>>rulecopy.log && copy .\master\imailspam.fwd .\users\"%%i" >>rulecopy.log type rulecopy.log echo. echo Check file rulecopy.log for details. echo. :END

Andrew Snowden, ICT Co-ordinator Chealde Hulme School, UK ---------- Original Message ---------------------------------- From: "Postmaster Citynet S.A." <postmaster@citynet.net.ar> Reply-To: IMail_Forum@list.ipswitch.com Date: Sat, 17 Feb 2001 11:07:21

>I have a mail server with 200 domains in it. Has anyone built a script or a >batch file to copy the rules.ima into several directories? > >At 12:08 16/02/2001 +0000, you wrote: >>Put a text file filterbox.fwd in each users mail folder... >>Note: you can use a batch file to do this for you. > > >*********************************** >Guillermo Hechem - Postmaster >Citynet S.A. - Ciudad Internet >Corrientes 840 - Rosario (2000) >Argentina >Tel. 54-341-4470003 - Fax: int. 105 >*********************************** > > > > > > >


Similar Subject Line Posts (+/- two weeks of this post)
Rules filter is catching everything  02 Mar 2001   (14 v/ +0 r)
Rules.ima, and disapearing emails.  01 Mar 2001   (14 v/ +0 r)
Re: Rules.ima, and disapearing emails.  01 Mar 2001   (11 v/ +0 r)
Re: Rules.ima, and disapearing emails.  01 Mar 2001   (12 v/ +0 r)
Rules.ima, and disapearing emails.  01 Mar 2001   (11 v/ +0 r)
rules.ima deleted by McAfee <g>  22 Feb 2001   (12 v/ +0 r)
RE: mailbox rules  20 Feb 2001   (16 v/ +0 r)
RE: mailbox rules  20 Feb 2001   (15 v/ +0 r)
RE: mailbox rules  20 Feb 2001   (14 v/ +0 r)
RE: mailbox rules  20 Feb 2001   (15 v/ +0 r)
mailbox rules  19 Feb 2001   (15 v/ +0 r)
RE: Rules  19 Feb 2001   (10 v/ +0 r)
Re: Rules  19 Feb 2001 (this post)   (24 v/ +0 r)
Global rules filtering won't function with long files  18 Feb 2001   (10 v/ +0 r)
Re: Rules  17 Feb 2001   (10 v/ +0 r)
Re: Global rules filtering won't function with long files  17 Feb 2001   (10 v/ +0 r)
Global rules filtering won't function with long files  17 Feb 2001   (12 v/ +0 r)
Re: Rules  17 Feb 2001   (14 v/ +0 r)
Re: Global rules filtering won't function with long files  16 Feb 2001   (12 v/ +0 r)
spool directory and rules  16 Feb 2001   (12 v/ +0 r)
Global rules filtering won't function with long files  16 Feb 2001   (17 v/ +0 r)
Re: Rules  16 Feb 2001   (23 v/ +0 r)
Re: Rules  15 Feb 2001   (14 v/ +0 r)
Rules  15 Feb 2001   (14 v/ +0 r)
Rules  15 Feb 2001   (13 v/ +0 r)
 

Send a reply to the Imail Forum list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000