qiqitori / reply_as_original_recipient

This Thunderbird extension automatically changes the "From" field in replies to whatever the original sender's email had in "To" or "CC", but only if exactly one email address from all "To" and "CC" headers matches a configurable pattern.
https://blog.qiqitori.com/?p=194
Mozilla Public License 2.0
19 stars 10 forks source link

should change account #6

Open phloggu opened 4 years ago

phloggu commented 4 years ago

In TB you can configure several accounts, that have email-addresses associated with each of them. The add-on reply_as_original_recipient does change the sender address correctly, but disregards the account to which a sender address belongs. This may lead to the situation that a mail get sent from the wrong SMTP server and fails SPF checks in succession.

The add-on should set the correct sending environment for a message by looking up the address that it sets as the sender address. It seems TB is not doing this on its own.

qiqitori commented 4 years ago

Hmm, that sounds like a rather major issue that I never really thought about. (Some background on why I wouldn't have thought about this: I just made this extension because someone wanted this functionality, and AFAIK it fulfilled their requirements. I do not use it myself.)

If anyone is interested in looking into this issue, that would be appreciated. Even just a quick analysis on 1) whether it's possible to do 2) how much effort it would entail, would be appreciated.