MozillaZine

How to re-index/build .msf files (for maildir-based POP3 acc

User Help for Mozilla Thunderbird
pxstein
 
Posts: 3
Joined: August 8th, 2019, 2:13 am

Post Posted August 8th, 2019, 2:19 am

In my Thunderbird I have several maildir-based POP3 accounts defined with hundreds of (sub)folders.

Once, a couple of days ago, my 64bit Win7 system crashed (outside of Thunderbird).

As a side effect some (but not all) .msf files were reset to size 0 bytes.
When I click now (after restart) on the corresponding folders some (but not all) messages from these message folders were marked as unread (mostly from months ago).

This is strange since I definitively already read them all.

How can this happen at all?

Ok, I could select and mark them as read manually.
But for hundreds of (sub)folders this procedure is very uncomfortable.

How can I improve this read-and-mark?
Is there a "mark-as-read-for-all-messages-in-folder-tree"?

Thank you
Peter

tanstaafl
Moderator

User avatar
 
Posts: 45491
Joined: July 30th, 2003, 5:06 pm

Post Posted August 8th, 2019, 4:46 am

If they are resized to 0 bytes marking as read is not sufficient to fix them.

I suggest you use wild cards to delete all of the *.msf files in the profile using something like del /S/Q *.msf from a windows console. The /S means perform that action in all subdirectories too. You can open a windows console using the cmd program from the windows search field and then use cd commands to navigate to the profile.

Be careful using /S, if you don't specify the filename correctly who knows what it will blindly delete.

https://www.c3scripts.com/tutorials/msdos/commands.html

If you are using windows 7 you might be able to use help -> troubleshooting information -> open folder to open windows explorer at the profile, and then hold down the shift key and right click to open a windows console at that location.

pxstein
 
Posts: 3
Joined: August 8th, 2019, 2:13 am

Post Posted August 8th, 2019, 4:48 am

Thank you.

But how can a resize to 0 happen (especially for only some but not all .mef files)?

Assume I would delete the .msf files.

When will they be re-build?
(only?) when I click on the corresponding folder in Thunderbird?

tanstaafl
Moderator

User avatar
 
Posts: 45491
Joined: July 30th, 2003, 5:06 pm

Post Posted August 8th, 2019, 9:02 am

Thunderbird should automatically rebuild the *.msf files when you restart it, though I've only tested that with mbox files.

No idea why you got 0 size *.msf files.

pxstein
 
Posts: 3
Joined: August 8th, 2019, 2:13 am

Post Posted August 20th, 2019, 3:15 am

So ok, I deleted a couple of zero-length .msf files (TB is not launched).

Then I started TB .....and TB re-created zero-length .msf files

Only if I click at least 1 time onto the corresponding folder in TB, mark all messages, mark all as read then the referred *.msf file is really re-created with a non-zero length.

Is there no way to automate this (from cmdline)?

Return to Thunderbird Support


Who is online

Users browsing this forum: Bing [Bot] and 5 guests