[Dovecot] Dovecot RFC non-compliance: Mailbox names

Timo Sirainen tss at iki.fi
Wed Feb 15 21:35:51 EET 2006


On 15.2.2006 20:40, "Tony Kay" <tkay at uoregon.edu> wrote:

> Was there any discussion about the imap/commands-util.c:48?
> 
> 46:   /* make sure it even looks valid */
> 47:   sep = mail_storage_get_hierarchy_sep(storage);
> 48:   if (*mailbox == '\0' || strspn(mailbox, "\r\n*%?") != 0) {
> 49:      client_send_tagline(cmd, "NO Invalid mailbox name.");
> 
> which is technically not RFC-compliant? I have a feeling it fixes much more
> important things than it breaks (i.e. LIST/LSUB), but then again we never had
> complaints from people using those characters in names until they stopped
> being supported.

Hmm. I suppose it's not all that useful to deny * and % in mailbox names.
You're the first one to complain about it though :) I'll remove the
restriction from future releases.




More information about the dovecot mailing list