Holger Weiss
2008-Sep-07 21:37 UTC
[Dovecot] Cosmetic issue with dots in Maildir folder names
Just a minor cosmetic issue: We use the listescape plugin in order to support "." characters in Maildir++ folder names, and in at least the following case, the escaped representation of the dot character ("\2e") won't be translated back to a "." in messages for the IMAP client: | 1 SELECT non.existent | 1 NO Mailbox doesn't exist: non\2eexistent However, SELECTing an existing folder whose name includes a dot works fine, and it also works in other cases, e.g.: | 2 CREATE does.exist | 2 OK Create completed. | 3 LIST "" does.exist | * LIST (\HasNoChildren) "/" does.exist | 3 OK List completed. This is with Dovecot 1.1.3; we use "separator = /" and we've defined REAL_SEP to '.' and VIRTUAL_SEP to '/' in the plugin. Holger
Timo Sirainen
2008-Sep-07 21:43 UTC
[Dovecot] Cosmetic issue with dots in Maildir folder names
On Sep 8, 2008, at 12:37 AM, Holger Weiss wrote:> Just a minor cosmetic issue: We use the listescape plugin in order to > support "." characters in Maildir++ folder names, and in at least the > following case, the escaped representation of the dot character > ("\2e") > won't be translated back to a "." in messages for the IMAP client: > > | 1 SELECT non.existent > | 1 NO Mailbox doesn't exist: non\2eexistentWell .. I guess the plugin could guess that any \2e (and the few other escapes) in any error string could be converted back, but I don't think it's really worth the trouble since normally a client wouldn't ever issue such a command that gives an error.. There's a similar problem also if you're using namespace prefixes. They're dropped from the error messages. Maybe when I some day manage to solve that somehow this listescape problem might get solved at the same time. :) -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080908/b56d8208/attachment-0002.bin>