Dovecot and mutt

Rupert Gallagher ruga at protonmail.com
Tue Jan 26 23:18:44 EET 2021


If someone needs to send a formatted text, then they can use a text editor on headed paper, export to PDF and send it as attachment. E-mail proper is the plain text body of the message. When people send fancy HTML and expect me to read it on my phone, then they have wasted their effort, because the message is too heavy to download, heavy to display, and because I ultimately read e-mails in plain text. And most of the times it is spam.

-------- Original Message --------
On Jan 25, 2021, 10:55, Darac Marjal < mailinglist at darac.org.uk> wrote:

On 25/01/2021 09:08, Rupert Gallagher wrote:
It would be useful to automatically de-HTML e-mails, but this is not a task for dovecot. Even more useful would be to deprecate HTML in e-mails.
Why would it be useful to deprecate HTML in emails? Presumably you're arguing for an alternative, more restricted markup language such as Enriched Text[1], Markdown[2]? Mutt already supports Enriched Text, but is probably the most popular MUA which does. I'm not aware of an MUA that natively renders Markdown bodies - most of the tutorials I see about that involve composing the message in Markdown and then converting it to HTML for sending - but to be honest, at this point the effort is a bit late. Realistically, how are you going to render that Markdown text in a Graphical MUA? Either you're going to write a custom control which renders the markup as styled text (that is, converts **bold** to a bold-face font etc) or you're just going to run the Markdown through a Markdown->HTML converter and pass it to a Web Browser component (both the converter and the renderer are "solved problems" so guess which solution developers would choose), in which case, what's the point of going "around the houses"?

[1] https://en.wikipedia.org/wiki/Enriched_text
[2] https://en.wikipedia.org/wiki/Markdown

-------- Original Message --------
On Jan 20, 2021, 13:58, @lbutlr < kremels at kreme.com> wrote:

On 20 Jan 2021, at 04:33, Piotr Auksztulewicz <dcml at hasiok.net> wrote:
> On Wed, Jan 20, 2021 at 04:27:11AM -0700, @lbutlr wrote:
>> set imap_pass = "lasH-hds[er$asd" # Not a real password
>
> Use single quotes around the password. Double quotes make $asd to be
> interpreted as shell variable and replaced with (most likely) empty
> string, so you get a shortened passwort in effect.
This worked, thank you.
Also… grrrrr. Who though expansion inside a password string was a clever idea and can I introduce them to a clue bat? :p
> PS. Also a mutt lover :-)
With the amount of HTML mail out there I really don't understand how people are able to use it anymore. Now, if I could get a 'stip html down to plain text' side function to work…
script execution error (#127): sh: line 3: fortune: command not found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210126/b7a192e9/attachment.html>


More information about the dovecot mailing list