Thunderbird 的 .msf 文件中是否存在已读/未读信息?
我运行了 gmail 备份,它将我的所有 Gmail 邮件标记为已读。啊。我实际上使用已读/未读信息。我刚刚安装了 Thunderbird,它在“所有邮件”中显示数百条未读邮件。只是它只下载了标头,而不下载消息。所以 Thunderbird 中的某些内容知道它们未读,但我不确定到底是什么。
我读到任何邮件文件夹都有两个文件,一个是mbox 格式文件和 .msf 文件。 “所有邮件”的 mbox 格式文件不包含所有邮件。但是,.msf 文件相当大,我想知道它是否包含所有已读/未读信息。
如果是这样,我会考虑提取它,然后返回并以编程方式重新应用它(例如,使用 gmail4j)。
I ran gmail backup, which marked all my gmail messages as read. Ugh. I actually use that read/unread information. I had just installed Thunderbird, and it shows hundreds of messages in "All Mail" that are unread. Only it had only downloaded the headers, not the messages. So something in Thunderbird knows they are unread, but I'm not sure exactly what.
I read that there are two files for any mail folder, an mbox-format file and a .msf file. The mbox format file for "All Mail" does not have all the messages. However, the .msf file is pretty big, and I wonder if it has all the read/unread info.
If it does, I would consider extracting it, and going back and reapplying it programmatically (say, using gmail4j).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
msf
文件使用 Mork 格式,因此阅读它非常复杂。幸运的是,您不必这样做:mbox 文件中的邮件有一个特殊的X-Mozilla-Status
标头。它是一个结合了许多标志的十六进制值。此标头中的最低位 (0x0001
) 仅为已读取的消息设置 - 如果不存在,则该消息未读。The
msf
file is using Mork format so reading it is pretty complicated. Fortunately, you don't have to: the mails in the mbox file have a specialX-Mozilla-Status
header. It's a hexadecimal value combining a number of flags. The lowest bit in this header (0x0001
) is only set for messages that are read - if it isn't there then the message is unread.如果您只想读取电子邮件的标题和摘要部分,那么您可以从 Mozilla Thunderbird 的 .msf 文件中读取它,因为 .msf 文件只是 Mozilla Thunderbird 的索引文件。因此您无法从中读取您的电子邮件的所有信息。要阅读您的电子邮件,您首先需要找到没有扩展名的INBOX文件的位置。
您可以在 Thunderbird 电子邮件客户端中找到它的位置:
然后,将其复制并粘贴到系统的其他位置,并将其重命名为 INBOX.mbox,然后您可以轻松地从 Mozilla 导入它Thunderbird,将其导入 Thunderbird 后可以轻松阅读您的电子邮件。
If you want to read only Header and the Summary part of your Emails, then you can read it from your .msf file of your Mozilla Thunderbird, Since The .msf file is just a index file of Mozilla Thunderbird. So you cannot read all the information of your Emails from it. To read your Emails, you first need to find the location of your INBOX File which doesn't have an extension.
you can find its location from here in your Thunderbird Email client:
Then, copy it and paste it to other location of your system and rename it to INBOX.mbox and then you can easily import it from your Mozilla Thunderbird and can Easily read your Emails after importing it on your Thunderbird.