Sun Java System Messaging Server 6.3 Administration Guide

20.8.4.2 To Specify Individual User Quotas

Each user can have individualized quotas. To set user-specific quotas, set the mailQuota in Sun Java Communications Suite 5 Schema Reference or mailMsgQuota in Sun Java Communications Suite 5 Schema Reference attributes in the user’s LDAP entry (see configutil Parameters in Sun Java System Messaging Server 6.3 Administration Reference for complete details). The following examples show how to set user quotas.

To specify the system default quota, do not add mailQuota to the LDAP entry, or set it to –2.

To set the quota to 1,000 messages set mailMsgQuota to 1000.

To set the quota to two megabytes set mailQuota to 2M or 2000000.

To set the quota to two gigabytes, set mailQuota to 2G or 2000000000 or 2000M.

To specify a 2 Gigabyte quota; a 20 Megabyte voice mail quota; and a 100 Megabyte quota for the Archive folder:

mailQuota: 2G;#voice%20M;Archive%100M

The two gigabyte quota represents all folders in the user's mailbox that are not explicitly assigned quotas. In this example, that excludes messages in the Archive folder, and messages of type voice. The 100 Megabyte quota includes messages in any folders within the Archive folder