The example described in this section sets the following quotas for the user joe:
The default mailbox storage quota is 40 M
The default mailbox message quota is 5000
The storage quota for the Archive folder is 100M
The storage quota for text message types is 10 M
The message quota for text message types is 2000
The storage quota for voice message types is 10 M
The message quota for voice message types is 200
This quota root permits greater storage in the Archive folder (100 M) than in all the other folders and message types combined (60 M). Also, no message limit is set for the Archive folder; in this example, only storage limits matter for archiving.
The message types have both storage and number-of-message quotas.
The message-type quotas apply to the sum of all messages of those types, whether they are stored in the Archive folder or in any other folder.
The default mailbox quotas apply to all messages that are not text or voice message types and are not stored in the Archive folder. That is, the message-type quotas and Archive quota are not counted as part of the default mailbox quotas.
To set the quota root in this example, you would take the following steps:
Configure the store.messagetype.x.quotaroot parameter as follows:
store.messagetype.1.quotaroot = text store.messagetype.2.quotaroot = voice
Configure the mailQuota attribute for the user joe as follows:
Configure the mailMsgQuota attribute for the user joe as follows:
When you run the getquotaroot IMAP command, the resulting IMAP session displays all quota roots for the user joe's mailbox, as shown here:
1 getquotaroot INBOX * QUOTAROOT INBOX user/joe user/joe/#text user/joe/#voice * QUOTA user/joe (STORAGE 12340 20480 MESSAGE 148 5000) * QUOTA user/joe/#text (STORAGE 1966 10240 MESSAGE 92 2000) * QUOTA user/joe/#voice (STORAGE 7050 10240 MESSAGE 24 200) 2 getquotaroot Archive * QUOTAROOT user/joe/Archive user/joe/#text user/joe/#voice * QUOTA user/joe/Archive (STORAGE 35424 102400) * QUOTA user/joe/#text (STORAGE 1966 10240 MESSAGE 92 2000) * QUOTA user/joe/#voice (STORAGE 7050 10240 MESSAGE 24 200)