Author Topic: disk usage doesn't match mysql mapping  (Read 3566 times)

Offline unclecameron

  • Newbie
  • *
  • Posts: 3
disk usage doesn't match mysql mapping
« 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?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,367
disk usage doesn't match mysql mapping
« Reply #1 on: June 05, 2010, 02:56:48 AM »
Are you setting quota in kilobytes? Enable imap_debug and check logs/imap file.

Offline unclecameron

  • Newbie
  • *
  • Posts: 3
disk usage doesn't match mysql mapping
« Reply #2 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.
« Last Edit: June 07, 2010, 12:52:01 PM by unclecameron »

Offline alec

  • Hero Member
  • *****
  • Posts: 1,367
disk usage doesn't match mysql mapping
« Reply #3 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.

Offline unclecameron

  • Newbie
  • *
  • Posts: 3
disk usage doesn't match mysql mapping
« Reply #4 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?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,367
disk usage doesn't match mysql mapping
« Reply #5 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.