Closed oleduc closed 1 year ago
Hey @oleduc , could you try one of the beta versions (3.0.x) and see if the issue still persists?
assuming it does not, closing.
This is unfortunately due to a proton server limitation, not a bridge limitation. The server only accepts a whitelist of outgoing headers (simple things e.g. To
, Subject
etc) so as to not accidentally leak private information set in the headers by the email client. Currently, Resent-*
headers are not part of this whitelist. As such, this will not work with v3 builds either.
I'm attempting to use Resent-* and Reply-To headers but all of these headers seem to be stripped by the time the email has been sent. I tested sending emails to proton and gmail and the behavior is the same.
Expected Behavior
When Resent-* headers are sent with an email, they should be present in the received email.
Current Behavior
All Resent-* headers are ignored and stripped.
Possible Solution
Passing Resent-* and Reply-To headers as specified in RFC 822 4.2
Steps to Reproduce
Send a message with the following headers:
Version Information
2.3.0
Context (Environment)
I'm trying to implement an email forwarder using proton bridge as this feature isn't supported by Protonmail and being able to somehow preserve the original date and sender information without altering the email body would be ideal.
Detailed Description
The headers should be validated according to RFC 822 passed along and not stripped.
https://www.w3.org/Protocols/rfc822/