Postfix version of smmapd

Simon Matter simon.matter at invoca.ch
Mon Jan 15 02:20:59 EST 2007


> Benjamin Donnachie wrote:
>> However, tests over telnet were fine and this patch against cyrus-imapd
>> v2.3.7 might be useful to someone...
>
> Ah, but it doesn't take care of this...
>
> ENCODING
>        In request and reply parameters,  the  character  %,  each
>        non-printing character, and each whitespace character must
>        be replaced by %XX, where XX is  the  corresponding  ASCII
>        hexadecimal  character value. The hexadecimal codes can be
>        specified in any case (upper, lower, mixed).
>
>        The Postfix client always encodes a request.   The  server
>        may  omit  the encoding as long as the reply is guaranteed
>        to not contain the % or NEWLINE character.
>
> ... yet.

You may want to have a look at the postfix code which includes functions
for encoding/decoding in postfix/src/util/hex_quote.c (I'd also try to do
it but whenever I touch a C program I only end up debugging my own
segfaults...).

Simon

>
> Ben
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>


More information about the Info-cyrus mailing list