EAddDomain.exe
DomainName - Name of the mail domain.
IpAddress - IP address of the mail domain.
MailBoxDirectory - Full path to the directory where the mails for this mail domain should be stored.
MaxMailBoxes - Maximum number of mailboxes allowed for this mail domain.
MailDomainOwner - Owner of this mail domain. This user is same as the site administrator.
MailDomainOwnerPassword - Plain text password for the owner of the mail domain specified by MailDomainOwner parameter.
ipsite - Value is equal to "1" for an IP-based site and "0" for a name-based site.
EnableMailingLists - Value is equal to "1" for enabling and "0" for disabling.
EnableDomainAliases - Value is equal to "1" for enabling and "0" for disabling.
EnableDistributonLists - Value is equal to "1" for enabling and "0" for disabling.
EnableSpamFilters - Value is equal to "1" for enabling and "0" for disabling.
EnableUserAliases - Value is equal to "1" for enabling and "0" for disabling.
EnableForwards - Value is equal to "1" for enabling and "0" for disabling.
EnableAutoResponders - Value is equal to "1" for enabling and "0" for disabling.
EnableWebAccess - Value is equal to "1" for enabling and "0" for disabling.
The API adds the mail domain and the user specified by MailDomainOwner on the mail domain, and sets the catchrest alias for the mail domain to point to this user. It also sets the properties of the mail domain according to the remaining parameters passed to it.
If you want to set the number of mailboxes to unlimited, the value of the MaxMailBoxes parameter should be "-1". This value is also valid in the backward compatibility mode.
For more information on the backward compatibility mode, see Backward compatibility for existing mail add-ons.