搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.