Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th December 2012, 17:14
xciso xciso is offline
Member
 
Join Date: Feb 2008
Posts: 55
Thanks: 0
Thanked 1 Time in 1 Post
Default Migrating to new server. Help with mail.

Hello.
I am now setting up a new vps and i want to move everything from my old to my new.
I have set-up everything manual, like account, websites, ftp account and everything, but now i want to move all e-mails from my old server.

I am using imap to all accounts so i need to save everything from the server.
Anyone know how to do this? (Using dovecot)

Thanks! & Happy new Year!
Reply With Quote
Sponsored Links
  #2  
Old 28th December 2012, 11:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

http://www.howtoforge.com/how-to-mig...ith-imap-tools
http://www.howtoforge.com/how-to-mig...-with-imapcopy
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
  #3  
Old 29th December 2012, 20:39
tahunasky tahunasky is offline
Member
 
Join Date: Jul 2012
Location: Buenos Aires
Posts: 84
Thanks: 1
Thanked 8 Times in 8 Posts
 
Default

I have just been doing the same thing for about 40 users, and the easiest way for me was.

On target server:
I created all the email users in ISPCONFIG.
Stop dovecot.

Then using WinSCP on a windows box, I copied over the vmail/maildir directory for each user from source server to target server. Or you could archive to a file the expand again on target server providing the directory structure is the same.

Then once the copy to target server is complete, set owner/group to vmail (5000) for all files and sub-directories in /var/vmail.

Sart dovecot on target server.

I didnt have the passwords for most of the users so i just dumped from source msql database and then imported into the new ISPCONFIG database.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 10:56
Sending email issue lezelf Installation/Configuration 15 9th August 2011 11:20
installing squirrelmail on Debian with ispconfig3 saco721 Installation/Configuration 18 1st April 2011 17:57
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 09:32
Webmail Relay Error palkat General 17 23rd April 2006 18:12


All times are GMT +2. The time now is 06:26.


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