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
RoundCube asks the mail server for the quota so it sounds like your mail server is returning the wrong value.
Ok, can you say me, where is script, or function, which do this asks? Thank you.
I'm not familiar your mail server, it would probably be better to ask for support from the makers of your mail server.
Sorry, I thinked where can I find in RoundCube script, which ask IMAP server for quota. No where is return on mail server side.
Its done in /program/include/rcube_imap_generic.php in the getQuota function.
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 /';