File KOLAB_cyrus-imapd-2.3.16_Folder-names.patch of Package cyrus-imapd.import4736
Modifies the set of accepted characters in folder names for the cyrus imapd server [Version: 2.3.9]
diff -r 17e54b46d7b6 imap/mboxname.c
--- a/imap/mboxname.c Mon Oct 27 18:44:56 2008 +0100
+++ b/imap/mboxname.c Mon Oct 27 18:47:11 2008 +0100
@@ -713,8 +713,10 @@
/*
* Apply site policy restrictions on mailbox names.
* Restrictions are hardwired for now.
+ * original definition
+#define GOODCHARS " #$'+,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
*/
-#define GOODCHARS " #$'+,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
+#define GOODCHARS " #$%'()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~"
int mboxname_policycheck(char *name)
{
unsigned i;