Re: Postfix version of smmapd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
>
----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux