Solved

Ubuntu server email transfer to new server

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
URL rewriting - LAMP 7 56
Website being blocked? 3 146
PHP Upload using Uploadify 4 126
How can I write .htaccess code to redirect 301 pages? 1 141
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
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 …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

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