Someone gave me this script a while ago... can't remember who :(
I used it to copy the aliases.txt to all my user account.  Just replace
the aliases.txt by the rule.ima and it should work.

As to put it in the user account upon creation... I can't help you for
this.  Sorry!

Copy this in a .bat file...
----------------------------------------------------->
@echo off

echo.
echo This batch copies the file .\master\aliases.txt
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 aliases.txt .\users\"%%i" >>rulecopy.log

type rulecopy.log
echo.
echo Check file rulecopy.log for details.
echo.
<-------------------------------------------------------


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dkaleky
Sent: Friday, August 12, 2005 9:43 AM
To: [email protected]
Subject: [IMail Forum] Put rules.ima automaticallly upon account
creation

 Is there a way to Put rules.ima    in each folder when an account in
created via  the humankind interface.


Also how can I put rules.ima in all the accounts already created?


dk



To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/




To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to