[Dovecot] Occasional error msgs from 1.0-test49

Timo Sirainen tss at iki.fi
Wed Oct 20 04:59:58 EEST 2004


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? ..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20041020/e850ae3f/attachment-0001.bin>


More information about the dovecot mailing list