[PATCH] Characters allowed in folder names (#2633)

Jeroen van Meeuwen (Kolab Systems) vanmeeuwen at kolabsys.com
Sat Aug 7 13:22:05 EDT 2010


Hi there,

Current Kolab packages ship a patch to allow more character names in IMAP 
mailbox/folder names then is currently permitted with the characters listed in 
imap/mboxname.c:724 GOODCHARS definition. Bug #2633[1] also concerns this 
topic.

In an attempt to do a little research on the set of characters allowed in a 
mailbox, I stumbled upon section 5.1 in RFC 3501[2]. Sub-section 5.1.3 
confuses me a little, so I hope some of you can shed some light on that if 
necessary.

It seems that mailbox/folder names may contain any of the characters in 7-bit 
ASCII, but GOODCHARS does not have all of those characters listed. Attached is 
a patch that shows how I would like this a configurable setting. Unless I'm 
mistaken, this should preserve the behavior presented today, but allows a 
'goodchars' setting to be supplied in imapd.conf.

Please let me know what you think.

[1] https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2633
[2] http://www.faqs.org/rfcs/rfc3501.html

Kind regards,

-- 
Jeroen van Meeuwen
Senior Engineer, Kolab Systems AG

e: vanmeeuwen at kolabsys.com
t: +316 42 801 403
w: http://www.kolabsys.com

pgp: 9342 BF08
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-characters-allowed-in-folder-names-configurable.patch
Type: text/x-patch
Size: 1508 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20100807/50bef2fe/attachment.bin 


More information about the Cyrus-devel mailing list