NUL characters in messages

Chris Stromsoe cbs at cts.ucla.edu
Fri Sep 6 17:20:10 EDT 2002


On Fri, 6 Sep 2002, Lawrence Greenfield wrote:

> Unextended IMAP4 doesn't allow NUL characters to be sent to clients, so
> even if you removed these checks Cyrus couldn't send them back out.
> There's an IMAP BINARY extension which, with LMTP CHUNKING, would allow
> Cyrus to deal with binary data.
>
> We don't have any plans to implement this.

Hrm.  Would there be any CMU objection to a patch to translate embedded
NULs to an alternate character?  Specifically, the case of "\r\0".  I plan
to do an in place modification in lmtp_engine.c to convert to "\r\n\0" and
add a header indicating that conversion has taken place.


-Chris







More information about the Info-cyrus mailing list