為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Message filter setup isn't saved

  • 7 回覆
  • 0 有這個問題
  • 72 次檢視
  • 最近回覆由 Matt

more options

I have had message filters set up for a long time. Recently I tried to make some changes (adding one filter, deleting others, changing the response). I find that if I close Thunderbird and reopen it, all my changes are gone! How can I get the filter changes to stick?

I have had message filters set up for a long time. Recently I tried to make some changes (adding one filter, deleting others, changing the response). I find that if I close Thunderbird and reopen it, all my changes are gone! How can I get the filter changes to stick?

被選擇的解決方法

msgfilterrules.dat Otherwise, Matt is right on.

從原來的回覆中察看解決方案 👍 0

所有回覆 (7)

more options

Message filters are stored on disk in text files. One in each account called messagefilter.dat. I suggest you check the relevant files in your profile and monitor of they are say read only, or something is preventing new copies being written. Often multiple files with numbers are also found in this sort of circumstance as Thunderbird's response to a write error is a new file with a number, which it never ever refers to.

Generally this type of error related to file contention caused by antivirus scanning, cloud sync or streaming backups, although remote storage of the profile sometime sees this as well because of network latency.

more options

Thanks, Matt, for your suggestion. I've done a complete search of my desktop computer for messagefilter*.dat, but it found nothing. Not only that, but I have a laptop computer set up in much the same way as the desktop. A search on that also turned up nothing, but with the laptop changes in the message filters *are* saved! Could the message filter file have a different name than messagefilter*.dat?

more options

P.S. I also tried running Thunderbird in troubleshooting mode and made some changes in the message filters. When I exited and reopened Thunderbird in normal mode, I found that the changes had not been saved, just as before.

more options

選擇的解決方法

msgfilterrules.dat Otherwise, Matt is right on.

more options

Thanks David. I've found the msgfilterrules.dat file, but it's not being written to. I need to investigate further but unfortunately don't have time right now. I may be back!

more options

Unfortunately, I am back! I'm confused: The file MsgFilterRules.dat is stored in a particular folder (not the default). If I make changes in the file with a text editor, those changes are reflected in the list Tools > Message Filters in Thunderbird when I open it. However if I then click "Edit" and make a change in or delete one of the filters, the change is gone if I close and then reopen Thunderbird. Nor has the MsgFilterRules.dat file been changed. Why doesn't Thunderbird save the changes?

more options

coffent said

Unfortunately, I am back! I'm confused: The file MsgFilterRules.dat is stored in a particular folder (not the default).

It will be stored in the accounts "local directory" that is shown in the server settings for the account. I am not aware of an option to redirect it to somewhere other than that.