Results 1 to 4 of 4

Thread: [SOLVED] Zimbra Store to Maildir ?

  1. #1
    Join Date
    Aug 2010
    Posts
    40
    Rep Power
    5

    Default [SOLVED] Zimbra Store to Maildir ?

    Hello,

    I'm planning a migration of my courrier-imap server to Zimbra soon.

    One thing I want to do before, is to be able to rollback to my old server in case of emergency.

    So, the idea would be to backup all mailboxes from Zimbra, one time a day, and so we could restore any mailbox when we want.

    The problem is that the Zimbra store doesn't seems to use Maildir structure : There is no cur/new/tmp directories, and emails are saved as .eml files.

    We don't want to use splitdomain. We tried using offlineimap / imapsync, but theses solutions doesn't seems very good either, poor performances, and the big problem is that if a mail is moved or deleted after the last sync, it won't be the case when running a new sync. (at least with imapsync).

    So for us, the best solution appear to make a tgz of each mailboxes (We have 200 acounts), and we could restore it if our Zimbra server fail.

    To conclude, I'm just looking for a way to convert a backup tgz to maildir format

    Thanks for any suggestions

  2. #2
    Join Date
    Apr 2009
    Location
    Willemstad, Curacao
    Posts
    39
    Rep Power
    6

    Default

    The Zimbra Store for me was (and is) quite weird for someone used to maildir for the past ten years. Of course, the Zimbra Store does not stire the same email more then once, so it is much more efficient with space. Especially when you have ten people receiving the same email with the 200 MB attachment :-)

    See also here:

    Account mailbox database structure - Zimbra :: Wiki

  3. #3
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    4

    Default imapsync can help you rollback perfectly

    Hello,

    > We tried using offlineimap / imapsync, but theses solutions doesn't
    > seems very good either, poor performances,

    Ok for the bad performances of imapsync.
    Did you really try offlineimap and found it slow?

    > and the big problem is that if a mail is moved or deleted after the
    > last sync, it won't be the case when running a new sync. (at least
    > with imapsync).

    No problem at all if you read the imapsync help or the README file.
    There are two options to have an actual "live" copy.

    > So for us, the best solution appear to make a tgz of
    > each mailboxes (We have 200 acounts), and we could restore
    > it if our Zimbra server fail.

    Backups are good all the time.

    > To conclude, I'm just looking for a way to convert a backup
    > tgz to maildir format

    A backup tgz keeps a maildir format as is, no conversion to do.
    It seems I didn't understand your issue or your never backup
    and restored any directory with tar.

  4. #4
    Join Date
    Aug 2010
    Posts
    40
    Rep Power
    5

    Default

    Hello,

    Thanks for your reply

    Well, finally we managed to do it with offlineimap. The problem we was getting is that it was crashing when it was reaching some accounts.

    Changing the ui to TTY.TTYUI solved the problem.

    So it's good, and yes, offlineimap is pretty fast in fact

    For the tgz, it seems it's not really the same as zimbra store mails in eml, and mine (postfix) not

    Anyway, problem solved, thanks

Similar Threads

  1. Did I miss something? (Zimbra GA 6.0.8 on Ubuntu 10.04)
    By vpetersson in forum Installation
    Replies: 2
    Last Post: 10-26-2010, 06:29 AM
  2. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 08:21 AM
  3. Replies: 22
    Last Post: 12-02-2007, 04:05 PM
  4. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  5. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 09:39 AM

Posting Permissions

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