The Public Folder quota limits are not being applied correctly.
Example Config:
WebAdmin
# Configure Quota Public Folder Public Folders on Domain example.com
Limit total public folders size to: = 3000000
Limit total number of messages to: = 499997
Limit each folder size to: = 1000000
Limit total number of messages per folder to: = 99998
# Configure Quota Public Folder Test on Domain example.com
Limit folder size to: = 500000
Limit total number of messages to: = 99999
# Configure Quota Domain commande.com.au
Limit total mailbox size to: = 5000000
Limit total number of messages to: = 100000000
Limit each folder size to: = 2000000
Limit total number of messages per folder to: = 9999999
.
The current IMAP response is :
a getquotaroot "~Public Folders/Test"
* QUOTAROOT "~Public Folders/Test" "~Public Folders/Test" ""
* QUOTA "~Public Folders/Test" (STORAGE 4 2000000 MESSAGE 1 10000000)
* QUOTA "" (STORAGE 728726 5000000 MESSAGE 64934 100000000)
a OK GETQUOTAROOT completed
Which is incorrect, 2000000 (Domain default folder limit) was returned instead of 500000 (This public folder limit). Also affecting the Message limit.
Also the users ‘quota root’ was included in the response for a query of the Public folder, This does not seem correct.
Expected IMAP response:
a getquotaroot "~Public Folders/Test"
* QUOTAROOT "~Public Folders/Test" "~Public Folders/Test"
* QUOTA "~Public Folders/Test" (STORAGE 4 500000 MESSAGE 1 99999)
a OK GETQUOTAROOT completed