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

搜索 | 用户支持

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

详细了解

I have a filter rule that will not delete. It reappear after every restart.

  • 4 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 pdupuis

more options

I have a filter rule (1 of 16) on a POP3 mailbox. When I select Message Filters, then the Rule and then Delete it appears to be delete (removed from the rules dialog box list). I close the Message Filter's window, Exit Thurnderbird (v45.7.1) and restart my computer and open Thunderbird, select the account and select Message Filters and the rule I delete is back.

This should not be happening. Is there any way to edit the rules file manually or rebuild the rule file in some way to fix this bug?

I have a filter rule (1 of 16) on a POP3 mailbox. When I select Message Filters, then the Rule and then Delete it appears to be delete (removed from the rules dialog box list). I close the Message Filter's window, Exit Thurnderbird (v45.7.1) and restart my computer and open Thunderbird, select the account and select Message Filters and the rule I delete is back. This should not be happening. Is there any way to edit the rules file manually or rebuild the rule file in some way to fix this bug?

被采纳的解决方案

what is the filter that comes back? We doi have an automatically generated filter that is created when the option to trust mail headers set by spamassasin is sat in the account settings.

定位到答案原位置 👍 2

所有回复 (4)

more options

There is a file, one per account, named msgFilterRules.dat which can be opened in a text editor. You'll need to read it through carefully to work out the pattern and then choose and delete the set of lines corresponding to your unruly filter.

The symptoms suggest that Thunderbird is successfully removing the filter from memory, but is unable to modify this file, so the filter disappears immediately then reappears on the next restart.

The msgFilterRules.dat file is in your profile, and profile contents are hidden by default, so you'll need to enable viewing of hidden files.

https://support.mozilla.org/en-US/kb/profiles-where-thunderbird-stores-user-data

Do make a backup of your msgFilterRules.dat file before editing it. The results can be unpredictable if such files are improperly formatted. A bad settings file can stop Thunderbird from starting.

more options

Thank you Zenos. I found the msgFilterRules.dat for the specific account. When I look in the file with a text editor, the problem rule is not present - all the other rules I see in the Message Filter dialog are there, but not the problem rule. I can exits Thunderbird, remove the msgFilterRules.dat, restart Thunderbird, and see that there are now NO message filter rules for this account. However as soon as I create a new rule (to begin rebuilding the rules I want), the offending rule reappears.

Is there any other place Thunderbird stores rules or any other way Thunderbird can add a rule to a set of message filter rules?

more options

选择的解决方案

what is the filter that comes back? We doi have an automatically generated filter that is created when the option to trust mail headers set by spamassasin is sat in the account settings.

more options

Matt said

what is the filter that comes back? We doi have an automatically generated filter that is created when the option to trust mail headers set by spamassasin is sat in the account settings.

This was the answer. I did not realize that if this feature was turned on that a rule actually appears in the Filter list for it.