Hi!

I will answer my own question, because it might be useful for someone.

The issue is because of dovecot.
In the dovecot.conf we can change the following:

protocol imap {
mail_plugins = quota
}

protocol pop3 {
mail_plugins = quota
}

This way the connections through imap and pop3 will make changes to the maildirsize file correctly.

So problem solved :-)

Regards,
Daniel


2010/5/30 Daniel <dandadude@gmail.com>
Hi guys!

I also have issue with the "maildirsize" file, that doesn't change when deleteing mails through IMAP.
I googled around, and found similar problems with other installations.

Is there a resolution to this?

This is what happened exatly:
- I ste 5 MB limit for a user
- I have sent 6 1MB files to that user, so the quota exceeded
- I deleted every mail from the user's account

What happens:
- maildirsize doesn't change from the deletion
- the use can't receive mail, although everything has been deleted

Pretty annoying, is there a resolution?

Thanks in advance!

Regards,
Daniel