為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

restore mail after changed account settings

  • 3 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 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?

所有回覆 (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.