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

Mozilla 도움말 검색

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

자세히 살펴보기

Some empty mail folders after Thunderbird migration.

  • 3 답장
  • 0 이 문제를 만남
  • 1 보기
  • 최종 답변자: venco5

more options

I've migrated Thunderbird profile with lot of local folders to a new Windows computer, and almost everything works fine. However, few folders are shown empty in Thunderbird, and they certainly have some mail - I can see it in the corresponding files. When I look at a problematic folder properties it shows that its location is different from the actual file - some random 8 letters, and Thunderbird created an empty folder with this name. I've tried to remove folderTree.json, folderCache.json, and even global-messages-db.sqlite, and restarted the Thunderbird. The properties of the folder remain the same and the directory with wrong name is created again, and the folder remains empty. Other mail folders are fine - the emails are rescanned.

Where the mapping from local mail file name to Properties/Location is stored? I cannot find it with grep - the only reference I've found was in the files I removed, but the mapping somehow persists.

I've migrated Thunderbird profile with lot of local folders to a new Windows computer, and almost everything works fine. However, few folders are shown empty in Thunderbird, and they certainly have some mail - I can see it in the corresponding files. When I look at a problematic folder properties it shows that its location is different from the actual file - some random 8 letters, and Thunderbird created an empty folder with this name. I've tried to remove folderTree.json, folderCache.json, and even global-messages-db.sqlite, and restarted the Thunderbird. The properties of the folder remain the same and the directory with wrong name is created again, and the folder remains empty. Other mail folders are fine - the emails are rescanned. Where the mapping from local mail file name to Properties/Location is stored? I cannot find it with grep - the only reference I've found was in the files I removed, but the mapping somehow persists.

모든 댓글 (3)

more options

venco5 said

I've migrated Thunderbird profile with lot of local folders to a new Windows computer, and almost everything works fine. However, few folders are shown empty in Thunderbird, and they certainly have some mail - I can see it in the corresponding files. When I look at a problematic folder properties it shows that its location is different from the actual file - some random 8 letters, and Thunderbird created an empty folder with this name. I've tried to remove folderTree.json, folderCache.json, and even global-messages-db.sqlite, and restarted the Thunderbird. The properties of the folder remain the same and the directory with wrong name is created again, and the folder remains empty. Other mail folders are fine - the emails are rescanned. Where the mapping from local mail file name to Properties/Location is stored? I cannot find it with grep - the only reference I've found was in the files I removed, but the mapping somehow persists.

The path to folders is derived from the account directory in account settings plus the appropriate additions of folder names. Generally this stuff is not hard coded, it is hard coded after folk set it to something other than it's default usually.

글쓴이 Matt 수정일시

more options

The path to folders is correct - most of the folders are shown without problem. It's only few of the files in the profile Mail folder are shown as empty. The corresponding files are not empty, but the folder Properties/Location field show that the specific folder location is not equal to corresponding file, but have its name part replaced with randomly looking 8 symbols - bcfdd710 for example.

So, for the folder that's fine Thunderbird shows Properties/Location as "mailbox:///C:/Users/UserName/AppData/Roaming/Thunderbird/Profiles/profile-dir/Mail/Local Folders/Info" for example (I've changed user and profile name). But, the folder that's shown as empty in Thunderbird has the location as "mailbox:///C:/Users/UserName/AppData/Roaming/Thunderbird/Profiles/profile-dir/Mail/Local Folders/bcfdd710/" where the "bcfdd710" part isn't equal to the mail file name, and I don't know where the "bcfdd710" comes from.

Oh, I've just noticed that all problematic folders have non-ASCII symbols in their file name, could it be the cause the problem? There was no problem on the Windows I've migrated from, but maybe some system-wide configuration could affect that?

more options

Apparently non-ASCII symbols in mail file name are the culprit. For some reason Thunderbird rejects this name or rather generate another name from it (hash?) and then creates folder with generated name and forgets about the original file. So, as a workaround, I've renamed the files to some ASCII version, and then renamed the folders inside Thunderbird to the desired non-ASCII names back.