FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: ensure message content is not modified by header filter by mpldr · Pull Request #4425 · docker-mailserver/docker-mailserver · GitHub

fix: ensure message content is not modified by header filter - #4425

Closed
mpldr wants to merge 1 commit into
docker-mailserver:masterfrom
mpldr-pulls:master
Closed

fix: ensure message content is not modified by header filter#4425
mpldr wants to merge 1 commit into
docker-mailserver:masterfrom
mpldr-pulls:master

Conversation

mpldr commented Mar 23, 2025

Copy link
Copy Markdown
Contributor

Due to an oversight, one of the header filters has potentially modified the message body, leading to broken cryptographic signatures.

Switch to the Message-Id instead of the Content-Type header, which is usually only present in the global header.

Reported-by: Cole Young cole@young.sh
Fixes: 009237c ("chore: Prevent Microsoft MUAs from sending reactions (#4120)")

Due to an oversight, one of the header filters has potentially modified
the message body, leading to broken cryptographic signatures.

Switch to the Message-Id instead of the Content-Type header, which is
usually only present in the global header.

Signed-off-by: Moritz Poldrack <git@moritz.sh>
Reported-by: Cole Young <cole@young.sh>
Fixes: 009237c ("chore: Prevent Microsoft MUAs from sending reactions (docker-mailserver#4120)")

mpldr commented Mar 23, 2025

Copy link
Copy Markdown
Contributor Author

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change that does improve existing functionality)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary, I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have added information about changes made in this PR to CHANGELOG.md

polarathene added this to the v15.0.2 milestone Mar 23, 2025

Copy link
Copy Markdown
Member

LGTM 👍

Can you adjust the corresponding tests, do you require any further assistance?

mpldr commented Mar 23, 2025

Copy link
Copy Markdown
Contributor Author

I would like to ask for assistance in that… I dont quite see how my patch would affect [Network - Hostname] should update configuration correctly (Standard FQDN setup). After all the message id is not removed, it is just moved down a line.

Copy link
Copy Markdown
Member

No worries, I will have a look and try to help.

Copy link
Copy Markdown
Member

Closing in favor of #4427.

polarathene removed this from the v15.0.2 milestone Mar 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL