On 10/01/2025 17:06 EET Timo Sirainen via dovecot <dovecot@dovecot.org> wrote:
On 7. Jan 2025, at 17.07, Ewald Dieterich via dovecot <dovecot@dovecot.org> wrote:
I run Dovecot 2.3.21 with the mdbox mailbox format.
Likely happens with all mailbox formats, at least also with sdbox.
If I do a certain partial fetch on a mail with a single carriage return \r Dovecot closes the connection and logs the following error:
Error: Mailbox INBOX: Deleting corrupted cache record uid=1: UID 1: Broken virtual size in mailbox INBOX: read(/var/spool/dovecot/user/storage/m.1): FETCH BODY[]<18.100> got too little data: 5 vs 6
Thanks, I can reproduce. I'll look into fixing it later. Tracking in DOP-3706.
Hi!
This has been fixed with https://github.com/dovecot/core/compare/fc88314aa45ca751d7d83d1307d46e11cfbe...
Aki Tuomi