imclient >4k literal error

Patrick Welche prlw1 at
Mon Apr 7 16:31:10 EDT 2003

On Mon, Apr 07, 2003 at 04:04:13PM -0400, Lawrence Greenfield wrote:
> The question is what it'll do if you get something like:
> * 291 FETCH (ENVELOPE ("Mon, 7 Apr 2003 20:34:04 +0100" 
> "Re: imclient >4k literal error" (("Patrick Welche" NIL "prlw1" 
> "")) (({14}
> Patrick Welche NIL "prlw1" "")) 
> (("Patrick Welche" NIL "prlw1" "")) (("Lawrence Greenfield" 
> NIL "leg+" "")) (("Rob Siemborski" NIL "rjs3" 
> "")(NIL NIL "info-cyrus" "")) NIL 
> "<200304071838.h37Icuff007629 at>" 
> "<20030407203404.A29873 at>"))
> does it correctly resume parsing of the fetch response when there's an
> interior literal? (This is not just theoretical: Cyrus will send
> literals in the middle of envelope responses, though the protocol
> snippet from above was contrived.)

If the first CRLF you have in the above is after the {14}, so imclient_input
then notices the end of the line has a } and reads back to find the literallen,
I don't see why the above is any different to just fetching a BODY[].. Am I
missing something?

(BTW, with libcyrus as it was, I couldn't FETCH a test mail message with a 96k
attachement, now I can, even when I change the buffer size to 400 bytes, and
successfully copied a users mailboxes and messages using it)



More information about the Info-cyrus mailing list