Damon Register wrote:
David C. Rankin wrote:
It wasn't pretty, but you can, for the most part, recover all accidentally deleted files in a thunderbird mailbox. The key is the mail header line containing "X-Mozilla-Status: xxxx" where xxxx is a four hex-digit code for the messages status (new, read, forwarded, replied, deleted, etc...). I attempted to do this by script, but ran into limitations with the bash builtin "read" stripping leading whitespace from the mail header lines so I ended up doing a simple search and replace in vi using %s/X-Mozilla-Status: xxxx/X-Mozilla-Status: yyyy/ to update the values to undelete the messages.
I ran into this problem a year ago at work and since I had a lot of folders, I wrote my own C++ program to fix all the folders. Your post just reminded me of that so I found my old program which I will need because I just had this problem at home. When I found this problem the first time, I learned about the fix after searching Mozilla. Since this is a known problem, I don't know why Thunderbird doesn't have a repair tool.
Damon Register
Evidently the "nightly build" of thunderbird does have the option to restore deleted mails. It certainly isn't a solution and probably is for testing during development. 99% of the people that get bitten certainly are not going to be able to manually install a nightly build to recover mail. I agree with you, thunderbird should include a function in the folder context menu that allows you to recover deleted mail. The context menu has a "compact folder" option, the "recover deleted mail" option makes sense as well. Oh well. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org