Solved

Ubuntu server email transfer to new server

Posted on 2011-03-15
3
867 Views
Last Modified: 2012-05-11
Hi please help,

I'm trying to decommission an old server but I need to transfer the mail stored to the new server.

The server is Ubuntu 10.04 LTS and its setup specification is exactly as shown in the Perfect Server Ubuntu 10.04 ISPConfig3 guide.

I have tried to copy /var/vmail to the new server which kind of works, in the INBOX there are some of the emails showing, but the others show "message unavailable."

Ironically every email in the trash folder is there and readable, typical!

However any custom folder created is missing. and again a large portion of the inbox mails are presumably missing as showing as unavailable.

I will be eternally grateful if someone can assist me with this one its driving me berserk!

Thanks in advance.

PS I can not forward each email one at a time it would take me months for each user :-(

Kind regards.
0
Comment
Question by:HBPROCK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:paulqna
ID: 35141553
How about using imapsync ?
0
 

Accepted Solution

by:
HBPROCK earned 0 total points
ID: 35142184
Yes this does indeed work, not the easiest way to migrate mailboxes as you have to do it one at a time which is still very impractical.

This link makes navigating the myriad of switches far easier

http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync

I would still like to know if there's another way to replace all mailboxes & folders at once for all users rather than one at a time, such as copying /var/vmail across (this DOES NOT work correctly though)

I appreciate this could be quite easily scripted to copy everyones mailboxes but again that's still potentially a massive amount of work with a long list of users and passwords to process
0
 

Author Closing Comment

by:HBPROCK
ID: 35187285
Well I'm guessing that no one has any further suggestions for this one! oh well.

Thank you for pointing me in the right direction.

However, if anyone else can further expand on this for a more complete answer such as importing all mail accounts at once including folder creation and re-population I would be willing to award extra points

Kind regards.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question