为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Message filters keep disappearing, and the msgFilterRules.dat file gets small.

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Bobz

more options

I am using Thunderbird for several email accounts. Message filtering works well on most of them.

But filter rules keep disappearing for my Yahoo account. If I shut down Thunderbird, copy a valid msgFilterRules.dat file into the profile folder, and start up Thunderbird, I can see the filters and they work. But some time later, the filters stop working, I can see no filters, and the msgFilterRules.dat file is very small. I can also get filters to work by creating them in Thunderbird, but they later disappear. This is a Yahoo account.

Thank you.

I am using Thunderbird for several email accounts. Message filtering works well on most of them. But filter rules keep disappearing for my Yahoo account. If I shut down Thunderbird, copy a valid msgFilterRules.dat file into the profile folder, and start up Thunderbird, I can see the filters and they work. But some time later, the filters stop working, I can see no filters, and the msgFilterRules.dat file is very small. I can also get filters to work by creating them in Thunderbird, but they later disappear. This is a Yahoo account. Thank you.

被采纳的解决方案

I _think_ I solved the problem.

I got the idea that maybe the problematic (Yahoo) account was accidentally sharing its local folder with another account. Or perhaps two folder names were close enough to confuse Thunderbird. I confirmed that all the folder names are distinct, and the second hypothesis is weird. But at least I had something to try. So I a) shut down Thunderbird b) created a new folder with a name very different from the others c) started Thunderbird d) changed the local folder for the problematic Yahoo account to the new folder e) restarted Thunderbird f) created new filter rules for the problematic Yahoo account

That was almost 12 hours ago, and the rules are still around. I restarted Thunderbird once, as an extra test. I have no good theory to explain why my "method" worked, and I'm generally cautious. So I'll wait a day or two before I mark this is solved. But I'm hopeful.

定位到答案原位置 👍 0

所有回复 (6)

more options

When you say the .dat file is copied into the 'profile folder', are you copying it into the Mail/<popservername> or ImapMail/<imapservername> subfolder, overwriting the existing .dat file? Each account has its own subfolder and .dat file. Is TB closed when you copy in the file?

more options

I copied the .dat file into the folder I specify in account settings -> server settings -> local directory, which is _not_ the default. I did this while Thunderbird was closed, and I have a separate local directory, and thus separate msgFilterRules.dat file, for each account.

more options

Bobz said

I copied the .dat file into the folder I specify in account settings -> server settings -> local directory, which is _not_ the default. I did this while Thunderbird was closed, and I have a separate local directory, and thus separate msgFilterRules.dat file, for each account.

I think you need to provide more information. Where is this "non standard" file located. Local machine or somewhere else for instance.

For a long time support folks have counseled about keeping a profile folder together, if for no other reason that manually specifying random locations for account mail makes for difficult migrations. So you will need to be specific about where exactly things are stored, on what sort of devices etc.

Can you reproduce this using safe mode of your operating system?

If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.
more options

In Thunderbird list of accounts, click on account name In "accounts", click on "view settings for this account" In "server settings", under "message storage", set the value for "local storage" The directory I specify is on a local drive.

I have also tried setting filters for this Yahoo account using the dialog box that comes up when I press "Manage message filters". No matter which way (dialog box or copying msgFilterRules.dat file) for this specific account, the filters work for a while, then disappear.

I have no problems using Message filters in 10 other accounts. Each of those accounts has its own local directory with its own msgFilterRules.dat file on the same local drive. So I really don't understand the relevance of safe mode.

I'm running Thunderbird under Windows 10 in a VMWare virtual machine with 3 processors and 5 GB RAM. The virtual drive I use for the local directories has 10 GB free out of 40 GB. Windows Resource Monitor shows none of the resources is near its limit.

The host computer is a Lenovo ThinkPad X1 running Windows 10 with 16 GB RAM and 6 processors. Windows Resource Monitor shows none of its resources is near its limit.

more options

选择的解决方案

I _think_ I solved the problem.

I got the idea that maybe the problematic (Yahoo) account was accidentally sharing its local folder with another account. Or perhaps two folder names were close enough to confuse Thunderbird. I confirmed that all the folder names are distinct, and the second hypothesis is weird. But at least I had something to try. So I a) shut down Thunderbird b) created a new folder with a name very different from the others c) started Thunderbird d) changed the local folder for the problematic Yahoo account to the new folder e) restarted Thunderbird f) created new filter rules for the problematic Yahoo account

That was almost 12 hours ago, and the rules are still around. I restarted Thunderbird once, as an extra test. I have no good theory to explain why my "method" worked, and I'm generally cautious. So I'll wait a day or two before I mark this is solved. But I'm hopeful.

more options

Message filters are still intact 3 days later, despite at least one accidental shut down. I would feel much more confident if I understood why my "fix" worked. But I'm confident to mark this fixed.