Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git send-email patches mangled by Content-Transfer-Encoding: quoted-printable #461

Open
zamaudio opened this issue Feb 9, 2024 · 1 comment
Labels
question Further information is requested

Comments

@zamaudio
Copy link

zamaudio commented Feb 9, 2024

I am using git send-email to mail code patches to a mailing list.
Our maintainer uses plain mbox format to read patch emails.
Therefore, we need the transfer encoding header to be preserved so that
the patch can flow unmangled.

Expected Behavior

Content-Transfer-Encoding header should be preserved if set.

Current Behavior

Content-Transfer-Encoding is always set to quoted-printable.

Possible Solution

Remove the line of code that overwrites the header?
Or make it detect some values of X-Mailer and preserve the header if that is set.

Version Information

Proton Mail Bridge 3.8.2 with git send-email 2.30.2

@LBeernaertProton
Copy link
Collaborator

Hey @zamaudio thanks for the report. Could you provide us with a sample message that arrives on Bridge's SMTP server so we can investigate further?

You can capture the SMTP input with:

bridge -l=trace --log-smtp > capture.log

Note that the above log will contain sensitive information, it's advised to delete everything but the SMTP when submitting.

@LBeernaertProton LBeernaertProton added the question Further information is requested label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants