Need capability to group filter match criteria

UNCONFIRMED
Unassigned

Status

Thunderbird
Filters
--
enhancement
UNCONFIRMED
3 months ago
3 months ago

People

(Reporter: Daniel Santos, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 months ago
When adding message filter rules, there is a nice dialogue to choose the match criteria and action.  Radio buttons allow you to specify how your matching criteria should be processed: all of the criteria, any of the criteria or just all messages with no criteria.

My challenge is that I am subscribed to many mailing lists, the linux kernel, wine-dev, gcc, gcc-patches, etc., etc.  I have one rule that looks for messages sent To or Cc me as well as one of these lists and it highlights it and stops processing.  Later, I process all of these other messages and send them into their respective folders (which is the only way to manage getting 500+ emails per day).

The problem is that I have some 100-odd filter rules.  A great many of these could be consolidated if I could match AND and OR criteria in their usual algebraic form.  For instance, if I could create a rule that says:

If an email contains
To or Cc "daniel.santos@pobox.com"
AND (From, To, Cc or Bcc "gcc@gcc.gnu.org"
     OR From, To, Cc or Bcc "gcc-patches@gcc.gnu.org"
     OR From, To, Cc or Bcc "linux-kernel@vger.kernel.org"
     OR From, To, Cc or Bcc "binutils@sourceware.org"
... etc.
)

Then I could group a great many of my rules into single rules.  I haven't dug into thunderbird, so I don't know how these are represented internally, but maybe there is a reasonable way to expose the internal representation to provide this functionality.

If you really wanted to make us programmers happy, then let us use perl-compatible regular expressions! :)

Thanks,
Daniel
(Reporter)

Updated

3 months ago
Version: 45 Branch → 52 Branch
Great idea. Sadly any development of new features is done my volunteers and if you can't muster anyone, the enhancement request won't be actioned. Also, this and/or processing is deeply entrenched in the code base, so what you're asking for can't be done on a rainy Sunday afternoon.

Comment 2

3 months ago
https://addons.mozilla.org/en-us/thunderbird/addon/filtaquilla/ may help. But it does need an update for current versions of Thunderbird.
Version: 52 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.