본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

After running new filter, messages gone. Message file there, but repairing does not rebuild MSF. How to recover

  • 2 답장
  • 1 이 문제를 만남
  • 18 보기
  • 최종 답변자: Matt

more options

Created a new filter, ran it on an existing local folder. Thunderbird crashed. When I restarted thunderbird, it picked then to automatically install updates. When I was done, the folder I ran the filter on was empty.

I went to the the folder ddirectory, and there is the msssage file itself, about 153MB worth (which is about right), and the msf file for it is only 3 kB (comparable size local folders are 100 times beigger, at least).

Tried all known methods to repair this, including going to the properties for the folder and clicking repair, or stopping thunderbird, manually deleting the msf file and restarting thunderbird. In all cases, I end up with an empty folder, and an msf file being either 0 kb or 3 kb.

How do I recover this folder?

Created a new filter, ran it on an existing local folder. Thunderbird crashed. When I restarted thunderbird, it picked then to automatically install updates. When I was done, the folder I ran the filter on was empty. I went to the the folder ddirectory, and there is the msssage file itself, about 153MB worth (which is about right), and the msf file for it is only 3 kB (comparable size local folders are 100 times beigger, at least). Tried all known methods to repair this, including going to the properties for the folder and clicking repair, or stopping thunderbird, manually deleting the msf file and restarting thunderbird. In all cases, I end up with an empty folder, and an msf file being either 0 kb or 3 kb. How do I recover this folder?

모든 댓글 (2)

more options

cartchunk said

Created a new filter, ran it on an existing local folder. Thunderbird crashed. When I restarted thunderbird, it picked then to automatically install updates. When I was done, the folder I ran the filter on was empty. I went to the the folder ddirectory, and there is the msssage file itself, about 153MB worth (which is about right), and the msf file for it is only 3 kB (comparable size local folders are 100 times beigger, at least). Tried all known methods to repair this, including going to the properties for the folder and clicking repair, or stopping thunderbird, manually deleting the msf file and restarting thunderbird. In all cases, I end up with an empty folder, and an msf file being either 0 kb or 3 kb. How do I recover this folder?

Well, being a little adventurous AND having a lot of experience with awk, I first was able to determine that bit 3 of the X-Mozilla-Status was asserted, signalling that all these messages were marked for delete. Once I knew that, and also knew that all 1357 messages were in the mailbox, I wrote a simple awk script that went through, read each line, and on the ones holding the value of X-Mozilla-Status, I read the value in, converted it to an int, cleared bit 3, and wrote the line back out. All other lines were written exactly as found.

Took me an hour to design, write and debug the script. Ran it a few times to work out the final kinks, then ran it for real, with Thunderbird not running. It took maybe 10 seconds to go through the entire mailbox (about 2 million lines).

I then restarted Thunderbird, right-clicked on the busted mailbox and selected Properties, clicked the Repair button, and about 3 seconds later, the number of messages went from 0 to 1370, and it seems nothing was lost.

more options

perhaps next time you will just use the undelete add-on. https://freeshell.de//~kaosmos/index-en.html#recDelMsg