Re: HTML for email

Nico Williams <nico@cryptonector.com> Tue, 02 March 2021 16:45 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B75D73A19A9 for <ietf@ietfa.amsl.com>; Tue, 2 Mar 2021 08:45:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.753
X-Spam-Level:
X-Spam-Status: No, score=-0.753 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pQnh0US0H0-J for <ietf@ietfa.amsl.com>; Tue, 2 Mar 2021 08:45:33 -0800 (PST)
Received: from beige.elm.relay.mailchannels.net (beige.elm.relay.mailchannels.net [23.83.212.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DA39F3A19A7 for <ietf@ietf.org>; Tue, 2 Mar 2021 08:45:32 -0800 (PST)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 8463A78218A; Tue, 2 Mar 2021 16:45:30 +0000 (UTC)
Received: from pdx1-sub0-mail-a13.g.dreamhost.com (100-96-16-25.trex.outbound.svc.cluster.local [100.96.16.25]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1E253781F4F; Tue, 2 Mar 2021 16:45:30 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|nico@cryptonector.com
Received: from pdx1-sub0-mail-a13.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.16.25 (trex/6.0.2); Tue, 02 Mar 2021 16:45:30 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nico@cryptonector.com
X-MailChannels-Auth-Id: dreamhost
X-Robust-Soft: 0abb5286137b3a61_1614703530372_174041943
X-MC-Loop-Signature: 1614703530372:3007685697
X-MC-Ingress-Time: 1614703530371
Received: from pdx1-sub0-mail-a13.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a13.g.dreamhost.com (Postfix) with ESMTP id AF9AB86F53; Tue, 2 Mar 2021 08:45:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=r/yxDDnGYvH7SI WMNM49djpF4H0=; b=iAK40ZDCyqTAmKOApuoYtiXHtwyy7AUVgPbm6LyVSoNNz6 BODDV+nCjs459FbxT44OTlYGtjNrykvcioZ5pxA98uxFPeyg1Y/PEpJbUOdhFt5Q gWSosqSU5Ogue6Z2KLromU62oH9Y2gYN3lEt2Bob26CKdGHo+Coc3rtgcpSTk=
Received: from localhost (unknown [24.28.108.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by pdx1-sub0-mail-a13.g.dreamhost.com (Postfix) with ESMTPSA id 01A327EE8C; Tue, 2 Mar 2021 08:45:27 -0800 (PST)
Date: Tue, 02 Mar 2021 10:45:25 -0600
X-DH-BACKEND: pdx1-sub0-mail-a13
From: Nico Williams <nico@cryptonector.com>
To: Nick Hilliard <nick@foobar.org>
Cc: ned+ietf@mauve.mrochek.com, IETF Discussion Mailing List <ietf@ietf.org>
Subject: Re: HTML for email
Message-ID: <20210302164524.GT30153@localhost>
References: <s1f0vo$ejp$1@gal.iecc.com> <59240886-320d-fae3-6b98-7b83dacaf5e7@network-heretics.com> <CAMm+LwhWCsG68GOws-Zm9TDcEZ4trGBhq7Dm-_0Ci8Ri7kDK=Q@mail.gmail.com> <603D2360.1070406@btconnect.com> <20210301183401.GI21@kduck.mit.edu> <20210301232237.GI30153@localhost> <20210301233255.GM21@kduck.mit.edu> <603E08A1.1010406@btconnect.com> <01RW6LH8U8A4005PTU@mauve.mrochek.com> <d0da909a-7c55-5493-4c32-537a9cd2f968@foobar.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <d0da909a-7c55-5493-4c32-537a9cd2f968@foobar.org>
User-Agent: Mutt/1.9.4 (2018-02-28)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/wqaYsqKic18rBGJjmFDoJXoA5SE>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2021 16:45:35 -0000

On Tue, Mar 02, 2021 at 03:55:16PM +0000, Nick Hilliard wrote:
> Bear in mind that even within the IETF, plenty of people view the entire
> HTML email debate as flogging the proverbial dead horse, and when it rolls
> around every several months, welcomes it in the same way that you might
> welcome an outbreak of cold sores.

That can be said of many discussions here, some of which are ongoing.

> Looking at this from a different perspective, in the twenty-something years
> of discussion since Content-Type: text/html first appeared, have any
> actionable and viable suggestions emerged about how to deal with html email,
> other than stripping it off in the archived emails?

Wearing a security hat, what I would do is strip off all script and img
elements, and any element with an href that gets dereferenced
automatically.

Or maybe pass it through elinks and then turn the references back into
HTML links that the user can click on if they really like.

> Maybe the people who are upset about html email could form a working group,
> take the discussion there and write up an ID with observations and
> recommendations for html emails at the ietf?

Unlikely.  We're a volunteer organization, but the volunteers do get
paid to do most of what they do here.

A better approach would be to standardize a subset of HTML for email
that is secure enough.  But I think that would fall on the W3C.

Nico
--