View Full Version : Migrate all e-mail adressess and all e-mails in it
Skprorok
31st July 2011, 03:01
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 ;-)
falko
31st July 2011, 20:41
You can migrate mail boxes with imapsync: http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync
Skprorok
31st July 2011, 23:47
You can migrate mail boxes with imapsync: http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync
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?
Thanks
till
1st August 2011, 12:07
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.
bruno_floyd
15th December 2011, 17:54
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.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.