Results 1 to 6 of 6

Thread: Unable to create same name folders with different case

  1. #1
    Join Date
    Oct 2005
    Location
    Milwaukee, WI
    Posts
    34
    Rep Power
    10

    Default Unable to create same name folders with different case

    It appears that Zimbra doesn't honor case sensitivity when dealing with folders? For example, if I have a folder named "UWM" in all caps and try to create a folder named "uwm" in lower case, Zimbra treats them as the same and throws an error about "folder already exists":

    Code:
    [zimbra@zimbra-adm ~]$ zmmailbox -z -m dcody@uwm.edu gaf | grep UWM
         11497  mess           0           3  /UWM
         11501  mess           0           1  /UWM/old
    [zimbra@zimbra-adm ~]$ zmmailbox -z -m dcody@uwm.edu cf /uwm
    ERROR: mail.ALREADY_EXISTS (object with that name already exists: uwm)
    This is causing us massive problems as we are trying to import users across who may have folders that conflict with Zimbra's folders (Trash vs. trash, Sent vs. sent, etc) as well as users like me above who rightfully see a folder named UWM as different than one named uwm or UwM

    Thanks.

  2. #2
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    Yes, Zimbra matches folder names case-insensitively. Tag names are also treated case-insensitively.

    If you'd like to see this behavior changed, please file an enhancement request in bugzilla.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Oct 2005
    Location
    Milwaukee, WI
    Posts
    34
    Rep Power
    10

    Default

    Well unfortunately, we're a bit past the "this would be great to have someday maybe" point as we're at the beginning of a 50k+ user migration. I guess we'll contact our account rep to see what if anything can be done. I think we're just surprised that Zimbra goes against what is considered expected behavior with this.

    Quote Originally Posted by dkarp View Post
    Yes, Zimbra matches folder names case-insensitively. Tag names are also treated case-insensitively.

    If you'd like to see this behavior changed, please file an enhancement request in bugzilla.

  4. #4
    Join Date
    Jul 2006
    Location
    Australia, ACT
    Posts
    197
    Rep Power
    9

    Smile I vote for case insensitivity

    Since it keeps things simple (KISS principle)

  5. #5
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    719
    Rep Power
    9

    Default

    What's your source system(s)? What migration tools are you using? It shouldn't be a terribly difficult matter to catch the error and do some renaming.

    I enumerated and renamed conflicting folder names on our Cyrus server immediately prior to each user's migration. Out of 2600 users we had a few dozen conflicts. Would have had more, if I hadn't dealt with the drafts/Drafts issue in Horde a couple years ago. The GroupWise and (presumably) other Zimbra-provided migration wizards will rename conflicting folder names upon import. Note there's only a conflict if the user has both drafts and Drafts; if they only have drafts, it maps cleanly to Drafts.

    For a Cyrus backend, repeating the user experience of https://www4.uwm.edu/uits/docs/cyrus...yrus_pilot.cfm could be as simple as for i in `ctl_mboxlist -d | awk-the-right-column|tr 'A-Z' 'a-z' | sort | uniq -d`; do echo rename $i ${i}_; done | cyradm, but you're probably going to want to do something smarter.
    Last edited by Rich Graves; 03-04-2008 at 06:55 PM.

  6. #6
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    719
    Rep Power
    9

    Default

    Make sure you also evade reserved words: briefcase, contacts, chats, calendar. If you'll have any Outlook or McAfee Antivirus clients, also rename folders named (case-insnsitively) notes, journal, and quarantine.

    I wish that Zimbra had made email a separate namespace from calendaring -- this would also have made things like Bug 24804 - Share entire mailbox in one click. a lot easier -- but alas, there is a single root, and that is not reasonably going to change.

Similar Threads

  1. Unable to create new users
    By fizi in forum Installation
    Replies: 19
    Last Post: 03-17-2009, 09:56 AM
  2. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 12:55 AM
  3. batch create folders and filters
    By KenVM in forum Administrators
    Replies: 1
    Last Post: 11-25-2007, 01:59 PM
  4. unable to create inexistent folder
    By dhain in forum Developers
    Replies: 2
    Last Post: 07-16-2007, 11:27 AM
  5. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •