[Dovecot] maildirsize having incorrect content, how to recreate/correct?

Timo Sirainen tss at iki.fi
Tue Aug 10 14:57:41 EEST 2010


On 10.8.2010, at 10.45, Thomas von Eyben wrote:

> How can I rebuild the maildirsize and why might it be wrong in the
> first place(?)
> Will the maildirsize files be regenerated if deleted and when will
> this then happen ( at the next time of the user logging in or…)

Yes, deleting will cause it to be rebuilt when quota is next used (e.g. new mail is delivered or client issues GETQUOTA command or something).

> I also have one (perhaps more) user with one line having a negative
> value in maildirsize (-138204393 -2294) how can that happen

See if it keeps happening.. maildirsize in general isn't 100% reliable, but it shouldn't be far off from the actual usage.



More information about the dovecot mailing list