imclient >4k literal error

Rob Siemborski rjs3 at
Wed Apr 2 13:28:06 EST 2003

See Also:

In practice, not many applications use libcyrus for reading email, the
closest we generally see is for small things like cyradm.  So there hasn't
been pressure to fix it.


On Wed, 2 Apr 2003, Patrick Welche wrote:

> When libcyrus reads a server response, it does so in 4k (4067)
> chunks. If I read a message which is greater than 4k, it is
> be truncated, eg {96091} gives me a 96050 long reply->text, the
> beginning of the reply looking like:
> FETCH (FLAGS (\\Seen) INTERNALDATE \"24-Feb-2003 12:45:17 +0000\" BODY[] {96091}\r\nReturn-Pat
> It seems that imclient->replyliteralleft decreases too rapidly, or maybe the
> first line is included in the literal byte count? I think I'm looking for an
> out by 2 error in imclient_input(), but have any of you seen this? Anyone
> use libcyrus to read email?
> Cheers,
> Patrick

Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

More information about the Info-cyrus mailing list