Defect #38513
closedIncorrect case of MIME-Version email header field name
0%
Description
Hi
Registration confirmation email triggers the following rspamd symbol:
Symbol: MV_CASE(0.50)
code for this check is:
rspamd_config.MV_CASE = {
callback = function (task)
return task:has_header('Mime-Version', true)
end,
description = 'Mime-Version .vs. MIME-Version',
score = 0.5,
group = 'headers'
}
i.e. (at least AFAIU) it checks whether the exact (i.e. case-sensitive) header name given is 'Mime-Version'.
https://datatracker.ietf.org/doc/html/rfc1521#section-3 states
Messages composed in accordance with this document MUST include such a header field, with the following verbatim text: MIME-Version: 1.0
i.e. the case of 'MIME' needs to be all uppercase.
Related issues
Updated by Pavel Rosický over 2 years ago
this has been fixed by https://github.com/mikel/mail/pull/1503 but it isn't released in any version yet. Anyway, it's something that should be discussed there rather than here.
Updated by Go MAEDA about 1 month ago
- Blocked by Patch #43472: Update Mail gem to 2.9 added
Updated by Go MAEDA about 1 month ago
Pavel Rosický wrote in #note-1:
this has been fixed by https://github.com/mikel/mail/pull/1503 but it isn't released in any version yet. Anyway, it's something that should be discussed there rather than here.
Mail gem 2.9.0 that includes this fix has been released on October 22, 2025.
Updated by Go MAEDA about 1 month ago
- Subject changed from Email Notifications: case of MIME-Version header to Incorrect case of MIME-Version email header field name
- Target version set to 7.0.0
Setting the target version to 7.0.0.
Updated by Go MAEDA about 1 month ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
This issue was resolved in r24148, which updated the mail gem to 2.9.0.