On 20. May 2021, at 13.08, Eirik Rye <r...@trojka.no> wrote: > > > >> On 20 May 2021, at 12:31, Aki Tuomi <aki.tu...@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 '*'