Roundcube Community Forum

Release Support => Pending Issues => Topic started by: raj on June 23, 2011, 02:44:54 AM

Title: bad quota
Post by: raj on June 23, 2011, 02:44:54 AM
Hello,

we have problem with bad quota. Mail server is Icewarp. RoundC is couting only with INBOX, but we have other folders in some level (Sent, Trash...) If I move all mails from Sent to Inbox, so quota is OK. Any fix? Thank you

Pavel
Title: bad quota
Post by: SKaero on June 23, 2011, 05:35:29 AM
RoundCube asks the mail server for the quota so it sounds like your mail server is returning the wrong value.
Title: bad quota
Post by: raj on June 23, 2011, 05:38:46 AM
Ok, can you say me, where is script, or function, which do this asks? Thank you.
Title: bad quota
Post by: SKaero on June 24, 2011, 10:09:38 AM
I'm not familiar your mail server, it would probably be better to ask for support from the makers of your mail server.
Title: bad quota
Post by: raj on June 24, 2011, 10:16:47 AM
Sorry, I thinked where can I find in RoundCube script, which ask IMAP server for quota. No where is return on mail server side.
Title: bad quota
Post by: SKaero on June 24, 2011, 10:26:16 AM
Its done in /program/include/rcube_imap_generic.php in the getQuota function.
Title: bad quota
Post by: raj on June 26, 2011, 04:02:14 AM
Thank you so much! Problem was here... You have there :

$command     = $key . ' GETQUOTAROOT INBOX';

Problem is, that this get quota from folder INBOX and subfolders, but no from other folders, which are on same level. Command bellow is solution for this problem - this return complete quota.

$command     = $key . ' GETQUOTAROOT /';