Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: unclecameron on June 04, 2010, 06:11:07 PM

Title: disk usage doesn't match mysql mapping
Post by: unclecameron on June 04, 2010, 06:11:07 PM
I have postfix-mysql with mysql virtual maps for quota size. When I increased mailbox size (in mysql) from 100M to 1G it worked and reflected in roundcube, but when I try to increase the size to 10G, roundcube doesn't see it so it gives 100% disk usage still based on 1G. Is there some max space in roundcube? Where does roundcube look to get its information about disk usage?
Title: disk usage doesn't match mysql mapping
Post by: alec on June 05, 2010, 02:56:48 AM
Are you setting quota in kilobytes? Enable imap_debug and check logs/imap file.
Title: disk usage doesn't match mysql mapping
Post by: unclecameron on June 07, 2010, 12:47:15 PM
quota is set with no suffix denoting k/m/g, it's the raw #

I enabled debug, and haven't found anything interesting in logs/imap, what am I looking for in there? I've searched in vi for "quota" "disk" and "usage".

Other data point: I can continue to smtp new message to the mailbox owner's maildir without any warnings from Postfix, and they could POP them if needed just fine.
Title: disk usage doesn't match mysql mapping
Post by: alec on June 08, 2010, 02:13:25 AM
You should find something like this:

C: QUOT1 GETQUOTAROOT "INBOX"
S: * QUOTAROOT "INBOX" ""
S: * QUOTA "" (STORAGE 509758 1024000)
S: QUOT1 OK Getquotaroot completed.
Title: disk usage doesn't match mysql mapping
Post by: unclecameron on June 08, 2010, 06:47:08 PM
[07-Jun-2010 09:38:54 -0700]: C: QUOT1 GETQUOTAROOT "INBOX"
[07-Jun-2010 09:38:54 -0700]: S: * QUOTAROOT "INBOX" "ROOT"
[07-Jun-2010 09:38:54 -0700]: S: * QUOTA "ROOT" (STORAGE 146323 98131)
[07-Jun-2010 09:38:54 -0700]: S: QUOT1 OK GETQUOTAROOT Ok.

I presume that says that the storage limit is 98131 and current usage is 146323? Where does roundcube get these numbers and how can I can I increase them?
Title: disk usage doesn't match mysql mapping
Post by: alec on June 09, 2010, 03:35:02 AM
On your IMAP server. Roundcube just reads data returned by IMAP server, limits are stored in IMAP's database.