Solved

Ubuntu server email transfer to new server

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
XAMPP 3 68
Alias for "domain to path" translation instead of VirtualHost on Apache 3 83
Apache / XAMPP  authorisation 10 62
AWS EC2 & RDS Instance 5 51
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

830 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