[Dovecot] possible quota bug ?
fernando.figaro at uol.com.br
fernando.figaro at uol.com.br
Sun Feb 9 17:32:48 UTC 2014
Hi Timo,
I'm posting more info about this issue:
Sent a message from gmail, delivered via lmtp/lda/sieve
-rw------- 1 vmail vmail 1187 Feb 9 15:14 1391966051.M730051P32575.LAB-STO-V-01,S=2392,W=2440
The message was compressed (gz)
Maildirsize:
1073741824S
51505 31
2392 1
Move message from INBOX to TRASH
Feb 9 15:15:45 LAB-LMB-V-01 dovecot: imap(xxx): copy from INBOX: box=INBOX.Trash, uid=27, msgid=<CAB=TBLwMfSBGWSQ-W6H6VLmkXvEiK66am=bOseH=SUDGiGHaHw at mail.gmail.com>, size=1187
Feb 9 15:15:45 LAB-LMB-V-01 dovecot: imap(xxx): expunge: box=INBOX, uid=32, msgid=<CAB=TBLwMfSBGWSQ-W6H6VLmkXvEiK66am=bOseH=SUDGiGHaHw at mail.gmail.com>, size=2392
Maildirsize:
1073741824S
51505 31
2392 1
1187 1
-2392 -1
De: tss at iki.fi
Enviada: Sexta-feira, 7 de Fevereiro de 2014 15:07
Para: dovecot at dovecot.org
Assunto: [Dovecot] possible quota bug ?
On 30.1.2014, at 16.30, fernando.figaro at uol.com.br wrote:
> 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 at xxx): Info: copy from INBOX: box=INBOX.Sent, uid=17, msgid=<5520ed0fedee4e3386d08c98d249ad31 at lab.imap>, size=1048
> Jan 30 18:48:07 imap(xxx at xxx): Info: expunge: box=INBOX, uid=3, msgid=<5520ed0fedee4e3386d08c98d249ad31 at lab.imap>, size=1898
>
> This is exactly the sizes I see in the maildirsize. But I think these values should be equals.
Yes, they should be equal. I don't know why they wouldn't be. Do your Maildir filenames contain the S=1898 (i.e. the uncompressed size)? Are you delivering mails via Dovecot LDA/LMTP?
>
> 1073741824S
> 2136 1
> 1048 1
> -1898 -1
>
> Att
> Fernando
>
>
> De: fernando.figaro at uol.com.br
> Enviada: Quarta-feira, 15 de Janeiro de 2014 15:11
> Para: dovecot at 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
>
More information about the dovecot
mailing list