Closed Bug 1794989 Opened 3 years ago Closed 3 years ago

When replying to a message that had me in CC, the original recipient will be set as the sender

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 102
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dkinzler, Unassigned)

Details

Attachments

(3 files)

Steps to reproduce:

Try to reply (or reply-to-all) to a message that was addressed to someone else and I was in CC (either personally or via a list).

So: X sent a message to Y with me in CC. I hit "reply" or "reply all", trying to send a message to X or X+Y.

Actual results:

The "Sender" field in the compose window will contain the name and address of the original recipient, instead of one of my own identities.

So: instead of composing a message from myself to X (or X and Y), I now appear to be composing a message from Y to X.

A yellow ribbon is shown at the bottom of the compose window, telling me that the sender identity cannot be found, and the email will be send with the settings for my default identity, but with the sender's address.

When actually sending the address, it seems like the From header gets treated in different ways depending on the systems the message gets routet through. I was expecting it to be rejected, but that was not the case. In one case, the message was delived with Y as the display name in the "From" header, but my email address. So it looked like I was trying to fake the sender! This was when the message was sent between Google accounts within the same organization. When sending an email like this to fastmail, the From header was forced to the correct sender address, with no display name.

I can reproduce this behavior with all such messages. The behavior persists in failsafe mode.

Expected results:

The Sender field should never be populated to the address of the original recipient of a message I reply to. It should be populated with one of my identities. The identity should be picked based on the account the original message was received with.

Component: Untriaged → Message Compose Window

Here are the headers of the mail received by the addressee, including the "fraudulent" From-header, namely Mat Nadrofsky <dkinzler@wikimedia.org>. This looks like me trying to make it look like the mail was sent by Mat. This is not good.

(accidentally submitted that attachement twice, sorry about that)

Here are the headers of an email that triggers this behavior when I try to respond to it. As far as I can tell, it always happens for mails that have a To header that is someone else. When I try to reply, that To header becomes the "From" field in the composer. Which makes sense if the mail was actually addressed to me - but if the mail had me in CC, this is very wrong.

By the way, this even happens when I "reply" to an email I had written myself, e.g. to amend the original message. Then, the From and To fields are both set to the original recipient...

Are you using catch-all? That's account settings "Reply from this identity when delivery headers match [ ]"

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

Are you using catch-all? That's account settings "Reply from this identity when delivery headers match [ ]"

Yes, ineed I am, for this account. And it seems like the problem only exists for this account. The matching pattern is "*@wikimedia.org".

I can confiorm that disabling the "catch-all" setting fixes the issue.

I'd still like to use it, though...

Well you can't use it with that rule if you don't want it to behave that way.
The catch-all is mostly for people who own all alias on the domain, and similar situations.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID

So I guess I was misunderstanding what the setting is intended to do. The option says: "Reply from this identity when delivery headers match [ ]"

My understanding was that if I receive an email from a @wikimedia.org address on any of my accounts, and I reply to it, the reply would automatically use my Wikimedia identity. So I would send it from my work account, even if the mail was originally sent to my private email address.

From waht you are saying, the option really means "When replying from this account, use the original adressee as the sender". Which indeed makes sense of the address is a catch-all, and people would write to it using various aliases.

May I suggest to change the wording on the setting, then? If I understand correctly, it's not at all about replying "from this identity". How about the following: "When replying to messages that were send to an address matching the following catch-all pattern, use that address as the sender". Does that sound reasonable?

Too bad the function I was expecting here doesn't actually exist. It seems quite useful!

...thinking about it, given the very odd effect this setting has when used inappropriately, it should really come with a warning like "Only use this if all addresses that match this pattern are yours!"

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

Attachment

General

Creator:
Created:
Updated:
Size: