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@kreme.com> wrote:
On 20 Jan 2021, at 04:33, Piotr Auksztulewicz <dcml@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