From bd65efa34af1f95ebeaf63c6d5f08c719444d7cc Mon Sep 17 00:00:00 2001 From: Daniel Gray Date: Sun, 6 Oct 2019 16:27:07 +0000 Subject: [PATCH] Add a workaround for unmaintained HeaderToolsLite --- 4.1-Extensions.md | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/4.1-Extensions.md b/4.1-Extensions.md index 95246c4..96d7d88 100644 --- a/4.1-Extensions.md +++ b/4.1-Extensions.md @@ -1,8 +1,22 @@ -| **Extension** | **Source** | **Main Purpose** | -|------------------------------------------------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [Cardbook](https://addons.thunderbird.net/addon/cardbook/) | [Source](https://gitlab.com/CardBook/CardBook) | Access [radicale](https://radicale.org) instance for contacts | -| [Header Tools Lite](https://addons.thunderbird.net/addon/header-tools-lite/) | [Home](https://freeshell.de/~kaosmos/headertoolslite-en.html) | Used to edit [`References`](https://en.wikipedia.org/wiki/Email#Header_fields) to have correct [`Message-ID`](https://en.wikipedia.org/wiki/Message-ID) to maintain [threading on mailing lists when not subscribed](https://superuser.com/questions/1177870/how-to-manually-set-the-in-reply-to-header-in-thunderbird/1189889). | -| [Lightning](http://www.mozilla.org/projects/calendar/) | [Source](https://hg.mozilla.org/comm-central/file/tip/calendar) | Calendars | -| [Markdown Here](https://markdown-here.com) | [Source](https://github.com/adam-p/markdown-here) | Write pretty HTML emails sometimes | -| [Enigmail](https://addons.thunderbird.net/addon/enigmail/) | [Source](https://www.enigmail.net/index.php/en/download/source-code) | PGP | +| **Extension** | **Source** | **Main Purpose** | +|------------------------------------------------------------------------------|----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [Cardbook](https://addons.thunderbird.net/addon/cardbook/) | [Source](https://gitlab.com/CardBook/CardBook) | Access [radicale](https://radicale.org) instance for contacts | +| [Header Tools Lite](https://addons.thunderbird.net/addon/header-tools-lite/) | [Home](https://freeshell.de/~kaosmos/headertoolslite-en.html) | Used to edit [`References`](https://en.wikipedia.org/wiki/Email#Header_fields) to have correct [`Message-ID`](https://en.wikipedia.org/wiki/Message-ID) to maintain [threading on mailing lists when not subscribed](https://superuser.com/questions/1177870/how-to-manually-set-the-in-reply-to-header-in-thunderbird/1189889). Unmaintained and incompatible with Thunderbird 68.0+, however there is an [alternative solution](#alternative-solution). | +| [Lightning](http://www.mozilla.org/projects/calendar/) | [Source](https://hg.mozilla.org/comm-central/file/tip/calendar) | Calendars | +| [Markdown Here](https://markdown-here.com) | [Source](https://github.com/adam-p/markdown-here) | Write pretty HTML emails sometimes | +| [Enigmail](https://addons.thunderbird.net/addon/enigmail/) | [Source](https://www.enigmail.net/index.php/en/download/source-code) | PGP | + + +### Alternative solution + +Borrowed from [MozillaZine: Custom headers](http://kb.mozillazine.org/Custom_headers). Archive link [1](https://archive.is/http://kb.mozillazine.org/Custom_headers), [2](https://web.archive.org/web/20190930123235/http://kb.mozillazine.org/Custom_headers). [Just in case it disappears](http://forums.mozillazine.org/viewtopic.php?f=31&t=3055133). + +1. Check the value of: `mail.identity.idX.useremail` to determine which index number refers to your email account. ie Edit → Preferences → Advanced → General → Config Editor +2. Set `user_pref("mail.identity.id1.headers", "References, InReplyTo");` to create the custom headers. +3. Change the custom headers, you could use a `user.js` for this. +4. Set the values for References, you can use as many `References` as you like, just make sure they are separated with a new-line character and a space ie: `\n `. + `user_pref("mail.identity.id1.header.References", "References: <2ad46d80-c8ce-49a3-9896-16171788ac28@example.tld>\n <31ff00c2-b7cb-4063-beeb-a0bdd424c3a7@example1.tld>");` +5. Set the `In-Reply-To:` ie `user_pref("mail.identity.id1.header.InReplyTo", "In-Reply-To: <31ff00c2-b7cb-4063-beeb-a0bdd424c3a7@example1.tld>");` +6. Restart Thunderbird and send your email. +7. Comment out the above set options in your `user.js` with `/* */` and uncomment: the area to reset the values: `user_pref("mail.identity.id1.headers", "");`, `user_pref("mail.identity.id1.header.References", "");` and `user_pref("mail.identity.id1.header.InReplyTo", "");` restart Thunderbird.