Corrupted Maildir. How can I push Thunderbird emails back to the server?

  • Posted February 9, 2015

I’m transitioning from a VPS to DigitalOcean after my machine suffered a catastrophic failure due to a loss of power, resulting in a completely corrupted Maildir folder. Now, I’ve got two accounts in Thunderbird:

  • Account 1, with everything still stored on my local machine.
  • Account 2, with new email coming in.

Now, when I connect back to the corrupted host, because it’s running on IMAP, it dumps all of the local data in Thunderbird (good thing for local backups.)

When I move to DigitalOcean this week (I’m installing software to the droplet now!) I’d like to setup a new mailserver and a smooth transition, and as I’m doing it, it would be really nice if I could combine these accounts and retain the folders, and consistent email history that I’ve lost.

I’ll be using this guide:

Does anyone have any suggestions?

Thank you.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Seems used a round about way of getting mail from my gmail account into my droplet.

Since your Account 1 is already local I would try to find a way to back it up locally.

Once your droplet is created create a NEW account in thunderbird (account 3). Then if I remember correctly I just drag and dropped folders from my Google account folders (Your account 1) to my droplets account folders. (your account 3).

Follow a similar pattern to get your account 2 moved over.

You might be able to find a more automated way of doing this but I only had 4 physical email boxes to deal with so it didn’t take long.