Closed Bug 378343 Opened 17 years ago Closed 10 years ago

Second filter clause to limit source based on rss/folder/account

Categories

(MailNews Core :: Filters, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 312153

People

(Reporter: Eriatile, Unassigned)

References

(Depends on 3 open bugs)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070420 Minefield/3.0a4pre
Build Identifier: Thunderbird 2.0.0.4pre (20070420)

Right now we only got one set of rules to filter. So they could be applied only if all conditions are match or any of them (or on all messages).

I think we should have an "only if" set of rules to limit filters. We would be able to choose to apply filters only when :
    - account is/isn't/contains/doesn't contains
    - folder is/isn't/contains/doesn't contains
    - rss feeds url is/isn't/contains/doesn't contains
    - rss feeds name is/isn't/contains/doesn't contains
It should be the same as the first set of rules and we should have to choose to apply only if all conditions are match, any of them or on all messages.


Reproducible: Always
Please clarify - are you asking for individual line items that MUST be satisfied?
Can you attached a example mock up screen shot of what you'd like to see?

(did you check if any existing bugs describe what you want? does bug 297852 provide the same functionality)
Assignee: mscott → nobody
Component: General → MailNews: Filters
OS: Windows XP → All
Product: Thunderbird → Core
QA Contact: general → filters
Hardware: PC → All
Version: unspecified → Trunk
Mock up for a double filter set.

The point is to limit triggering a rule. For instance : I want to mark message that contains pentium, athlon, x86 but only for message coming from computer rss feeds. I think it would looks like :
if (condition 1 or 2 or 3 is true) *AND* (condition 4 or 5 or 6 is true) then do something
OK, so an additional AND clause (a severe subset of bug 297852) plus, for example ability to set folder source (what I just removed from an advanced search bug, bug 274192).

since (with the exception of RSS) filters are presently account based and not global, how do you see this being useful unless bug 129883 is delivered?

Have you looked at bug 294632?  (not sure yet how bug 267197 and bug 34973 figure in)
Summary: Second set of rules to limit filters to rss/folder/account → Second filter clause to limit source based on rss/folder/account
I was thinking above all to rss feeds.

Still filter on accounts would be nice : it will be a workaround to set global filter. (You could apply a filter when it's from account 1 and account 2 and account 3, etc...)

Beside would it make easier to extend criterion to have rss feeds, accounts, ... and to be able to add as much additional "and clause" as you need? It would respond to a lot of request about filter enhancement.
Product: Core → MailNews Core
I am not sure what is left here that those other bugs do not cover.
Depends on: 297852, 267197, 294632
This is all covered elsewhere, and filtering feeds by url is already possible using custom header Content-Base.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
OK, the RSS part can be bug 312153.
The "account is/isn't/contains/doesn't contains" part seems to be bug 267197.

But is there a bug for the "folder is/isn't/contains/doesn't contains" filter rule?
If not, we should reopen this. Or file a new bug just for that part. That functionality could be useful and could partly solve the requests for filters-per-folder functionality (that is hard to do).
Flags: needinfo?(vseerror)
(In reply to :aceman from comment #8)
> OK, the RSS part can be bug 312153.
> The "account is/isn't/contains/doesn't contains" part seems to be bug 267197.
> 
> But is there a bug for the "folder is/isn't/contains/doesn't contains"
> filter rule?
> If not, we should reopen this. Or file a new bug just for that part. That
> functionality could be useful and could partly solve the requests for
> filters-per-folder functionality (that is hard to do).

aceman, from http://mzl.la/1UrDH1O it seems to me that only bug 294632 or bug 933795 might help
Flags: needinfo?(vseerror)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: