The
addomain.exe works by creating local registry entries. I believe that you will
find the entry created on your workstation under the
[HKEY_LOCAL_MACHINE\SOFTWARE\Ipswitch\IMail\Domains] key. So, it does exist,
just not on the server, only on your workstation. There is a .vbs script
included in the Microsoft 2000 Server Resource Kit that will allow remote
execution of a command (exec.vbs), you will have to use this if you want to
launch a command line program from a local shell (dos-prompt) that executes on a
remote system. To run the vbs script you will have to have the appropriate
administrative rights.
There
are propably easier ways to accomplish your functional goal, but I am
providing you an answer based on the constraints of your question. Email me
offline if you want a better answer.
-----Original Message-----
From: Serhan Sevim [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 17:53
To: [EMAIL PROTECTED]
Subject: [IMail Forum] Weird problem [adddomain.exe , adduser.exe]Hey guys,We're currently using Imail 7.06 HF1. What we're trying to do is, running the builtin adddomin.exe and adduser.exe commands remotely.Well, the problem is simple. They only work if they're executed within the Imail server computer inside.Not remotely executed..I'm trying to apply the command from the client computer to the Imail server, and the command line goes like this.\\Hostname_of_the_Imail_Server\Imail\adddomain.exe -h test1.com -i VIRTUALIf I execute this command in the Imail machine, then It all works fine, it creates the virtual domain, etc..However, If I try to execute it via a client computer, then one line goes blank (as of successful command) and I check the mail administrator for Imail and there is nothing in there.. Absolutely nothing.. Not even in the registry..NOW, things get even funnier after that, If apply the same command again from the remote client, it replies me back with an errror saying "ERROR : test1.com exists! "It behaves like it created the virtual domain, and gave me the error above..but there is absolutely nothing in the Imail server..Any idea what might cause this to happen ?Thank you.Serhan.
