li...@oliver-block.eu writes:
Sam Varshavchik schrieb:> > Yes, that's why I asked for an "escape sequence". :-)> > Any escape sequences must be produced by the IMAP client. For example, > the > modified-UTF7 encoding which is used to specify folder names that > contain > non-Latin characters. This is all a client-side convention. The server > knows > nothing about it. It uses folder names verbatim, as they are given by > the > client. Therefore, if the client needs to use periods, it's the IMAP > client's responsibility to encode them, not the server's.That's right.But, the IMAP spec does not specify the delimiter! That does the implementation.
Yes. The IMAP spec leaves it completely up to the server to specify the hierarchy delimiter. The client just needs to deal with it.
When the clients converts a mailbox or hierarchy level named 'j...@example.com' from UTF-8 to UTF-7 (as defined in RFC3501) the mailbox or hierarchy level is still 'j...@example.com'. Is it possible to configure courier imap and specify the delimiter character? I guess not.
Correct.
What do think is the better way with respect to the IMAP protocol:1. Define an implementation dependent escape sequence if a user uses the delimiter character in a mailbox name or hierarchy level2. Make the implementation be configurable to set the delimiter.In my opinion 1 is the better approach because 2 just shifts the problem from one character to another.
Neither:3. Define a convention that all clients should use to escape the hierarchy delimiter character if the client wants to specify it as part of the folder name.
This is exactly what happened with modified-UTF7. The server knows nothing about it, it just uses the folder name, verbatim, as specified by the client. Modified-UTF7 is a specification that interoperable clients can use to define folder names that contain non-Latin characters.
pgpB6LXBAqTr6.pgp
Description: PGP signature
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects
_______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap