maildirsize calculation gives higher value than a real disk utilization

Timo Sirainen tss at iki.fi
Sun Jul 24 22:11:31 UTC 2016


On 21 Jul 2016, at 12:54, Andrea Lisci <andrelisci at gmail.com> wrote:
> 
> Hi,
> 
> hope someone can help also if this problem is difficult to debug
> 
> I have a mail account that has on file system 32GB however
> quotacalculation gives a higher value 41262146
> 
> I've already tried to:
> 
> - doveadm quota recalc -u user at domain

If after quota recalc the quota value is higher than "du" value, try with "du -l" instead. My guess it that the same emails have been copied to multiple folders with hard links. Dovecot counts each instance as its own mail, even though on filesystem they are deduplicated.



More information about the dovecot mailing list