I was researching deeper this issue, activated debug logs and when I move a message from one folder to another the message size is different
Jan 30 18:48:07 imap(xxx@xxx): Info: copy from INBOX: box=INBOX.Sent, uid=17, msgid=<5520ed0fedee4e3386d08c98d249ad31@lab.imap>, size=1048 Jan 30 18:48:07 imap(xxx@xxx): Info: expunge: box=INBOX, uid=3, msgid=<5520ed0fedee4e3386d08c98d249ad31@lab.imap>, size=1898
This is exactly the sizes I see in the maildirsize. But I think these values should be equals.
1073741824S
2136 1
1048 1
-1898 -1
Att Fernando
De: fernando.figaro@uol.com.br Enviada: Quarta-feira, 15 de Janeiro de 2014 15:11 Para: dovecot@dovecot.org Assunto: [Dovecot] possible quota bug ?
Hi,
I'm using dovecot 2.2.5 with quota (maildir backend), zlib and expunge plugins.
When I list maildirsize file, I get:
1073741824S 17952 16
If I receive a new message (example: 1204 bytes compressed and 2524 bytes plain text), the quota file is write correctly (2524 1 entry). When I move the message to trash folder (or between user custom folders) the file have wrong entries:
1073741824S 17952 16 2524 1 1204 1 (this is the size of the compressed message) -2524 -1
I coudn't find any relation with the config settings causing this problem and checked the changelog since 2.2.5. Had someone had this same problem?
Thanks, Fernando