Your message dated Tue, 21 Feb 2006 23:06:57 +0100
with message-id <[EMAIL PROTECTED]>
and subject line closing this bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cyrus22-imapd
Severity: wishlist
Tags: patch

Hi

Enclosed you find the patch from Kolab upstream which disabled some
checkings.
This is necessary because Kolab uses the whole email adress for the
mailbox and there are for example '%' 's :)

We know that it will be very difficult or maybe impossible to integrate it
into the official cyrus package, but i think we will discuss it
at the thread on the ML's.
Now please look at the patch so you can see it ;)

Greetings
Steffen


Code:

--- cyrus22-imapd-2.2.12/imap/imapd.c.orig      2006-01-02 14:00:49.000000000 
+0100
+++ cyrus22-imapd-2.2.12/imap/imapd.c   2006-01-02 14:01:36.000000000 +0100
@@ -3923,10 +3923,12 @@
        }
     }

+  #ifdef notdef
     /* verify that the mailbox doesn't have a wildcard in it */
     for (p = oldmailboxname; !r && *p; p++) {
        if (*p == '*' || *p == '%') r = IMAP_MAILBOX_BADNAME;
     }
+  #endif

     /* attempt to rename the base mailbox */
     if (!r) {

--- cyrus-imapd-2.2.12/imap/mboxlist.c.orig     2006-01-02 14:09:58.000000000 
+0100
+++ cyrus-imapd-2.2.12/imap/mboxlist.c  2006-01-02 14:10:49.000000000 +0100
@@ -476,10 +476,12 @@
                free(acl);
                return IMAP_PERMISSION_DENIED;
            }
+ #ifdef notdef
            /* disallow wildcards in userids with inboxes. */
            if (strchr(mbox, '*') || strchr(mbox, '%') || strchr(mbox, '?')) {
                return IMAP_MAILBOX_BADNAME;
            }
+ #endif

            /*
             * Users by default have all access to their personal mailbox(es),
--- cyrus-imapd-2.2.12/imap/mboxname.c.orig     2006-01-02 14:22:32.000000000 
+0100
+++ cyrus-imapd-2.2.12/imap/mboxname.c  2006-01-02 14:24:02.000000000 +0100
@@ -649,8 +649,13 @@
 /*
  * Apply site policy restrictions on mailbox names.
  * Restrictions are hardwired for now.
- */
+
+ * original definition
 #define GOODCHARS " +,-.0123456789:[EMAIL PROTECTED]"
+ */
+
+#define GOODCHARS " #$%'()*+,-.0123456789:;<=>[EMAIL PROTECTED]|}~"
+
 int mboxname_policycheck(char *name)
 {
     unsigned i;


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


--- End Message ---
--- Begin Message ---
Hi

This bug can be closed because there is a cyrus for kolab use inside Debian.
Thanks for your time and work.

Greetings
Steffen

Attachment: pgpfj8S2Zxmql.pgp
Description: PGP signature


--- End Message ---

Reply via email to