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

Thunderbird 91 compact folders

  • 2 replies
  • 1 has this problem
  • 2 views
  • Last reply by Wayne Mery

more options

How do I prevent Thunderbird 91 compact from removing my sent emails? I want to store them for legal and other reference reasons, so want to circumvent compact deleting them, but otherwise do a compact.

What is the time period that makes Thunderbird 91 emails expired, thus seeing them removed by compact? I ask this because the explanation given does not mention a period, which is unhelpful, but necessary. Is there a setting for that would enable the user to set the expiry period?

Speedprj2

How do I prevent Thunderbird 91 compact from removing my sent emails? I want to store them for legal and other reference reasons, so want to circumvent compact deleting them, but otherwise do a compact. What is the time period that makes Thunderbird 91 emails expired, thus seeing them removed by compact? I ask this because the explanation given does not mention a period, which is unhelpful, but necessary. Is there a setting for that would enable the user to set the expiry period? Speedprj2

All Replies (2)

more options

Just for clarification of the above questions, I was reading the following, which says:

How does compact work? Thunderbird opens the MBOX file on the disk (for example, the Inbox), and based on the rules for the MBOX mail format it reads the file one message at a time:

If the message is still current, it is copied to a new temporary MBOX file, called Nstmp. If the message was marked as deleted or moved, that message is skipped and not moved to the mtemporary MBOX file. This repeats until the end of the file is reached. Then the original storage file is deleted, the new one replaces it, and a new index for this message file is created (for example Inbox.msf). The end result is the gaps (the dirt) are gone.

Therefore, when I said above "emails expired" I was referring to "still current" or its opposite i.e. not current. The other question is referring to moved messages being skipped in the process, therefore not retained - I believe that explains my loss of Sent messages, or that the Sent folder was skipped.

Speedprj2

more options

Why do you think Compact would touch undeleted messages in Sent?

Compact doesn't even touch messages in trash unless the trash has been emptied.

Please see https://support.mozilla.org/en-US/kb/compacting-folders