MailMsgQuota LDAP Attribute



 Syntax 

 directory string (UTF-8), single-valued 

 OID 

 2.16.840.1.113894.1009.1.101.0.1097.1.1 



Definition

Maximum number of messages permitted for a user is set with. This is a cumulative count for all folders in the store.

This attribute also can specify the number of messages allowed for a particular folder or message type.

Although  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.

If the  attribute is missing, the system default quota is used. This is defined by the  parameter.

During server configuration, quota enforcement must be turned on for  to take effect. Both soft and hard quotas can be set. (See the Sun Java System Messaging Server Administration Guide. )

The MTA option override is LDAP_MESSAGE_QUOTA.

To specify a mailMsgQuota value for the user&#x27;s entire mailbox tree, use the following format: mailMsgQuota: msgquota where  is the number of messages.

msgquota Values
Valid values for  are up to a maximum of 4294967292. Specifying a  value of 0 will mean that no mail will be delivered. You can also use the values shown in the following table:

Specifying Quotas for Folders and Message Types
To enable the quotas for individual folders or specific message types, enable (set to "1") either the  or   parameter.

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

Guidelines for Specifying Multiple Quota Values
You can specify the following  values for a user&#x27;s mailbox tree:



 Quota values for specific folders in the user&#x27;s mailbox 

 Quota values for specific message types such as voice mail or text    messages. A message type quota applies to messages of that type in    all folders in the user&#x27;s mailbox. 

 A default quota value that applies to all folders and message    types in the user&#x27;s mailbox that are not explicitly assigned     quotas. </li>

</ul>

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

<ul>

 Quotas do not overlap. For example, when there is a quota for a    particular message type or folder, messages of that type or     messages in that folder are not counted toward the default     quota. Each message counts toward one and only one quota. </li>

 The total quota for the whole user mailbox equals the sum of the    values of all the quotas specified by default, type, and folder. </li>

 Message type quotas take precedence over folder quotas. For    example, suppose one quota is specified for a user&#x27;s memos folder     and another quota is specified for voice messages. Now suppose the    user stores eight voice messages in the memos folder. The eight    messages are counted toward the voice-mail quota and excluded from     the memos folder quota. </li>

</ul>

Formatting Quota Values for Folders and Message Types
To specify mailMsgQuota values for folders or message types, use the following format: mailMsgQuota: {msgquota}&#x5b;;{name}%{msgquota}&#x5d;... where

{msgquota} is the number of messages. For a description of the valid numeric values, see msgquota 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
<ul>

 The first {msgquota} in the syntax shown previously--that is, the    first quota value entered after the mailMsgQuota attribute--does     not have a name. This value represents the default quota for all    folders in the user&#x27;s mailbox that are not explicitly assigned     quotas. The default value applies to all the unnamed folders    combined, not individual folders. </li>

 A message-type name starts with a pound sign ("#"). </li>

 A folder name does not start with a pound sign ("#"). </li>

 The "%" and "#" signs are not allowed in folder names or    message-type names. </li>

</ul>

Example
To specify a quota of 2,000 messages: mailMsgQuota: 2000 To specify the system default quota, do not add mailMsgQuota to the LDAP entry. Or you can use the following value: mailMsgQuota: -2 To specify a default quota of 2,000 messages for all user folders not explicitly assigned a quota; a voice-message quota of 100 messages; and a quota for the Archive folder of 4,000 messages: mailMsgQuota: 2000;#voice%100;Archive%4000 In the preceding example, the 2,000 message default quota includes messages in all user folders except the Archive folder; it also excludes voice messages. The 100 message voice-mail quota includes voice messages in all user folders, including the Archive folder. The 4,000 message Archive-folder quota includes messages in the Archive folder and its subfolders; it includes messages of all types except voice messages.