summaryrefslogtreecommitdiff
blob: df55a3c174c61b08f5f18b67fa89680c047cff72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Modifies the set of accepted characters in folder names for the cyrus imapd server [Version: 2.3.9]

diff -r a83b43bb79a3 imap/mboxname.c
--- a/imap/mboxname.c	Tue Dec 11 11:22:14 2007 +0100
+++ b/imap/mboxname.c	Tue Dec 11 11:22:22 2007 +0100
@@ -712,8 +712,13 @@ int mboxname_netnewscheck(char *name)
 /*
  * Apply site policy restrictions on mailbox names.
  * Restrictions are hardwired for now.
- */
+
+ * original definition 
 #define GOODCHARS " +,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
+ */
+
+#define GOODCHARS " #$%'()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~"
+
 int mboxname_policycheck(char *name)
 {
     unsigned i;