On 20.10.2004, at 03:16, Gregory Bond wrote:
Imapd: * 6056 FETCH (BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-1") NIL NIL "7bit" 796 22 NIL NIL NIL) UID 90309) Imapd: 10 OK Fetch completed.
So the message body is 796 bytes.
Client:11 UID fetch 90309 (UID RFC822.SIZE BODY[]<0.10240>)
And Thunderbird requests first 10240 bytes of the message.
Imapd: * 6056 FETCH (BODY[]<0> {2064}
But gets only 2064 bytes because header + body is only 2064 bytes long.
Client: 12 UID fetch 90309 (UID RFC822.SIZE BODY[]<10240.-8176>)
Then it's requesting next -8176 next bytes (10240 - 8176 = 2064). So for some reason it's thinking the message is larger then 10240 bytes and messes up the calculations.
Does Dovecot ever reply wrong message size for RFC822.SIZE request? ..