Take the 2-minute tour ×
Server Fault is a question and answer site for 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

closed as off-topic by masegaloeh, peterh, mdpc, Hyppy, Khaled Apr 30 at 14:01

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 1 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

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