My questions are: who updates the maildirsize to show the right values?,
Whoever tries to add more mail to it.
Hmm, maildrop is adding lines to maildirsize, I assume that each line
indicates the size of the incoming message and if it needs to be added to
the count, and courier-imap is doing a substraction. But I'm still having
this on that file: