-
Notifications
You must be signed in to change notification settings - Fork 34
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
Mime-Version header case is incorrect and receives spam score weighting #26
Comments
The format of e-mail messages is defined in RFC 5322 which says that (emphasis mine):
A TL;DR version of that is that all e-mail header names are case insensitive. A software could generate something silly as Also, and just FYI, the actual content of the
|
There is also an discussion on stackoverflow which comes to the same conclusion. When following the RFC the mail header names should be case insensitive. But it seems there is software out there which is not 100% standard conform and checks for the casing of the "MIME-Version" header. In the stackoverflow discussion Thunderbird is also mentioned and the OP does have problems with spam detection software. So maybe it would be nice to change mimetic to also generate "MIME-Version" even when the spec says it should not matter. |
The SO post is 10 years old, hopefully TB got fixed in the meanwhile. Also, it is not really just Mimetic, apparently Discourse is generating Personally, I don't really care either way. There's a ton of broken SW when it comes to e-mail producing, e-mail handling and e-mail parsing. In the MIME realm, I've seen producers split UTF-8 multibyte strings into separate |
mimetic is producing the MIME-Version header as "Mime-Version" (note the difference in letter case for MIME). This is technically incorrect (see: https://www.w3.org/Protocols/rfc1341/3_MIME-Version.html), and causes anti-spam engines to add a weighting to the spam score for emails with this incorrect header in it. (Specifically I am using Rspamd, but it is likely to apply to others too).
I hope this report helps improve the quality of the mimetic library!
The text was updated successfully, but these errors were encountered: