Roundcube Community Forum

 

disk usage doesn't match mysql mapping

Started by unclecameron, June 04, 2010, 06:11:07 PM

Previous topic - Next topic

unclecameron

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?

alec

Are you setting quota in kilobytes? Enable imap_debug and check logs/imap file.

unclecameron

#2
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.

alec

You should find something like this:

C: QUOT1 GETQUOTAROOT "INBOX"
S: * QUOTAROOT "INBOX" ""
S: * QUOTA "" (STORAGE 509758 1024000)
S: QUOT1 OK Getquotaroot completed.

unclecameron

[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?

alec

On your IMAP server. Roundcube just reads data returned by IMAP server, limits are stored in IMAP's database.