Migrate all e-mail adressess and all e-mails in it

Discussion in 'Tips/Tricks/Mods' started by Skprorok, Jul 31, 2011.

  1. Skprorok

    Skprorok New Member

    Is it possible to migrate all of the mailboxes and e-mails in them from one server to another? Both servers are Ubuntu and ISPConfig 3 positive ;-)
  2. falko

    falko Super Moderator ISPConfig Developer

  3. Skprorok

    Skprorok New Member

    Thank you very much but this tool just migrates e-mails from one mailbox to the second and I need also migrate full list of mailboxes to the second server (talking about 3000 mailboxes). I can use SOAP and PHP to create all mailboxes which were on the first server but there is a problem with passwords because they are hashed in the ISPConfig database on the first server. Any idea?

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Is the second server empty? if yes, export all records in the mail_* tables on the old ispconfig server e.g. with phpmyadmin and import them on the new server. Then copy all files and folders in /var/vmail to the new server.
  5. bruno_floyd

    bruno_floyd New Member

    In case those tables are not empty you can do like i did.

    I made a script that would read all emails from one place, then used the remote API to add all emails to the new platform (i added a 1 sec delay just to make it safe). Once they were all created, i moved all files from one server to the other and right after i gave them vmail:vmail ownership.

    It worked great for me, the old platform was not ISPconfig based, but both were using squirrelmail.

Share This Page