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 am migrating all my email to a new server. I have about 10 accounts in 10 different folders in Mozilla Thunderbird. I have been using pop3 in the past, but on the new server I want to use imap.

I have created all the imap accounts on the new server and I want to copy over all the emails on their folders on Thunderbird to their corresponding imap account folders on the new server.

When searching for an answer for this, most people suggest just copying all the emails in their folder to the imap account inbox. Some people say that you should only copy around 500 emails at a time. The problem is I have around 20,000 emails per account (going back to the year 2002!) and Thunderbird just gives up on me. I have managed to get it working occassionally by copying 500 emails at a time but this is going to take forever!

Thunderbird shows that it is copying the emails with a message in the status bar, but after a short while the status message goes blank.

My question is, is there a way of moving a large number of emails from a local folder on Thunderbird to an imap account that works and is quick?

share|improve this question
Just make sure that the folder is properly indexed by forcing a reindex. I have never had trouble moving thousands of emails after that. –  Let_Me_Be Jun 10 '11 at 11:27
Excuse my ignorance but how do you force an index? Is this the same or different from compact folders? I find it frustrating that Thunderbird doesn't have a more complete status window of what it's doing. –  iagdotme Jun 10 '11 at 13:25
Depending on the version of Thunderbird, there should be reindex, or fix option in the folder options (properties, or directly in context menu). –  Let_Me_Be Jun 10 '11 at 13:37

1 Answer 1

up vote 0 down vote accepted

I have used Thunderbird to move large quantities of messages from Local to imap. You'll need to ensure that your local folders are indexed properly, and then start with smallish chunks and keep adding more until you get to a comfortable number. The last time I did this I started with about 1000, then 2500, then 5000, and pretty soon I was done. It could take some time, but be patient and try to leave thunderbird alone to do it's work while moving.

share|improve this answer
Thanks, I've compacted the folders and used the Expunge plug in. I'm copying over 1000 messages at the moment. Just 27,000 to go, and this is only one 1 of my 10 accounts. I was really hoping for a quicker and easier option. However, if this is the only way, then I'll have to try. I'll post back here to let you know how I have got on. –  iagdotme Jun 10 '11 at 14:27
Aggh, it really is so slow. I started with 1000 messages which copied over (slowly) and now Thunderbird has copied over 2000 out of the 5000. Only got 20,000 ish to go for this account. Surely there is a better way?! –  iagdotme Jun 10 '11 at 17:01
I will really depend upon what the server supports. If you had IMAP'd all of those e-mails, then there is a tool called imapsync which is handy for moving from one imap account to another (So I guess you could build an IMAP server on your local machine, and drag everything in as you8 are doing now, and then imapsync from your local server to the remote one, but that seems like a lot of work.) Some mail servers will support importing messages in MBOX or MAILDIR format, but the ability to import will vary by server. –  Kirk Jun 10 '11 at 18:00
Does your new IMAP account have a webmail interface? If so, there might be import options in there. –  Kirk Jun 10 '11 at 18:01
@kirk, nice idea, but my webmail interface (roundcube) doesn't have such a feature. Even if it did, I don't think that would work as the mailbox would be over 1Gb in size! I have tried other solution such as IMAPSize, but that only works with two imap accounts and I need to copy a local folder to an IMAP account. –  iagdotme Jun 10 '11 at 18:10

Your Answer


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.