Results 1 to 6 of 6

Thread: Mail box retrieval

  1. #1
    naturalblue is offline Junior Member
    Join Date
    Jan 2006
    Posts
    9
    Rep Power
    9

    Default Mail box retrieval

    I upgraded to 3.1 fro 3.0.1 and everything got f**ked up.
    when trying to connect to my server from outside after login it told me it couldn't find the server.
    My MX record and my mail server have different names (zimbra.*.* internally and mail.*.* externally)

    after trying a few more times upgrading over, changing hostname, i still cannot get anywhere.

    i renamed /opt/zimbra to /opt/zimbra.bak, rename my server as mail.*.* the external name, fixed the hosts file and reinstalled a fresh install of zimbra.

    is there a way to get the mails/tags/users from the old folder.
    i don't mind remaking the users but would like to import the mails back atleast

    anyone know of a solution

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    You can get the mail directly from the directories, but that won't get any folders/tags. I'd recommend you just restore your backup, make sure things are running, then try the upgrade with build 332 and debug from there. Trying to restore just part of the data is quite hard.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    naturalblue is offline Junior Member
    Join Date
    Jan 2006
    Posts
    9
    Rep Power
    9

    Default data

    at this point i think i'd just be happy with getting the mail back.
    can i just cp the files from the store folder into the store folder or is there more to do.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    Quote Originally Posted by naturalblue
    at this point i think i'd just be happy with getting the mail back.
    can i just cp the files from the store folder into the store folder or is there more to do.
    You should shutdown zimbra and make sure there's no zimbra processes running then copy your backup over the new install. When you've done that reboot your system and you should have the original system back.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    A little note to add to Phoenix's comment,
    if you used the very first build of the 3.1 release, it's possible you might have some LDAP problems.

    If you have a backup of your original (now zimbra.bak), i'd replace the ldap data in the zimbra.bak folder.

    Just a heads up.

    By the way, all of your messages are stored in /opt/zimbra/db/data

    You'll be able to pull just the raw data if nessiary.

    I had to recover one time. I pulled the messages to a windows machine, and used the outlook drag & drop to put them back in the proper mailbox.

    The problem is you may have no idea who's "mailbox01", so you have to read the message...but there might be an easier way.

    I agree with phoenix (It's funny, cause I'm in Phoenix now). Restore your old copy, and install over it. It'll save you headaches. makesure you backup the backup first.

    Good luck,
    jh

  6. #6
    bobby is offline Zimbra Employee
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    > By the way, all of your messages are stored in /opt/zimbra/db/data
    hmm not so fast. the raw message data is stored in /opt/zimbra/store/. the meta-data is in mysql /opt/zimbra/db/data.

    > The problem is you may have no idea who's "mailbox01", so you have to read the message...but there might be an easier way.
    >
    to find out who has mailboxXXX:

    mysql -e 'use zimbra; select id,comment from mailbox where id=XXX'

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 03:34 PM
  5. Mail not getting to mail boxes
    By ehults in forum Installation
    Replies: 5
    Last Post: 10-31-2005, 09:24 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
  •