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

搜尋 Mozilla 技術支援網站

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

了解更多

Restored deleted email using time machine, emails disappear when I go online

more options

Hello,

I deleted some emails from my thunderbird account by accident. They do not show up in my Gmail anymore either.

I restored these emails using time machine and when I am offline, they show up in thunderbird. The problem is that if I go online, the emails all disappear from thunderbird.

At first my restored emails weren't even showing up. I decided to turn off Wifi and then restore the backup files and they were all there!

But now I cant go online without them disappearing. I think this is because thunderbird is talking to gmail and realizing that the files were deleted?

What can I do to keep the files while I am online?

Hello, I deleted some emails from my thunderbird account by accident. They do not show up in my Gmail anymore either. I restored these emails using time machine and when I am offline, they show up in thunderbird. The problem is that if I go online, the emails all disappear from thunderbird. At first my restored emails weren't even showing up. I decided to turn off Wifi and then restore the backup files and they were all there! But now I cant go online without them disappearing. I think this is because thunderbird is talking to gmail and realizing that the files were deleted? What can I do to keep the files while I am online?

所有回覆 (2)

more options

If you are using IMAP mail accounts then the email is synchronized with the mail server and it is considered to be the "canonical source" so you can restore from backup for ever, then when the sync occurs all the mail will be removed to bring the local copy into sync with the server.

You only hope is to restore it to another location and use the import export tools addon to import the mail into Thunderbird into "local folders" as they are not synchronized with the server

https://addons.thunderbird.net/en-US/thunderbird/addon/importexporttools-ng/?src=ss

more options

Thank you for your help!

That didn't work for me, the importexporttool wouldn't do anything once I downloaded it. But I did find this workaround:

The workaround:

in Mail.app open a folder such as Inbox, go to menu "Mailboxes" -> Export mailbox, save the file to your Desktop. On your desktop you'll see a file named "Inbox.mbox". Double-click on the file and you'll see its contents in a Finder window:

The file "mbox" contains all messages from your exported Inbox folder in Mail.app. Rename it to "Inbox" (or Inbox-1, Inbox-2, ... if you have several POP accounts in Mail.app). Go to Users/username/Library/Thunderbird/Profiles/chjkodif.default/Mail/Local Folders/ and drag the renamed Inbox (or Inbox-1, ..) file into "Local Folders", while Thunderbird is closed. Now start TB and you should see the imported Inbox as a sub-folder of "Local Folders".

Proceed the same way to export all your folders from Mail.app, e.g. for the "Sent (Messages)" folder you will get a "Sent Messages.mbox" file -> double-click it and rename the "mbox" file to "Sent" (or Sent-1), ... etc.