Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Ubuntu server email transfer to new server

Posted on 2011-03-15
3
Medium Priority
?
872 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month12 days, 14 hours left to enroll

971 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