Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st July 2011, 03:01
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Default Migrate all e-mail adressess and all e-mails in it

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 ;-)
Reply With Quote
Sponsored Links
  #2  
Old 31st July 2011, 20:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

You can migrate mail boxes with imapsync: http://www.howtoforge.com/how-to-mig...-with-imapsync
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Skprorok (31st July 2011)
  #3  
Old 31st July 2011, 23:47
Skprorok Skprorok is offline
Member
 
Join Date: Jun 2009
Posts: 56
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
You can migrate mail boxes with imapsync: http://www.howtoforge.com/how-to-mig...-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
Reply With Quote
  #4  
Old 1st August 2011, 12:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Turbanator (21st August 2011)
  #5  
Old 15th December 2011, 17:54
bruno_floyd bruno_floyd is offline
Member
 
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.