I'm running with Imail 6.03. I have downloaded the adduser.exe command from the Ipswitch website. What I want to do is to be able to rename a user's account. For example, change the user from fred.bloggs to joe.bloggs. I have not been able to find a way to do this with the adduser command. As a result I have attempted the following: When a user submits a form, requesting to change their mailbox, a perl script executes, and this is what happens... Check that new username is available (see if adduser fails to add new user) If it is available, create a new user. Copy users mailboxes from old dir to new dir. Remove Old account (use adduser -k) Attempt to delete the old users dir. This works with the accounts, however, I can't delete the old users dir. The command returns that the folder is in use by another process. I imagine that this is the case because the form is submitted while the user is still logged into Imail. Could anyone suggest a solution to this problem please? Perhaps a way of logging off a user and then proceeding to run my perl script? Many thanks in anticipation of your help. Regards Roland -- Roland Corbet Systems Administrator & Developer Psyche Solutions Limited Chester Road Cradley Heath West Midlands B64 6AB Tel: + 44 (0)1384 414183 Ext. 4412 Fax: + 44 (0)1384 414111 E-Mail: [EMAIL PROTECTED] WWW: http://www.psychenet.co.uk The information contained within this e-mail sent by Psyche Solutions Ltd is confidential and is intended for the named recipient only. If you are not the intended recipient please notify us by telephone immediately on +44 (0)1384 414183 or return it to us by e-mail quoting the name of the sender and the addressee. Please then delete it from your system. Encryption and Viruses ================== Please note that this e-mail and any attachments have not been encrypted. They may therefore be liable to be compromised. Please also note that it is your responsibility to scan this e-mail and any attachments for viruses. Viruses and compromises of security are inherent risks in relation to e-mail. We do not, to the extent permitted by law, accept any liability (whether in contract, negligence or otherwise) for any virus infection and/or external compromise of security and/or confidentiality in relation to transmissions sent by e-mail. Contracts ======== Please note, that contracts may NOT be concluded on behalf of Psyche Solutions Ltd by e-mail, but contracts on behalf of our clients may be concluded by e-mail. 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/
