I would recommend using the command line apps that come with IMail to do the initial setup, then tweak the settings as needed via the registry.
Darin. ----- Original Message ----- From: "Stib" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, October 10, 2005 12:16 PM Subject: [IMail Forum] IMAIL script new host with VB Hi Everyone! I wonder if someone have som example, preferable in VB so I can continue develop my automatic script for setting up Imail 8 hosts. I have script up my DNS, Ftp and IIS settings so it all works, but I haven't got to Imail yet. I do this from a remote computer using Set objLocator = server.CreateObject("WbemScripting.SwbemLocator") Set Mail1 = objLocator.ConnectServer("SERVERNAME", "root\cimv2", "USERACCOUNT", "USERPASSWORD") Does anyone have an idea on how I can set up a host and add a useraccount to this? I guess it is a Regsetting, but it sweams like I need both to set $virtualXXX (Is there then an easy way to get next available #?) and then the domainname and the sub Users. Any ideas is greatfully accepted :P Regards Pelle 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/
