Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Contents of Thunderbird folder missing. Cannot restore from a backup of Profiles folder.

  • 5 replies
  • 1 has this problem
  • 6 views
  • Last reply by Zenos

more options

I'll do this in point form: - In the Thunderbird program, the contents of the folder "Enquiries, which earlier in the day were 400-500 emails were suddenly missing. The folder is still in the left pane, but clicking on it reveals no emails. - It is a POP3 account, not IMAP. - I went into profiles/mail, located the folder and there was no data. - Fortunately, I had a back-up and so copied the "Enqiries file and its .msf partner back into my mail folder. The back-up file must contain data: it is 228mb. - Again, in Thunderbird there are no emails showing when I click on that folder although there should be 228mb of them. - Can anybody help? I tried deleting the .msf and bringing it back but no good. - see screenshots of windows explorer and Thunderbird.

I'll do this in point form: - In the Thunderbird program, the contents of the folder "Enquiries, which earlier in the day were 400-500 emails were suddenly missing. The folder is still in the left pane, but clicking on it reveals no emails. - It is a POP3 account, not IMAP. - I went into profiles/mail, located the folder and there was no data. - Fortunately, I had a back-up and so copied the "Enqiries file and its .msf partner back into my mail folder. The back-up file must contain data: it is 228mb. - Again, in Thunderbird there are no emails showing when I click on that folder although there should be 228mb of them. - Can anybody help? I tried deleting the .msf and bringing it back but no good. - see screenshots of windows explorer and Thunderbird.

All Replies (5)

more options

Close Thunderbird. Open your Enquiries file in a text editor (Notepad or similar). Do a search for X-Mozilla-Status. What numerical value do you see there? There will be many of these entries; one per message.

If it is not zero, then try doing a global search-and-replace to change that value to zero. (Formally, it should be a string of several zeroes. I'd suggest you replace whatever you find with the equivalent number of zero digits, e.g. 0009 changes to 0000.) Save your changes, restart Thunderbird.

Zero indicates an unread message. Certain numeric values indicate a deleted message, and so such messages will not be displayed. By re-setting all the non-zero values to zero we make them all effectively unread so they will re-appear.

more options

Thanks Zenos, I'll give it a go. Currently trying to open Enquiries in Notepad, but it might be too big. I assume you mean, open Notepad, open file, open all files, open "Enquiries"? Can't see how else to do it. And I'll get back to you if this works and I have to save!

more options

I've been using Notepad++ for so long I can't remember what regular Notepad can or can't do. Your 500 or so messages shouldn't be a huge file, but of course it may contain legitimately deleted messages and so have rather more than your expected 500.

You can do this in Wordpad or Word, but you need to take care that it is saved as a text file and that no sneaky ".txt" extensions are added. Actually, the same consideration about an unwanted extension goes for Notepad too.

Try shift+right-click on the file and choose "Open with".

Or, open Notepad, then drag-and-drop Enquires onto it.

Modified by Zenos

more options

I got it to open in Notepad++ and this is what I got (see screen shot). The entire 228mb file is nothing but this "NUL" thing. Think I'm in trouble.

more options

Er, yes, that is an extremely empty file. :-(

You have twice given the file's name as "Enquiries - is this intentional? I take care to avoid "funny" characters in Thunderbird's file and folder names. A folder in Thunderbird is represented by a file in your file system and so needs to observe the same constraints as apply to filenames. For that reason I take care to avoid slashes, asterisks, quotes and the like because they all have special meaning to the file system. Thunderbird is flawed in that it doesn't raise objections to "improper" filenames.

I'm not saying this is a fault, but I don't know how the file system copes with a filename with an unmatched quote. We use quotes formally to specify so-called "long filenames" that include spaces, such as "my house.jpg". My conservative approach would lead me to prefer the name my_house.jpg and then I avoid the complication of the space and the need to quote the filename.