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.

Search Support

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.

ఇంకా తెలుసుకోండి

Is it possible to update filter rules in Thunderbird via custom extension?

  • 5 ప్రత్యుత్తరాలు
  • 1 ఈ సమస్య కలిగినది
  • 1 వీక్షణ
  • చివరి సమాధానమిచ్చినది GreezXII

more options

Hi and thank you for your attention.

I want to create an extension for Mozilla Thunderbird that implement some sort of black list. It is possible to create filter rules for mails and I want to add a button which create filter rule for selected address. These rules are stored in msgFilterRules.dat file and I could manually edit it but only when Thunderbird is closed.

Is there any way to manipulate this file with some sort of API or WebExtensions?

Hi and thank you for your attention. I want to create an extension for Mozilla Thunderbird that implement some sort of black list. It is possible to create filter rules for mails and I want to add a button which create filter rule for selected address. These rules are stored in msgFilterRules.dat file and I could manually edit it but only when Thunderbird is closed. Is there any way to manipulate this file with some sort of API or WebExtensions?

ఎంపిక చేసిన పరిష్కారం

Thanks to John Bieling from https://thunderbird.topicbox.com/groups/addons

currently we have no API to manipulate filters, but it has been requested and we will add that eventually. In the meantime, you could implement your own filter system, by listening for new messages and move them if they hit your own blocklist: https://webextension-api.thunderbird.net/en/91/messages.html#onnewmailreceived https://webextension-api.thunderbird.net/en/91/messages.html#move-messageids-destination
ఈ సందర్భంలో ఈ సమాధానం చదవండి 👍 0

ప్రత్యుత్తరాలన్నీ (5)

more options

> Is there any way to manipulate this file with some sort of API or WebExtensions?

With Thunderbird closed? No.

more options

Wayne Mery said

> Is there any way to manipulate this file with some sort of API or WebExtensions? With Thunderbird closed? No.

Sorry, I'm afraid you got me wrong. I’m looking for a way to create filter rules via WebExtensions when Thunderbird is open or at least edit msgFilterRules.dat file when Thunderbird is open .

more options

I suggest you join the web extensions mailing list to ask your questions on developing same. BTW Thunderbird calls them mail extensions and they are not the same as those used in Firefox and Chrome.

https://thunderbird.topicbox.com/groups/addons

You might also want to look at the Thunderbird developer documentation. https://developer.thunderbird.net/thunderbird-development/getting-started

and documentation for mail extension authors https://developer.thunderbird.net/add-ons/mailextensions

more options

Matt said

I suggest you join the web extensions mailing list to ask your questions on developing same. BTW Thunderbird calls them mail extensions and they are not the same as those used in Firefox and Chrome. https://thunderbird.topicbox.com/groups/addons You might also want to look at the Thunderbird developer documentation. https://developer.thunderbird.net/thunderbird-development/getting-started and documentation for mail extension authors https://developer.thunderbird.net/add-ons/mailextensions

Thank you! I think mailing list may be very useful.

more options

ఎంపిక చేసిన పరిష్కారం

Thanks to John Bieling from https://thunderbird.topicbox.com/groups/addons

currently we have no API to manipulate filters, but it has been requested and we will add that eventually. In the meantime, you could implement your own filter system, by listening for new messages and move them if they hit your own blocklist: https://webextension-api.thunderbird.net/en/91/messages.html#onnewmailreceived https://webextension-api.thunderbird.net/en/91/messages.html#move-messageids-destination