IMAP Does Not Take a Folder Quota Setting into Account. (Doc ID 1486494.1)

Last updated on SEPTEMBER 14, 2016

Applies to:

Oracle Communications Messaging Server - Version 7.0.4 and later
Information in this document applies to any platform.

Symptoms

After setting a Folder Quota on an individual user, when you verify that quota setting via IMAP protocol (e.q using getquotaroot <folder>) you notice that IMAP does not take the quota setting into account. Instead, imapd is using a default quota setting.

For example:

1. You set a folder quota for user "A" something like this

Default -> 50M
INBOX -> 20M
Sent-> 10M

2. Verify the quota configuration from LDAP entries and imquotacheck command https://docs.oracle.com/cd/E63708_01/doc.801/e63711/msadm_imquotacheck.htm#MSVAG2234

User "A" has the appropriate value for the mailQuota, https://docs.oracle.com/cd/E63708_01/doc.801/e63711/msadm_imquotacheck.htm#MSVAG2234 , attribute on his LDAP such as: mailQuota: 50M;INBOX%20M;Sent%10M

And by using "imquotacheck" the quota setting can be shown as follows:

./imquotacheck -u A
Name                 Quota(K) Usage(K)  %   Quota#  Usage#  %  OverDate WarnDate
-------------------- -------- -------- --- ------- ------- --- -------- --------
A                       51200       26   0    2000      26   1        -        -
A/INBOX                 20480        0   0       -       0   -        -        -
A/Sent                  10240        0   0       -       0   -        -        -
--------------------------------------------------------------------------------

 
3. And now lets verify the folder quota from an IMAP protocol

Use "getquotaroot <folder>" IMAP command in order to query the specific folder quota.

On this following IMAP communication shows that "getquotaroot" does not return a correct folder quota setting. Instead, it returns a dafault quota setting

# telent messaging-server.domain.com 143
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 ID IDLE XREFRESH AUTH=PLAIN] ash-ucs01.domain.com IMAP4 service (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011))
x1 login A password
x1 OK User logged in
X3 getquotaroot inbox
* QUOTAROOT inbox user/A
* QUOTA user/A (STORAGE 26 51200 MESSAGE 26 2000)
X3 OK Completed
x7 getquotaroot Sent
* QUOTAROOT Sent user/A
* QUOTA user/A (STORAGE 26 51200 MESSAGE 26 2000)
x7 OK Completed
x0 logout
* BYE LOGOUT received
x0 OK Completed

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms