The 20 Minute E-mail Solution!
TOC PREV NEXT INDEX

Adding Virtual Hosts (adddomain.exe)


Addomain.exe is a utility for adding virtual hosts. It can be used to simply add a single host, but is especially useful in a batch file to add multiple hosts.

Basic Command Syntax and Example

adddomain -h Hostname -i IPAddress -t TopDir 
     [-a Aliases -uIM | NT -x MaxMBXSize -s MaxMBXMsgs -rMaxUsers 
adddomain -hHostname -m 
     [-tTopDir -aAliases -xMaxMBXSize -sMaxMBXMsgs -rMaxUsers] 
adddomain -hHostname -delete 
adddomain -fFilename 

where:
Command Option Function
-h Fully qualified host name; if modifying must match IMail official host name
-i IP address or VIRTUAL for IP-less host
-t Path (full or relative to IMail TopDir) to top directory for domain
-m Flag to modify settings instead of creating them
-a Alias list for host
-u User data base to use (IMail or NT)
-x Default max mailbox size (in bytes)
-s Default max number of messages for mailbox
-f Path to file with settings to modify/change
-r Maximum number of users on this host
-delete Remove virtual host

Note: AddDomain.exe does not warn when assigning already used IP addresses to new hosts. Assigning an already used IP address to another host will orphan the original host without warning.



Ipswitch, Inc.
http://www.ipswitch.com
TOC PREV NEXT INDEX
©Ipswitch 2004