Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: folders with leading spaces, other small issues...

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    5
    Rep Power
    10

    Default folders with leading spaces, other small issues...

    I've just installed Zimbra on FC4 to evaluate it's suitability as a replacement for my aging installation of Netscape Messaging (4.15). The server in question supports about 30 people, at the moment we have approximately 10GB of mailstore.

    First let me say am very impressed by the completeness and self-containedness of the product. Great job.

    I've run into a major snag, though: Zimbra appears to ignore leading spaces in IMAP folder names. It appears to simply strip them, which confuses my mail client (Thunderbird) and has broken migration of my store (I'm using imapsync).

    Here's an example set of IMAP commands that illustrate the issue:

    Code:
    0 create "x"
    0 OK CREATE completed
    0 create " x"
    0 NO CREATE failed: mailbox already exists
    0 create {2}
    + 
     x
    0 NO CREATE failed: mailbox already exists
    0 create " y"
    0 OK CREATE completed
    0 select " y"
    0 NO SELECT failed
    0 select {2}
    + 
     y
    0 NO SELECT failed
    0 select {1}
    + 
    y
    * 0 EXISTS
    * 0 RECENT
    * OK [UIDVALIDITY 27706]
    * FLAGS (\ANSWERED \DELETED \DRAFT \FLAGGED \SEEN $FORWARDED $MDNSENT FORWARDED $JUNK $NOTJUNK JUNK JUNKRECORDED NONJUNK NOTJUNK)
    * OK [PERMANENTFLAGS (\ANSWERED \DELETED \DRAFT \FLAGGED \SEEN $FORWARDED $MDNSENT FORWARDED \*)]
    0 OK [READ-WRITE] SELECT completed
    0 list / *
    * LIST (\HasNoChildren) "/" "INBOX"
    * LIST (\HasNoChildren) "/" "x"
    * LIST (\HasNoChildren) "/" "y"
    0 OK LIST completed
    Known issue? Easy fix?

    I also have a few smaller issues:
    • server config changes appear to require a restart before they take effect (e.g. clear text login)
    • startup time is quite long
    • the store is basically flat. 2 issues here: the message->folder db takes extra disk space (my db/data is ~300MB so far, and I've only migrated 34k messages, about 1.6G). Also, a db corruption means the store structure is lost (not so in Cyrus or Netscape).


    Thanks for reading,
    Rob

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

    Default IMAP stripping whitespace from folder names

    Quote Originally Posted by rwalker
    I've run into a major snag, though: Zimbra appears to ignore leading spaces in IMAP folder names. It appears to simply strip them, which confuses my mail client (Thunderbird) and has broken migration of my store (I'm using imapsync).
    That's a good point. The code for folder name normalization should have gone in the AJAX client rather than in the server. We'll have this fixed for the next milestone release.

  3. #3
    Join Date
    Oct 2006
    Posts
    19
    Rep Power
    9

    Default

    Quote Originally Posted by dkarp View Post
    That's a good point. The code for folder name normalization should have gone in the AJAX client rather than in the server. We'll have this fixed for the next milestone release.
    I'm having this issue now (Dec 2006), with version 4.04GA Network Edition.

    The instances I've spotted, the mailbox names have 1 or 2 leading spaces.

    Wasn't this supposed to be fixed?
    Last edited by shideg; 12-14-2006 at 02:10 PM. Reason: new information

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

    Default More info needed, please

    Quote Originally Posted by shideg View Post
    I'm having this issue now (Dec 2006), with version 4.04GA Network Edition.

    In the instance I've spotted, the mailbox name has TWO leading spaces. Does that make a difference?
    What issue are you seeing? An IMAP issue, a web client can't-search issue, something similar?
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    Join Date
    Oct 2006
    Posts
    19
    Rep Power
    9

    Default

    Quote Originally Posted by dkarp View Post
    What issue are you seeing? An IMAP issue, a web client can't-search issue, something similar?
    IMAP issue.

    imapsync gets confused after zimbra renames the folder.

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

    Default Seems like you're right...

    Looks like bug 4115 got regressed at some point. I'll try to get this fixed.
    Bugzilla - Wiki - Downloads - Before posting... Search!

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

    Default Fixed...

    Quote Originally Posted by shideg View Post
    imapsync gets confused after zimbra renames the folder.
    Fixed in 4.5. If you're still using 4.0.*, consider either renaming the source folder to not have leading spaces or excluding the folder from imapsync:
    Code:
    --exclude     <regex>  : skips folders matching this regular expression
                             (only effective if neither --folder nor --subscribed
                             is specified). Several folders to avoid:
                             --exclude 'fold1|fold2|f3' skips fold1, fold2 and f3.
    Bugzilla - Wiki - Downloads - Before posting... Search!

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

    Default

    Quote Originally Posted by rwalker
    I also have a few smaller issues:
    the store is basically flat. 2 issues here: the message->folder db takes extra disk space (my db/data is ~300MB so far, and I've only migrated 34k messages, about 1.6G). Also, a db corruption means the store structure is lost (not so in Cyrus or Netscape).
    Since our interface is query-based -- a "folder view" is actually the result of an "in:foldername" search, and cross-folder searches are common -- the mailbox's folder structure really needs to be in the database. We can replicate this structure to the message files at a cost of 2 extra disk ops per move, but that's only really useful when you need to reconstitute a corrupted database. Given that you'd then have also lost your entire tag set, read/unread state, contact list, set of saved searches, calendar appointment state, etc., it's probably better to rely on the backup/restore system.

  9. #9
    Join Date
    Oct 2005
    Posts
    5
    Rep Power
    10

    Default good points...

    Since our interface is query-based -- a "folder view" is actually the result of an "in:foldername" search, and cross-folder searches are common -- the mailbox's folder structure really needs to be in the database. We can replicate this structure to the message files at a cost of 2 extra disk ops per move, but that's only really useful when you need to reconstitute a corrupted database.
    It's also useful when migrating a store out of a defunct and unsupported server . Having the messages on disk in RFC822 format in named folders is tremendously useful.
    Given that you'd then have also lost your entire tag set, read/unread state, contact list, set of saved searches, calendar appointment state, etc., it's probably better to rely on the backup/restore system.
    When Zimbra's used to its full potential, yes. However, in an installation where Zimbra is primarily an IMAP server, the foldering information has more value, and is more tedious to reconstruct by hand than any of the above (actually, I don't know if it's even possible to reconstruct by hand which messages should appear in whose folders).

    Thanks again for reading.

    -Rob

  10. #10
    Join Date
    Oct 2005
    Posts
    29
    Rep Power
    10

    Default restart server to make changes

    I have also experienced the same settings issues. I had to restart the server to get plain text logins to work.

Posting Permissions

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