Question about bodystructure answer on cyrus 2.2.13 (debian etch)

Thomas Cataldo thomas.cataldo at aliasource.fr
Tue Sep 30 17:04:44 EDT 2008


Hi,

I am writing an imap client library and I am confusing by one cyrus response.

Here is my telnet dialog with cyrus on a test server :

Trying 10.0.0.5...
Connected to 10.0.0.5.
Escape character is '^]'.
* OK obm Cyrus IMAP4 v2.2.13-Debian-2.2.13-10 server ready
A1 login thomas at zz.com aliacom
A1 OK User logged in
A2 select inbox
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk NonJunk
$MDNSent receipt-handled $Label1 $Forwarded $label2)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk
NonJunk $MDNSent receipt-handled $Label1 $Forwarded $label2 \*)]
* 489 EXISTS
* 0 RECENT
* OK [UNSEEN 2]
* OK [UIDVALIDITY 1197326009]
* OK [UIDNEXT 5263]
A2 OK [READ-WRITE] Completed
A3 uid fetch 4826 (BODYSTRUCTURE)
* 78 FETCH (UID 4826 BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET"
"ISO-8859-1" "FORMAT" "flowed") NIL NIL "8BIT" 137 8 NIL NIL
NIL)("MESSAGE" "RFC822" ("NAME*" {147}
ISO-8859-1''%6A%27%61%69%20%6C%61%6E%63%E9%20%75%6E%65%20%67%72%6F%73%73%65%20%69%6D%70%72%65%73%73%69%6F%6E%20%73%75%72%20%4C%50%32%33%30%30%52%56)
NIL NIL "8BIT" 1544 ("Wed, 14 Feb 2007 10:12:39 +0100" "j'ai
=?ISO-8859-1?Q?lanc=E9_une_grosse_impression_sur_?=
=?ISO-8859-1?Q?LP2300RV?=" (("Virginie Nouzies" NIL "virginie.nouzies"
"aliasource.fr")) (("Virginie Nouzies" NIL "virginie.nouzies"
"aliasource.fr")) (("Virginie Nouzies" NIL "virginie.nouzies"
"aliasource.fr")) (("Aliasource Toulouse" NIL "toulouse"
"aliasource.fr")) NIL NIL NIL "<45D2D287.6000806 at aliasource.fr>")
("TEXT" "PLAIN" ("CHARSET" "ISO-8859-1" "FORMAT" "flowed") NIL NIL
"8BIT" 137 8 NIL NIL NIL) 36 NIL ("INLINE" ("FILENAME*" {147}
ISO-8859-1''%6A%27%61%69%20%6C%61%6E%63%E9%20%75%6E%65%20%67%72%6F%73%73%65%20%69%6D%70%72%65%73%73%69%6F%6E%20%73%75%72%20%4C%50%32%33%30%30%52%56))
NIL) "MIXED" ("BOUNDARY" "------------020307030708000209000306") NIL
NIL))
A3 OK Completed (0.000 sec)

My problem is in the response to the body structure request : cyrus
tells me he will send me 147 bytes and my lib can deal with that. The
problem is, the data sent by cyrus is way longer than 147 bytes... can
someone point me to what I misunderstood ?

Regards, thomas.


More information about the Info-cyrus mailing list