Mr. Andrew SNOWDEN

thanx for ur solution

ramana.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Andrew SNOWDEN
Sent: Thursday, June 27, 2002 3:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Forward.ima



Try adapting this batch file, putting forward.ima ina folder called Master.


@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
FOR /F "eol= tokens=1,* delims=/" %%i in (dirlist.txt) do echo
%%i>>rulecopy.log && copy .\master\imailadmin.fwd .\users\"%%i"
>>rulecopy.log
type rulecopy.log
echo.
echo Check file rulecopy.log for details.
echo.
:END


---------- Original Message ----------------------------------
From: "Ramana" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Thu, 27 Jun 2002 14:31:41 +0530

>Hi friends,
>
>I have to add forward.ima file into my users folders.
>Is there any available component for this purpose.
>How can i do it?
>Here i can't use "IMail administrator".
>If any one is aware about it,please send ur valuable information.
>
>
>regards,
>ramana.
>
>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/
>
>Please visit the Knowledge Base for answers to frequently asked
>questions:  http://www.ipswitch.com/support/IMail/
>

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/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/


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/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/

Reply via email to