Results 1 to 5 of 5

Thread: [SOLVED] migrating one account into another

  1. #1
    fschloegl is offline Active Member
    Join Date
    Dec 2008
    Posts
    29
    Rep Power
    6

    Default [SOLVED] migrating one account into another

    Hi,

    my problem is, that i want to migrate a whole account from our zimbra server, into another (existing) account.

    aaa@ccc.com -> bbb@ccc.com

    bbb@ccc.com has data inside.

    Is there any possibility to get all the date from aaa@ccc.com to bbb@ccc.com? The only way that I know is with imapcopy, but this will not migrate everything.

    Thx for your help
    Florian

  2. #2
    mtorres is offline Trained Alumni
    Join Date
    May 2008
    Location
    Sierra Vista, Az
    Posts
    74
    Rep Power
    6

    Default

    Hi, not sure if this is what you are looking for but could you export all the data from aaa@ccc.com and then import all of it to bbb@ccc.com using the import/export tab under preferences in the zimbra web client?

  3. #3
    fschloegl is offline Active Member
    Join Date
    Dec 2008
    Posts
    29
    Rep Power
    6

    Default

    thx for this hint, I think this will work, but do anyone know an other possibility directly from the console or the admin interface?

  4. #4
    alexkelly is offline Trained Alumni
    Join Date
    Oct 2007
    Location
    Columbus, OH
    Posts
    70
    Rep Power
    7

    Default

    I have done the following from a backup, where I have a restored_user@domain.com, and I want to pull specific pieces of mail into the user@domain.com. It seems that it should work for different accounts.

    For the account I want to get mail out of, I do a zmmailbox command to get all the messages in inbox with
    zmmboxsearch -m aaa@domain.com -l 100000 -q "in:inbox" -d /tmp/aaa/
    That will dump everything that matches the query "in:inbox" to /tmp/aaa, but you can put any query that works in the web client in that option, so you are not limited
    Then you can loop through everything in that directory and inject the message into the other mailbox with something like
    for x in $(ls -1 /tmp/aaa/)
    do
    echo "am /Inbox /tmp/aaa/$x" >>/tmp/feedfile
    done
    Then you can run that feedfile into the bbb account with
    zmmailbox -z -m bbb@domain.com </tmp/feedfile
    [/QUOTE]

  5. #5
    fschloegl is offline Active Member
    Join Date
    Dec 2008
    Posts
    29
    Rep Power
    6

    Default

    thanks for this hint, this should work.

    // flo

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding Hotmail Account always fails - WHY? What to do?
    By TygerZoyd in forum General Questions
    Replies: 13
    Last Post: 10-03-2013, 06:42 PM
  2. Replies: 0
    Last Post: 10-17-2008, 09:22 AM
  3. Replies: 2
    Last Post: 02-06-2008, 05:53 AM
  4. Replies: 3
    Last Post: 09-18-2007, 06:55 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
  •