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

搜尋 Mozilla 技術支援網站

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

了解更多

Filtering mails directed ONLY to a specific address. A request for appliable solutions

  • 2 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 Stans

more options

Hi all,

I've tried a lot of combination but I was totally unable to solve a simple problem which I'm going to explain, I've also thought about a workaround which is quite dirty but I'll need assistance with that too:

                            • Problem ***************

Suppose you have a mail address which might be used in "To:" or "CC:", for clarity, let's call it "Alpha".

                            • Issues with filters ***************

It might happens "Alpha" is being used as the ONLY address for "To: or CC". I'd like to create a filter rule for ONLY this kind of situation (I want to move all these mail to a folder called ALPHA - ONLY).

I've tried many combinations of filters but in the end they only checks whether alpha is one of the addresses: I'm talking about rules: "IS"; "Begins with" used together with "Ends with"; "is not in AddressBook"

I already have a folder called "Alpha-Related" where all the mails where "Alpha" is contained are redirected. The folder "Alpha-Only" will have to be subset of "Alpha-Related"

It seems to me this is not possible at all. Am I missing an option? could you please help?

                            • My workaround idea ***************

Use a script to move the mails from a folder to another. Unfortunately I'm not competent on how thunderbird stores it's content and what I should mess with and how. I've reached my account email folder in my local machine (the one inside Thunderbird's profile folder) but at in the end I'm stuck with 2 kind of files which are called like my folder:

  1. one without any extension;
  2. one with extension ".msf";

By heart I understand I need to move some content of 1 to 2, I might experiment usind diffs for the files, but still I don't know if it is all I need to do or if instead there is more to do

Could you please assist ?

Hi all, I've tried a lot of combination but I was totally unable to solve a simple problem which I'm going to explain, I've also thought about a workaround which is quite dirty but I'll need assistance with that too: ************** Problem *************** Suppose you have a mail address which might be used in "To:" or "CC:", for clarity, let's call it "Alpha". ************** Issues with filters *************** It might happens "Alpha" is being used as the ONLY address for "To: or CC". I'd like to create a filter rule for ONLY this kind of situation (I want to move all these mail to a folder called ALPHA - ONLY). I've tried many combinations of filters but in the end they only checks whether alpha is one of the addresses: I'm talking about rules: "IS"; "Begins with" used together with "Ends with"; "is not in AddressBook" '''I already have a folder called "Alpha-Related" where all the mails where "Alpha" is contained are redirected. The folder "Alpha-Only" will have to be subset of "Alpha-Related"''' It seems to me this is not possible at all. Am I missing an option? could you please help? ************** My workaround idea *************** Use a script to move the mails from a folder to another. Unfortunately I'm not competent on how thunderbird stores it's content and what I should mess with and how. I've reached my account email folder in my local machine (the one inside Thunderbird's profile folder) but at in the end I'm stuck with 2 kind of files which are called like my folder: # one without any extension; # one with extension ".msf"; By heart I understand I need to move some content of 1 to 2, I might experiment usind diffs for the files, but still I don't know if it is all I need to do or if instead there is more to do Could you please assist ?

所有回覆 (2)

more options

Have you tried creating the filter or rule on the server side instead? This could be a bug that needs to be filed if it hasn't already been filed here https://bugzilla.mozilla.org/buglist.cgi?quicksearch=filters. Thunderbird seems to be treating "contains" and "is" the same.

more options

Found this 8 year old unresolved bug https://bugzilla.mozilla.org/show_bug.cgi?id=886045 about the same. It's marked as UNCONFIRMED and hasn't been seen action for 7 years now. Time to revive it, so go and post a comment there to confirm you're also having the same issue.