Closed Bug 1700626 Opened 5 years ago Closed 5 years ago

To, Cc or Bcc missing from message filter options

Categories

(Thunderbird :: Filters, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 586101

People

(Reporter: u682155, Unassigned)

Details

Attachments

(2 files)

Attached image bug.png —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

Steps to reproduce:

The following options are available:

To
Cc
To or Cc
From, To, Cc or Bcc

But I really need this option to be available:
To, Cc or Bcc

I want to filter pretty much all mail that is sent to me, whether they send it directly, as cc or as bcc.

I think this would also be the standard desired behaviour. I do not think any situation calls for you to want to filter to and cc, but skip bcc.

I think it's intentially left out because the Bcc header is not normally present: only there in your sent folder.

In other words, messages you receive will never have Bcc

How come the option is present in the last option, "From, To, Cc or Bcc"?

That's "any addressing fields".

How can I filter messages to their appropriate folder if something is sent to me as bcc?

I have multiple aliases that I each redirect to their appropriate folder.

When I look at the header of a BCC email I can find the alias being present:
for <my@email.address>; Mon, 19 Apr 2021 18:49:49 +0000 (UTC)

So how can I setup a filter for this?

That's not the whole header row. If it's say, delivered-to, then you have to add delivered-to as a custom header and filter on that.

Quick Filter Bar and the Filter dialog are sharing the same backend, so I'll mark this as a duplicate of bug 586101.
To or CC is de facto our "Recipient" filter. Reporter is right that Bcc is missing - if only for filtering Sent folders as Magnus pointed out. It makes no sense to filter for recipients and to skip a possible recipient type. (Note you can also set TB to file copies of sent messages in any folder, and you can always manually copy messages around, so messages having explicit Bcc can be anywhere.)

(In reply to conspicuous from comment #5)

So how can I setup a filter for this?
See comment 6, comment 7. Otherwise pls seek help in https://support.mozilla.org/en-US/products/thunderbird

Thanks

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

Improving the labels to actually say "Recipients" is Bug 1127267.

(In reply to Magnus Melin [:mkmelin] from comment #6)

That's not the whole header row. If it's say, delivered-to, then you have to add delivered-to as a custom header and filter on that.

When I BCC to one of my aliases then this line is the only line that contains the alias address. The "delivered-to" contains the primary account e-mail address.

I can filter messages fine when to or cc is used. But when somebody is doing BCC to one of my aliases, I can not use any filters, as I can not setup a filter for the header line that contains my alias address:

for <alias@email.address>; Mon, 19 Apr 2021 18:49:49 +0000 (UTC)

How can I setup a "for" filter?

Like I said, that (the for...) is not a header line. Headers can span multiple lines, but it's always starting with header name followed by colon.

(In reply to Magnus Melin [:mkmelin] from comment #11)

Like I said, that (the for...) is not a header line. Headers can span multiple lines, but it's always starting with header name followed by colon.

So it is impossible to filter BCC messages sent to aliases?

For the general case yes.
IF the server adds a header for who it was delivered to you can. But you'll have to check which header that is for your server. What you pasted is not a header, but maybe just a part of some other header (Received?)

(In reply to Magnus Melin [:mkmelin] from comment #13)

For the general case yes.
IF the server adds a header for who it was delivered to you can. But you'll have to check which header that is for your server. What you pasted is not a header, but maybe just a part of some other header (Received?)

It is part of the "Received" header.

Then you can set up the custom header "Received" and filter on that (for future messages).

(In reply to Magnus Melin [:mkmelin] from comment #15)

Then you can set up the custom header "Received" and filter on that (for future messages).

This does not seem to work.

This is the header:
https://i.imgur.com/eB0iA9H.png

This is my filter:
https://i.imgur.com/XVhsP4e.png

The messages are not being filtered.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: