Sun Java Communications Suite 5 Schema Reference

mailMsgQuota

Origin

Messaging Server 5.0

Syntax

integer, single-valued

Object Classes

inetMailUser

Definition

Maximum number of messages permitted for a user is set with mailMsgQuota. 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 mailMsgQuota 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 mailMsgQuota attribute is missing, the system default quota is used. This is defined by the configutil parameter store.defaultmessagequota.

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

The MTA option override is LDAP_MESSAGE_QUOTA.

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


mailMsgQuota: msgquota

where

msgquota is the number of messages.

msgquota Values

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

Table 3–14 MsgQuota Values

Value  

Meaning  

-1

No limit on number of messages 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 mailMsgQuota 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 mailMsgQuota values for folders or message types, use the following format:


mailMsgQuota: {msgquota}[;{name}%{msgquota}]...

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

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.

OID

2.16.840.1.113730.3.1.774