This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

restore mail after changed account settings

  • 3 tontu
  • 1 am na jafe-jafe bii
  • 5 views
  • i mujjee tontu mooy Matt

more options

I changed the mail host, and thought I could just update the account settings (password, imap- and smtp servers) to the new host. When I did, all mails disapeared! I realise, now, that's how imap works. But my question is, does Thunderbird keep a backup somewhere so that I can restore the old mails?

I changed the mail host, and thought I could just update the account settings (password, imap- and smtp servers) to the new host. When I did, all mails disapeared! I realise, now, that's how imap works. But my question is, does Thunderbird keep a backup somewhere so that I can restore the old mails?

All Replies (3)

more options

When you used IMAP the messages are still on the server of your old mail provider.

more options

I know, but since I'm not a customer there anymore, they have deleted my account and all my mails (I'm sure there is a backup, but they just say it's gone). So I was hoping Thunderbird kept a "hidden" backup somewhere...

more options

Thunderbird might still have them as deleted. As long as the folder has not been compacted.

So open your profile folder (help menu > troubleshooting information and click the show profile button. Ensure Thunderbird is not running.

open the imap mail folder in the profile. Then open the appropriate imap mail account folder.

Locate the file inbox (I assume it is the inbox folder). There will also be an inbox.msf file. that is not relevant but might help locate it.

Copy the file to another location, like your desktop. open in it a plain text editor. I suggest you download and use notepad++, but windows default notepad might suffice, depending on file size but a wordprocessor like word or libreoffice will just make a bad situation a total disaster.

use the menu commands for find and replace to find all occurrences of;

X-Mozilla-Status: 0008

with

X-Mozilla-Status: 0001

Then install the import export tools add-on https://addons.thunderbird.net/en-US/thunderbird/addon/importexporttools/

Use the add-on to import any mail the file contains from an mbox file type.