Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have to move many, many emails (over a thousand) from an old IMAP hosting provider to a new IMAP hosting provider. I know I can just set up the old and new accounts in Thunderbird and drag and drop, but it's very slow and keeps timing out. Is there a better, more automated way to copy all messages (and all mailboxes) between IMAP servers?

share|improve this question

4 Answers 4

up vote 4 down vote accepted

There are couple of options you could try:

share|improve this answer

OfflineIMAP is another option (http://offlineimap.org/).

share|improve this answer
    
I didn't know it could do synchronisation too, but it does, and seems stable. Good idea! –  qris Mar 6 at 10:24

IMAPSync is the tool your looking for. IMAPSync

In the FAQ there are plenty of good examples

share|improve this answer

Use the reliable Mutt (http://www.mutt.org/).

  1. mutt -f imap://username@sourceimaphost/INBOX/folder
  2. Tag selected messages by t, or tag all messages by T and entering ~A. (With T, you can specify various patterns (http://www.mutt.org/doc/manual/manual-4.html#ss4.2).
  3. Move tagged messages by ;s("save") and enter imap://username@destimaphost/INBOX/folder. (This marks the source messages as deleted(D); if you don't want that, use ;C("copy") instead.)
  4. You can repeat 2 and 3 as needed.
  5. Quit by q. You may choose to purge the deleted messages.

This allows to move a folder from one account to another. Repeat this for multiple folders.

share|improve this answer

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.