Domain Restrictions

Domain Restrictions

Domain Limit Management enables a Global Administrator to define domain-level limitations that no Administrator may exceed. The only method to go over a Domain Limit is to modify the Domain Limit.

Available Domain Limits

The following types of domain limits can be configured on

  • Global Account Limit: The maximum number of accounts that can be created on this domain.

  • Domain Quota: The maximum mailbox quota that any Administrator can grant to a mailbox in the domain.

  • COS Limits: Define which Classes of Service can be used for users in the domain and the maximum number of users per Class of Service.

This functionality is currently only accessible via the Command Line Interface. As a result, the following commands can be used to change the values of these domain limitations

Edit the Limits of a Domain

To edit the limits of a domain through the CLI, use the setDomainSettings command.

zextras$ carbonio admin setDomainSettings *domain* [param \VALUE[,VALUE]]

Parameter List

NAME

TYPE

EXPECTED VALUES

DEFAULT

domain (M)

String

  

account_limit (O)

Integer

 

no action

domain_account_quota (O)

String

 

no action

reset_cos_limits (O)

String

cosname1:limit1, cosname2:limit2

no action

add_cos_limits (O)

String

cosname1:limit1, cosname2:limit2

no action

(M) == mandatory parameter, (O) – optional parameter

Usage Example

zextras$ carbonio admin setDomainSettings example.com account_limit \
100 domain_account_quota 100mb reset_cos_limits cos1:30,cos2:80

Sets a global account limit on the domain example.com of 100 accounts, with a domain account quota of 100 megabytes,

and with cos account limits of 30 for cos1 and 80 for cos2 (removing other cos settings).

Usage Example

zextras$ carbonio admin setDomainSettings example.com \add_cos_limits cos1:30

Sets cos account limits of 30 for cos1 (leaving other cos settings unchanged).

Reset the Limits of a Domain

To reset the limits of a Domain through the CLI, use the resetDomainSettings command:

zextras$ carbonio admin resetDomainSettings *domain*

Parameter List

NAME

TYPE

EXPECTED VALUES

DEFAULT

domain (M)

String

  

(M) == mandatory parameter, (O) – optional parameter

Usage Example

zextras$ carbonio admin resetDomainSettings