We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Folder Recovery - Repair Folder Does not work.

  • 3 cavab
  • 0 have this problem
  • 1 view
  • Last reply by Wayne Mery

more options

I have two folders that appear to have been corrupted. One is roughly 310MB and one 220 MB. The information appears to be there when viewed with a text editor, but "Repair Folder" in folder properties is not restoring the messages. One folder has zero messages and one displays two messages.

Any Solutions?

I have two folders that appear to have been corrupted. One is roughly 310MB and one 220 MB. The information appears to be there when viewed with a text editor, but "Repair Folder" in folder properties is not restoring the messages. One folder has zero messages and one displays two messages. Any Solutions?

All Replies (3)

more options

If these are imap folders, with Thunderbird shut down you can delete the underlying files in the Windows file explorer

more options

Well, I sort of solved the problem:

I downloaded a program called 'IMAPsize' and used it to export the contents of the troublesome mbox file to a series of individual *.eml files.

Next, I used the 'search and replace in files' function in Notepad++ to rewrite the 'X-Mozilla-Status:' line to have a code '0001'. For some reason all the messages were reset to some version of 'this message has been deleted."

I then imported all the individual messages using the ImportExportTools add-in.

After all this, I still had a dozen or so messages (out of nearly 800) that were corrupted/damaged.

So that problem was solved, but the question remains is why did this happen to a folder that was not in active use? I didn't add or delete a message in this folder for months if not years.

Why does Tbird suddenly corrupt messages within a folder?

Is there a way to prevent this?

Is the current maildir implementation safer?

more options

This topic has unfortunately autoclosed, which means I cannot reopen it.

If you are still seeing problems when using version 128, please create a new support posting. Thanks.