Solved

Ubuntu server email transfer to new server

Posted on 2011-03-15
3
859 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
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now