This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to massively modify my filter rules ?

  • 1 (رد واحد)
  • 1 has this problem
  • 3 views
  • آخر ردّ كتبه Zenos

more options

Hi Everyone !

I already use large amount of filter rules to sort and redirect messages into folders. Many of these rules use the domain name of the sender to redirect the messages in the right folder.

Unfortunately some of this domain name may change and implies numerous modifications to the associated rules.

Would there be a way, a tool, to edit the rules in a file and massively modify then with a "search & Replace" like tool or function ?

Thanks for your replies. bderoissy

Hi Everyone ! I already use large amount of filter rules to sort and redirect messages into folders. Many of these rules use the domain name of the sender to redirect the messages in the right folder. Unfortunately some of this domain name may change and implies numerous modifications to the associated rules. Would there be a way, a tool, to edit the rules in a file and massively modify then with a "search & Replace" like tool or function ? Thanks for your replies. bderoissy

All Replies (1)

more options

Filters are stored in files named msgFilterRules.dat, one for each account. They are human-readable text, so I would do a large scale change of the sort you describe by editing those files with a competent editor, such as Notepad++. It can do regular expressions and act upon multiple files.

Close Thunderbird before making changes to any of the files in its profile. And make backups too.

Modified by Zenos