Open bgv2 opened 4 years ago
This could be tricky, because altering contents of fields like To:
can break the DKIM signature, which can cause email delivery failures or rejections or quarantines.
@ed789d0 Did you mean the To:
field or the From:
field?
@ed789d0 Did you mean the
To:
field or theFrom:
field?
From
That would be a great improvement as we would be able to make more reliable filters based on who sent the email/alias. Just as an example of my use case, I couldn't filter different relay aliases into individual labels because ProtonMail can only read headers and neither who generated the email nor the alias itself were available.
We can't change the "real" email address in the From:
field, or it will break DKIM and all the emails will get marked as spoofed From addresses.
Currently we copy the original "From" address into the "display" part of our From address, and then we append [via Relay]
to it. Can you use that for email filters?
When the email is forwarded, it gets sent under noreply@relay.firefox.com, which breaks my email filters, removes the profile picture that would normally be sent, and so on. I think a better solution would be putting the original sender in the from field and maybe do it in a way that adds "via" in Gmail (see https://support.google.com/mail/answer/1311182?hl=en , not sure how it's done technically).