Eirik Rye
2021-May-20 11:08 UTC
Dovecot v2.3.13 reporting (very) incorrect vsize for some maildir folders
> On 20 May 2021, at 12:31, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > > Hi! > > Quota will count only virtual size of mails (and not directories) and that will likely never match with du -bs, which counts for things more than just the mail contents.Right, but the quota/vsize of the folder in my example is calculated by Dovecot to be ~14GB, while the real physical size of the whole directory is ~6.8GB. Dovecot thinks the folder is twice as big than it actually, physically is. :/ - Eirik
Timo Sirainen
2021-May-20 11:44 UTC
Dovecot v2.3.13 reporting (very) incorrect vsize for some maildir folders
On 20. May 2021, at 13.08, Eirik Rye <rye at trojka.no> wrote:> > > >> On 20 May 2021, at 12:31, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: >> >> Hi! >> >> Quota will count only virtual size of mails (and not directories) and that will likely never match with du -bs, which counts for things more than just the mail contents. > > Right, but the quota/vsize of the folder in my example is calculated by Dovecot to be ~14GB, while the real physical size of the whole directory is ~6.8GB. Dovecot thinks the folder is twice as big than it actually, physically is. :/You can also look at the folder-level vsizes to see which one is causing the differences (or are they all doubled?) doveadm mailbox status -u user vsize '*'