Implement filter operators "contains any of" and "contains all of" to support multiple search terms in a single rule (in addition to "contains string")
Categories
(Thunderbird :: Filters, enhancement)
Tracking
(Not tracked)
People
(Reporter: thomas8, Unassigned)
References
Details
(Keywords: papercut)
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 2•7 years ago
|
||
Just spent some time trying to guess a proper separator for such a filter.
Want to filter a lot of emails at once, with single rule like "from" -> "contains any of" -> "example1@example.com, example2@example.com, example3@example.com"
Still hope I'm just missing something.
OK, bug 297852 told it is not possible for now. Asked in comment 54.
So, addons like Filtaquilla seem to be the only way to avoid generating similar filters.
(In reply to travneff from comment #3)
Just spent some time trying to guess a proper separator for such a filter.
Want to filter a lot of emails at once, with single rule like "from" -> "contains any of" -> "example1@example.com, example2@example.com, example3@example.com"
Still hope I'm just missing something.
Create an address book with example1, example2, ..... then set the filter From + is in my address book + <choose an address book>.
(In reply to sfhowes from comment #6)
Thanks a lot, it works!
However I'll still wait for the subject feature -- to block entire domains.
Like "all emails from @baddomain1.com AND @baddomain2.com"
Address book seems to match exact address only.
Set 'Match any of the following', add From + ends with + baddomain1.com, click the button with + and add the same rule with baddomain2.com.
(In reply to sfhowes from comment #8)
Set 'Match any of the following', add From + ends with + baddomain1.com, click the button with + and add the same rule with baddomain2.com.
Assuming I got you right: I have tens of domains to match. That's why I don't want tens of filtering rules. One rule with OR would be enough -- but it is not possible (?) for now.
Comment 10•4 years ago
|
||
This is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=297852
Reporter | ||
Comment 11•3 years ago
|
||
(In reply to Axel Grude from comment #10)
This is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=297852
Certainly related - but so far I'm seeing this bug 1465076 as a subset trying to go for quick gains. I might be wrong.
Comment 12•3 years ago
|
||
(In reply to Thomas D. (:thomas8) from comment #11)
(In reply to Axel Grude from comment #10)
This is a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=297852
Certainly related - but so far I'm seeing this bug 1465076 as a subset trying to go for quick gains. I might be wrong.
I think you may be right - having an operator "is contained in list" with a JSON array or something similarly structured (array) would be the quickest way to resolve this. It could be simply a string of the format:
["text1"]
["text1","text2"]
["text1","text2","text3"]
etc.
double quotes within the strings could be escaped with " or in a similar way...
Updated•2 years ago
|
Description
•