# MOSS Roadmap - Mailing lists

**URL:** https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432
**Category:** Feature
**Created:** [8 Dicembre 2015, 5:37pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432 "2015-12-08T17:37:27Z")
**Posts on this page:** 14
**Page:** 3

<div class="post-metadata">

### Author: ![coderanger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coderanger/32/47147_2.png) [@coderanger](https://meta.discourse.org/u/coderanger)
#### Post date: [30 Settembre 2016, 11:46am UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/43 "2016-09-30T11:46:45Z")

</div>

I don’t think there is a technical reason to change things, it’s a question of user expectations. Adding a user preference to disable the HTML part seems doable if somewhat annoying given how many bits of code it would touch (as with all new user prefs), but I’m not lining up to contribute it so it’s not the hill I’ll pick to die on 🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 Settembre 2016, 4:18pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/44 "2016-09-30T16:18:32Z")

</div>

> [@hellekin](#):
>
> BUT according to mailing list tradition, HTML and email do not mix well, and plain text is always preferred.

Yeah. If only. I am pretty curmudgeonly on such issues, and I gave up on receiving plain text email at least a decade ago.

And RFC 2046? I’m an RFC 822 guy myself. 😈 If you’re going to go citing chapter and verse you should probably check out [RFC4288](https://tools.ietf.org/html/rfc4288) which is only a decade old instead of three decades old.

All that to say that there’s probably no good solution, and people who expect text-only email live in a world of hurt.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [30 Settembre 2016, 4:27pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/45 "2016-09-30T16:27:32Z")

</div>

I’m Maximum Curmudgeon (and I normally use mutt as my mail client), and as long as there’s a `text/plain` variant available, I care not what else is floating around in the pot of crud that is a modern e-mail. I’ve got to agree that if we’re sending a `text/plain` variant and your MUA isn’t showing it, that’s something for you to discuss with your MUA of choice. Even I’m willing to concede that HTML would be the, in general, “preferred” format, so if you want plain text, talk to your MUA. I wouldn’t even recommend a user pref to say “send plain-text e-mail by default”, and my beard is as grey as they come.

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [30 Settembre 2016, 9:00pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/46 "2016-09-30T21:00:10Z")

</div>

> [@mpalmer](#):
>
> I wouldn’t even recommend a user pref to say “send plain-text e-mail by default”, and my beard is as grey as they come.

My beard, in real life, is not grey. That said… My email tool chain involves a personally modified `mailx`, though, and HTML is viewed in source form until hand-modified.

But sending `text/markdown` with headers declaring it as `text/plain` could be annoying to someone who is particularly pedantic. (I am not very concerned myself.) And I can confirm Discourse does do that.

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [30 Settembre 2016, 9:00pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/47 "2016-09-30T21:00:25Z")

</div>

Dear @pfaffman, RFC 4288 says:

> All subtypes of multipart and message MUST conform to the syntax  
> rules and other requirements specified in [RFC2046].

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 Settembre 2016, 9:06pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/48 "2016-09-30T21:06:35Z")

</div>

Sorry. I was mostly being silly. My point was that in my view including anything other than 7-bit ASCII in email is an abomination and should be ignored.

But, really, you should mostly ignore me. 🙂

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [30 Settembre 2016, 9:12pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/49 "2016-09-30T21:12:11Z")

</div>

```plaintext
----==_mimepart_57eec1754fb1b_613fb08d373ca061471a
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

```

Actual headers for the text part of a multipart/alternative message. I’ve not seen (closely looked at) enough of Discourse’s email to know how it deals with non-ASCII in messages or SMTP line length considerations.

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [30 Settembre 2016, 9:20pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/50 "2016-09-30T21:20:11Z")

</div>

> [@elijah](#):
>
> But sending text/markdown with headers declaring it as text/plain could be annoying to someone who is particularly pedantic. (I am not very concerned myself.) And I can confirm Discourse does do that.

That’s an interesting thought to have Markdown supported in email. I tried Markdown-here addon for Thunderbird, but it requires “a rich text editor” (AKA HTML email, which is yuck.) Then I found these [thoughts on writing emails using Markdown](https://blog.freron.com/2011/thoughts-on-writing-emails-using-markdown/) that proposes to add a markup option to the Content-Type:

`Content-Type: text/plain; charset=utf-8; format=flowed; markup=markdown`

It sounds better, as the MUA can then format the markdown properly (although not many MUAs support Markdown at all, and other inconvenients mentioned in the article.) Best of both worlds would be to keep using text/plain, and automatically convert Markdown when **reading** , and not convert to text/html when **sending** as Markdown-here seems to be doing.

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [30 Settembre 2016, 9:36pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/51 "2016-09-30T21:36:52Z")

</div>

## Issues with email-in

(Feel free to split topic or move where appropriate)

I’ve been trying to reply by email whenever possible. Here’s an example of what I sent, and what the final HTML post looks like. I guess there’s room for improvement. First point would be to automatically remove the email signature (using `.gsub('/^--\n(.*)\A/m', '')`?) (also note that GPG-signatures seem to stick around) and fixing the line-breaks. I remember that Mutt has a very nice TOFU plugin to take care of cruft pretty effectively. Another issue is that normally, with email you always quote a bit of the message (when you’re well-behaved) which works like quoting here. But more often than not people are not well-behaved with email and end up quoting the whole thing. I guess top-posting is handled nicely, but I didn’t check.

Original:

> **click to view markdown source of the resulting HTML shown in screenshot below**
>
> ```plaintext
> We don't have a clear process yet. But it would go something along
> these lines:
> 
> 1. You upload your package to your personal account on
> [git.do](https://git.devuan.org/)
> 
> 2. You contact the [devuan-for-review
> group](https://git.devuan.org/groups/devuan-for-review) so that they
> fork it into the group for review and testing. You can contact them
> using the #devuan-dev channel on Freenode IRC, or the DNG mailing list,
> or by opening an issue in your package's page mentioning
> `@devuan-for-review` (I guess this would work)
> 
> 3. Once your package has been reviewed, corrected, etc., it will enter
> the [devuan-packages
> group](https://git.devuan.org/groups/devuan-packages) and
> `experimental`. From there, if nothing special happens it should be
> entering `unstable` after a couple of weeks, like Debian does. Usually
> you would then become the maintainer.
> 
> Does that make sense? I guess we should submit a proposal for this
> process, refine it, etc. I know @Centurion_dan was perplex about using
> the `devuan-for-review` group, but I think it's worth a try.
> 
> -- 
> _ _ We are free to share code and we code to share freedom
> (_X_)yne Foundation, Free Culture Foundry * https://www.dyne.org/donate/
> 
> ```

Result:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/4/d4a4b6e8969e1fa1d1d3a71c7923f9fb961cbf25.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 Settembre 2016, 9:43pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/52 "2016-09-30T21:43:16Z")

</div>

> [@hellekin](#):
>
> Original: (how can I limit the number of lines to say, 5, to be expanded on click?)

Is this what you mean?

```
[details=click here to expand]lkj sdlkj sdlkfj sdlkf jsdlkf sdlkf [/details]

```

> **click here to expand**
>
> lkj sdlkj sdlkfj sdlkf jsdlkf sdlkf

> [@hellekin](#):
>
> First point would be to automatically remove the email signature (using .gsub(‘/^–\n(.\*)\A/m’, ‘’)?)

> [@Email reply parsing](https://meta.discourse.org/t/email-reply-parsing/41597/8):
>
> We do not remove user signatures. Since there is no standards around user signatures, there is no easy way to even get it to work for 75% of the emails. The [best solution](https://github.com/mailgun/talon) I’ve found so far requires machine learning and lots of training samples. It gets much harder when you have to support more than one locale… EDIT: I already added support for italian replies, but did push a new version of the gem. I just did, you should update wink[https://github.com/discourse/discourse/commit/480e8d0dc…](https://github.com/discourse/discourse/commit/480e8d0dc7c5627b36ad3151719c67780fa3c5b6)

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [30 Settembre 2016, 9:51pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/53 "2016-09-30T21:51:58Z")

</div>

Right, thank you @pfaffman. Well I get the “we do not remove signatures”, but that means informing the users they need to skip their signature for replying by email unless you want to end up with ugly signatures across the board. 😬

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 Settembre 2016, 10:05pm UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/54 "2016-09-30T22:05:39Z")

</div>

> [@hellekin](#):
>
> that means informing the users they need to skip their signature for replying by email unless you want to end up with ugly signatures across the board. 😬

It’s horrible. And the last place I worked required people to include postal address, fax address, office number, official title (or several), university icon, and I don’t know what all. A client who just switched to Discourse from a mailing list is already talking about disabling incoming email. His other solution is to hire people where labor is cheap to fix the stuff by hand.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [28 Dicembre 2017, 1:21am UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/55 "2017-12-28T01:21:25Z")

</div>

Closing this as it is mostly implemented, no need to carry it open forever.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [28 Dicembre 2017, 1:21am UTC](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432/56 "2017-12-28T01:21:27Z")

</div>



[Previous page](https://meta.discourse.org/t/moss-roadmap-mailing-lists/36432.md?page=2)
