emersion / hydroxide

A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge
MIT License
1.64k stars 126 forks source link

Add angled brackets around Message-Id header #141

Closed mikejzx closed 3 years ago

mikejzx commented 3 years ago

From: RFC 2392 section 2

In Internet mail messages, the addr-spec in a Content-ID [MIME] or Message-ID [822] header is enclosed in angle brackets (<>).

For example:

Message-Id: <abc@example.com>

hydroxide was doing this instead:

Message-Id: abc@example.com

I noticed this because I have my mail stored offline, and found that not having these angled brackets in the mail files causes utilities such as notmuch to not behave correctly

mikejzx commented 3 years ago

Happy new year to you too!