Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am migrating sites from a shared host which uses cPanel, moving files and databases are done. The only thing that I am stuck at is moving the mail boxes, cPanel uses Exim while I have installed Postfix + Dovecot on Ubuntu Server 12.04LTS

Is there a way to move them without losing any data?

Thanks :)

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Moving mailboxes can be as easy as copying other files/folders. You need to confirm the following:

  1. Make sure that both email servers understand the same message format and file naming (maildir vs mbox). Also, use the same hierarchy in managing email directories.
  2. Check the files/folders ownership and permissions and fix them if needed.

You can start by copying the files/folders of one user and make sure you can access them using POP/IMAP. If done successfully, you can do the rest.

share|improve this answer
    
Tried that and it worked, basically because dovecot is running on both side and the files were Maildir format. Thanks! :) –  Khalid Jan 7 '13 at 20:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.