Did calculating the quota change from 2.3 to 2.5?

Marc Patermann hans.moser at ofd-z.niedersachsen.de
Tue Nov 29 09:24:33 EST 2016


Am 29.11.2016 um 13:26 Uhr schrieb Bron Gondwana via Info-cyrus:
> No, the quota calculations are identical.  It's possible that your
> quota was incorrectly calculated on the source server though.  A
> quota -f there should correct the calculations.
unluckily it does not.

quota -f on seems not to be related to the du counter on the old server 
in any way for some mailboxes.

First we create the mailbox on the new server and sync the quota.
Then imapsync syncs the messages.
Till the quota is exceeded …

oldserver> lq user.xxx
  STORAGE 658949/1250000 (52.71592%)

# du -sh /var/lib/imap/meta/user/xxx/
105M    /var/lib/imap/meta/user/xxx/
# du -sh /var/spool/imap/user/xxx/
1,2G    /var/spool/imap/user/xxx/

newserver> lq user.xxx
  STORAGE 1098788/1250000 (87.90304%)

# du -sh /var/spool/imap/user/xxx/
1,7G    /var/spool/imap/user/xxx/

There is no separate meta partition on the new server.
Meta data is about 500 MB now on the new server, this is about 5x the space.

I think quota is just plain wrong on the old server.

squatter file are huge in comparison now.
Is this right?


More information about the Info-cyrus mailing list