AddDomain: Creates a new domain
o Return Type: GenericResult
o Parameters:
• AuthUserName: User name used to perform this function. Requires system
administrator privileges
• AuthPassword: Password for the username
• DomainName: The name of the domain to add
• Path: The storage location of the domain’s data
• PrimaryDomainAdminUserName: The username for the primary admin of this
domain
• PrimaryDomainAdminPassword: The password for the primary domain admin
• PrimaryDomainAdminFirstName: The first name of the primary domain admin
• PrimaryDomainAdminLastName: The last name of the primary domain admin
• IP: The IP address that this domain should listen on
• ImapPort: The port this domain should accept IMAP connections on
• PopPort: The port this domain should accept POP connections on
• SmtpPort: The port this domain should accept SMTP connections on
• MaxAliases: The maximum number of aliases this domain is allowed to have (0
= unlimited)
• MaxDomainSizeInMB: The maximum size this domain is allowed to occupy (0 =
unlimited)
• MaxDomainUsers: The maximum number of users this domain is allowed to
have (0 = unlimited)
• MaxMailboxSizeInMB: This parameter is no longer used
• MaxMessageSize: The maximum size of a message users on this domain are
allowed to send (0 = unlimited)
• MaxRecipients: The maximum number of recipients that are allowed in a single
email (0 = unlimited)
• MaxDomainAliases: The maximum number of domain aliases this domain is
allowed to have (0 = unlimited)
• MaxLists: The maximum number of mailing lists this domain is allowed to have
(0 = unlimited)
• ShowDomainAliasMenu: If this is set to false, domain administrators will not be
able to manage domain aliases
• ShowContentFilteringMenu: If this is set to false, users will not be able to use
content filtering
• ShowSpamMenu: If this is set to false, users will not be able to manage their
own spam settings
• ShowStatsMenu: This parameter is no longer used
• RequireSmtpAuthentication: If this is set to true, the domain will require SMTP
Authentication to relay emails
• ShowListMenu: If this is set to false, domain administrators will not be able to
manage mailing lists
• ListCommandAddress: This is the command address for mailing lists