搜尋 Mozilla 技術支援網站

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

Learn More

How to view which messages has been marked as deleted and needs to be compacting in Thunderbird? (My pop account Trash folder is empty)

  • 11 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 Matt

more options

Hi. As my title says, I want to know exactly which messages has been marked as deleted and needs to be compacting in Mozilla Thunderbird.

I have Mozilla Thunderbird version 68.8.0 (32-bit) installed on my system (Windows 10 Home).

Thunderbird started to asking me (since past week) to compact folders and save 200MB. The strange thing is that, while I am never deleting messages from folders nor I am moving messages to other folders, Thunderbird gives me this question!

So, before push the Compact Now button and accidentally lose any of my data, I would like to see the list of messages that has been marked as deleted by Thunderbird to see what went wrong (maybe I moved by mistake some messages to Trash for example sometime...).

How can I accomplish this?

Hi. As my title says, I want to know '''exactly''' which messages has been marked as deleted and needs to be compacting in Mozilla Thunderbird. I have Mozilla Thunderbird version 68.8.0 (32-bit) installed on my system (Windows 10 Home). Thunderbird started to asking me (since past week) to compact folders and save 200MB. The strange thing is that, while I am '''never''' deleting messages from folders nor I am moving messages to other folders, Thunderbird gives me this question! So, before push the Compact Now button and accidentally lose any of my data, I would like to see the list of messages that has been marked as deleted by Thunderbird to see what went wrong (maybe I moved by mistake some messages to Trash for example sometime...). How can I accomplish this?

由 Wayne Mery 於 修改

所有回覆 (11)

more options

So you do not mark messages as junk and they move to deleted, you never move mails from the inbox to another folder. That sounds like an accident waiting to happen. But each to their own.

As compacting does not remove an mail that is visible in any folder, just do it.

more options

To be fair, I didn't understand exactly what you are trying to say Matt...!

I want to see which messages has been marked as deleted because (maybe, by accident) I deleted them without intending to do so... (for example, maybe I moved a folder to trash, out of sheer momentum by my mouse...).

How can I see (and maybe restore) these e-mails instead of totally deleting/compact them?

more options

Anyone who has an answer?

more options

MinimalTech said

I would like to see the list of messages that has been marked as deleted by Thunderbird to see what went wrong (maybe I moved by mistake some messages to Trash for example sometime...).

There is no reliable way to see all messages that will be affected by compact - because it includes messages that have been moved (manually or automatically by Junk filter for example), deleted, and also automatically purged by retention.

The best you can do is look at trash folder. If all your manually deleted messages are in trash, why not just check trash?

more options

@Wayne Mery,

the problem is that I have nothing in Trash!! The Trash folder is empty. And Thunderbird wants to delete over 200MB of data! So I am not sure if it will delete (by bug or by accident) important data or junk as you say...

Since all e-mails for a specific account are stored in only 1 file in Thunderbird, and the e-mails for compacting are just marked as deleted and they continues to exist in this file, how hard is someone to read only the records of the file that has for example a "deleted=1" field?

more options

MinimalTech said

how hard is someone to read only the records of the file that has for example a "deleted=1" field?

Until you can figure out why messages are not in the Trash folder, the best you can do in that respect is change account settings for "When I delete a message" to "Just mark it as deleted".

more options

Wayne Mery said

the best you can do in that respect is change account settings for "When I delete a message" to "Just mark it as deleted".

Wayne Mery, until we find a way to read these messages, can you please tell me where this setting is located? Because I can not find it.

more options

Account Settings > (pick your account) > Server Settings

Then for messages which have been deleted, you will see them in the message list with strike out through the line.

It is probably only applicable to messages you delete AFTER you change the setting. So it won't help you with messages you already deleted.

more options

Wayne Mery said

Account Settings > (pick your account) > Server Settings

Wayne Mery, did you see the screenshot in my previous answer??

more options

Sorry, I was thinking you have an imap account, but you have a pop account.

more options

MinimalTech said

@Wayne Mery, the problem is that I have nothing in Trash!! The Trash folder is empty. And Thunderbird wants to delete over 200MB of data! So I am not sure if it will delete (by bug or by accident) important data or junk as you say... Since all e-mails for a specific account are stored in only 1 file in Thunderbird, and the e-mails for compacting are just marked as deleted and they continues to exist in this file, how hard is someone to read only the records of the file that has for example a "deleted=1" field?

Seriously, that is not correct. It is one file per folder, not one file per account.

The files are text files, so you are welcome toopen the file is a text editor and laboriously check through the contents of the file looking for messages with a x-mozilla status of 08. I slow process, but apparently you are stuck on a small and irrelevant point the amount of space it claims will be saved. It is a known fact that the disk space reported that will be saved is often incorrect. You may well compact and save nothing. Like I said right at the beginning, just do it. (compact)