Roundcube Community Forum

 

bad quota

Started by raj, June 23, 2011, 02:44:54 AM

Previous topic - Next topic

raj

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

SKaero

RoundCube asks the mail server for the quota so it sounds like your mail server is returning the wrong value.

raj

Ok, can you say me, where is script, or function, which do this asks? Thank you.

SKaero

I'm not familiar your mail server, it would probably be better to ask for support from the makers of your mail server.

raj

Sorry, I thinked where can I find in RoundCube script, which ask IMAP server for quota. No where is return on mail server side.

SKaero

Its done in /program/include/rcube_imap_generic.php in the getQuota function.

raj

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 /';