Situation to reproduce:
- I use ACL to share folders between two users in RC1.0.1.
- user1 max. mailbox quota is set to 1GB, the current mailbox size of user1 is 15MB
- user2 max. mailbox quota is set to 10MB, the current mailbox size of user1 is 10kB
- user1 shares the folder 'shared_folder' to user2 with all rights (read, write ...), 'shared_folder' is a child of 'INBOX'
- user2 has subscribed to 'shared_folder'
- for both users the max. mailbox quotas and the current quota level is beeing displayed correct in the bottom left corner of the RC GUI
Problem:
- user2 tries to move a mail (20kB) to the shared folder. This produces a RC-error message 'errorroverquota'.
- It seems that moving the mail fails, because the current 'INBOX' mailbox size of user1, which is 15MB is higher then the max. mailbox quota of user2, which is 10MB.
- moving the same mail to a local folder of user2 works without problems.
- After I raised the max. mailbox quota of user2 from 10MB to 16MB it was possible to move the mail to the 'shared_folder' of user1.
Now it looks like this:
Prior to a move of a mail from user2 to 'shared_folder' of user1, RC sums up the size of the virtual parent folders from user1 (The tree in the folder list of user2 is: shared\user1\INBOX\shared_folder) and calculates the overall folder size including the INBOX of user1. This is compared to the max. quota of user2.
This is wrong.
It should work like this:
Prior to move a mail from user2 to a shared folder of user1, RC needs to check if the quota of user1 is exceeded. If yes, the operation can fail. If no, the operation ca be performed.
PS:
again please note, that the quota and the current level are beeing displayed correct in the bottom left corner. So this does not seem to be a configuration issue.
I hope you could follow. Could you pls confirm if this is a bug or if I'm missing something.
Thx
n0v1s