Sun Java Communications Suite 5 Schema Reference

mailQuota

Origin

Messaging Server 5.0

Syntax

integer, single-valued

Object Classes

inetMailUser, mailDomain

Definition

Specifies, in bytes, the amount of disk space allowed for the user’s mailbox.

This attribute also can specify the amount of disk space allowed for a particular folder or message type.

Although mailQuota is a single-valued attribute, you can use it to specify multiple quota values. You can set individual quota values for specific folders and message types. For details, see Specifying Quotas for Folders and Message Types.

For a description of the numeric values for specifying quotas, see quota Values.

If the mailQuota attribute is not specified, the system default quota is used. The system default is specified in the server configuration parameter store.defaultmailboxquota. Setting the configuration parameter store.quotaenforcement to ”on’ causes the message store to enforce the quota.


Note –

LDAP_DISK_QUOTA is the MTA option used to specify a different attribute name for this function.


To specify a mailQuota value for the user's entire mailbox tree, use the following format:


mailQuota: quota

where

quota is the number of bytes.

quota Values

Valid numeric values for quota are

pos_num[G|M|K] or -1 or -2.

where pos_num is a positive number up to a maximum of 4294966272

and G (gigabytes), M (megabytes), and K (kilobytes) are the valid units of measurement.

You can specify the full quota value as a positive number by itself (for example, 20000000) or use a unit of measurement (for example, 20M).

The maximum quota value of the user mailbox is 4096G.

Specifying a quota value of 0 will mean that no mail will be delivered.

You can also use the values shown in the following table.

Table 3–16 quota Values

Value  

Meaning  

-1

No limit on space usage allowed 

-2

Use system default quota 

Specifying Quotas for Folders and Message Types

To enable the quotas for individual folders or specific message types, you must run the configutil command with the parameters store.quotafolder.enable and store.typequota.enable.

To enable and configure message types, you also must enable the configutil parameter store.messagetype.enable and configure other configutil parameters.

Guidelines for Specifying Multiple Quota Values

You can specify the following mailQuota values for a user's mailbox tree:

The following guidelines apply when you assign multiple quota values for a user:

Formatting Quota Values for Folders and Message Types

To specify mailQuota values for folders or message types, use the following format:


mailQuota: {quota}[;{name}%{quota}]...

where

{quota} is the number of bytes. For a description of the allowed numeric values, see quota Values.

{name} is the name of the folder or message type.

The semicolon (“;” ) is a separator that separates multiple quota values.

The percent sign (“%”) associates a folder or message-type name with the quota value that follows it.

Additional Formatting Guidelines for Quota Values

Example

To specify a quota of 4 gigabytes for the user mailbox:

mailQuota: 4G

To specify the system default quota, do not add mailQuota to the LDAP entry. Or you can use the following value:

mailQuota: -2

To specify a 20 MB default quota for all user folders not explicitly assigned a quota; a 10 MB voice-message quota; and a 100 MB quota for the Archive folder:

mailQuota: 20M;#voice%10M;Archive%100M

In the preceding example, the 20 MB default quota includes messages in all user folders except the Archive folder; it also excludes voice messages. The 10 MB voice-message quota includes voices messages in all user folders, including the Archive folder. The 100 MB Archive folder quota includes messages in the Archive folder and its subfolders; it includes messages of all types except voice messages.

OID

2.16.840.1.113730.3.1.21