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

fix(voicemail): revent duplicated Content-Type in email #371

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Stell0
Copy link
Collaborator

@Stell0 Stell0 commented Jan 30, 2025

The problem appears to be caused by the presence of two Content-Type headers in the email message.
Upon examining the email headers, the rule MULTIPLE_UNIQUE_HEADERS was triggered due to the presence of duplicate Content-Type headers:

Content-Type: multipart/mixed; boundary="----voicemail_1350712061221135"
Content-Type: text/plain; charset=utf-8

According to email standards (RFC 2045 and RFC 5322), an email should have only one valid Content-Type header for the entire message.

Since Content-Type, as Date header, is automatically added by s-nail, this PR ensures that only a single Content-Type header is present in the email removing the one that arrives from standard input

@Stell0
Copy link
Collaborator Author

Stell0 commented Feb 7, 2025

doesn't work. try to set mime-counter-evidence https://manpages.debian.org/stretch/s-nail/s-nail.1.en.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant