Alvin,

I had the same problem. The only way around the host administrator is to
set the proper code in the Registery. I have included a snippet of my script 
for doing that below:

'
' Set the Host Administrator Flag for the main Mail User
'

Set WSHShell = CreateObject("WScript.Shell")
DisplayMsg "HKLM\Software\Ipswitch\Imail\Domains\" & sDomainName & "\users\" 
& sHostName & "\flags"
sKeyValue = WSHShell.RegRead( "HKLM\Software\Ipswitch\Imail\Domains\" & 
sDomainName & "\users\" & sHostName & "\flags")
sKeyValue = sKeyValue OR &H100
WSHShell.RegWrite"HKLM\Software\Ipswitch\Imail\Domains\" & sDomainName & 
"\users\" & sHostName & "\flags", sKeyValue, "REG_DWORD"

sDomainName = The virtual domain name
sHostName = the name of the primary e-mail user for a virtual domain


I hope this helps you.

Ron Charlton


>From: "Cyber World Internet Services" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: [IMail Forum] Automated Scripts
>Date: Thu, 11 May 2000 14:36:50 -0700
>
>Does anyone know if Ipswitch has a new utility out as yet that will allow 
>you to automatically make the users that are added through the addusers 
>utility, host administrators.  We can add the users with their current 
>utility, but to get them to be a host admin we have to do that manually 
>with the user manager.
>
>Also does anyone have Imail server running with more than 1000 sites.  We 
>currently have about 1500 Virtual sites on our Imail server and it works 
>fine, but we want to know if we can contnue adding without iot starting to 
>have problems.
>
>Any input on both subjects would be greatly appreciated.
>
>Best regards
>
>Alvin Slocombe
>
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to