use this as a batch file making your changes. it begins life in your imail directory and gfpsadmin is a folder I have in the Imail directory for this type of stuff
------------------start bat file @echo off echo. echo This batch looks for the file named forward.ima in each users echo directory. It can be used to determine the accounts that have a echo forward setup. It writes out a file of userids (folders) that have echo the forward.ima file set. Resulting file is named forwards.log echo I currenly have it writing out the new forward.ima entry for the user. echo . rem pause d: rem begin life in the drive/directory of imail cd \imail rem GFPSAdmin is a folder in my imail directory del GFPSAdmin\forwards.log rem building userlist based on directory only dir /B /AD users>GFPSAdmin\dirlist.txt echo.>GFPSAdmin\forwards.log echo Please wait while we create the file ... rem This for loop loops through the dirlist.txt file looking for the filename rem forward.ima in each folder in the file. If it finds it, it writes the rem folder(userid) to the forwards.log file. rem Note that this command must all be on one single line: FOR /F "eol= tokens=1,* delims=/" %%i in (GFPSAdmin\dirlist.txt) do for %%i in (.\users\%%i\forward.ima) do if exist %%i echo %%i forwards to >> GFPSAdmin\forwards.log |type %%i >> GFPSAdmin\forwards.log|echo. >> GFPSAdmin\forwards.log rem echo Check file GFPSAdmin\forwards.log for details. rem echo. --------------------end here bob On Wednesday, March 5, 2003 2:23 PM, Bill Rogers <[EMAIL PROTECTED]> wrote: >If a user is forwarding their mail to another directory it is stored >in a forward.ima file in that user's directory under >\imail\users. > >If you had a large number of users and wanted to find out which ones >were forwarding their mail to an outside address, how would you go >about that on IMail 7.13 running on Windows NT4? There are too many >users to simply use IMail Administrator and look at them one by >one. > > > >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/
