Re: [art] Auto-configuring Email Clients via WebFinger

Steffen Nurpmeso <steffen@sdaoden.eu> Thu, 25 July 2019 14:49 UTC

Return-Path: <steffen@sdaoden.eu>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0906612006D for <art@ietfa.amsl.com>; Thu, 25 Jul 2019 07:49:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ogv4CDYxz6Jg for <art@ietfa.amsl.com>; Thu, 25 Jul 2019 07:49:10 -0700 (PDT)
Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (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 766AA1200E3 for <art@ietf.org>; Thu, 25 Jul 2019 07:49:10 -0700 (PDT)
Received: by sdaoden.eu (Postfix, from userid 1000) id 70DC816054; Thu, 25 Jul 2019 16:49:08 +0200 (CEST)
Date: Thu, 25 Jul 2019 16:49:07 +0200
From: Steffen Nurpmeso <steffen@sdaoden.eu>
To: Marten Gajda <marten@dmfs.org>
Cc: "art@ietf.org" <art@ietf.org>
Message-ID: <20190725144907.xJ5i3%steffen@sdaoden.eu>
In-Reply-To: <20190724142232.oOgpX%steffen@sdaoden.eu>
References: <eme8317959-26f9-4a9d-b2be-d2f8cb0961f6@sydney> <1b042605-4b3a-40b7-a792-2390c924282f@www.fastmail.com> <cdc61ea9-0607-e5e9-8af8-6ac488f5e56b@dmfs.org> <20190719133320.aPmih%steffen@sdaoden.eu> <bda8ce9d-5ac7-c943-cff5-5378affc33cd@dmfs.org> <20190724142232.oOgpX%steffen@sdaoden.eu>
Mail-Followup-To: Marten Gajda <marten@dmfs.org>, "art@ietf.org" <art@ietf.org>
User-Agent: s-nail v14.9.13-136-g5ea28bbf
OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt
BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs.
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/1D_EOz3Ji_zWV-5UZM-Gw2zI7lA>
Subject: Re: [art] Auto-configuring Email Clients via WebFinger
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Jul 2019 14:49:13 -0000

Hello.

Sorry, but i am drawning in spam since i post in this thread, and
so i lost your response by accident.  Therefore like this.
I also make it short since our personal discurs leads to nothing
anyway, and that list is noisy as has not been for many many
months.

  |list of potential data points
  |
  |* provider information, like
  |  * name
  |  * branding information, e.g.
  |    * an icon
  |    * a color scheme
  |  * legal information
  |* contact and support information like
  |  * link to provider home page
  |  * link to provider terms of service
  |  * legal information
  |* contact and support information like
  |  * link to provider home page
  |  * link to provider terms of service
  |  * link to password reset page
  |  * link to account management page (e.g. where you can revoke access
  |tokens or set defaults)
  |  * link to online support
  |  * support hotline phone number
  |  * address of email support
  |* available services, including
  |  * a (ideally localized) display name of the service (e.g. "Inbox" or
  |"Calendars")
  |  * endpoint URL
  |  * authentication information, e.g.
  |    * required OAuth2 scopes
  |  * information about the data set
  |    * which services provide the same data set (e.g. a provider might
  |offer access to the same mailbox via IMAP, POP3, JMAP, MS Exchange,
  |WebMail, so a multi protocol client should pick only one of them)
  |  * certificate pinning information
  |* authentication information
  |  * for OAuth2 that would be the various endpoints
  |  * for client certificate authentication, that could be the required issuer

Well, this is obviously a different type of thing that i have in
mind when i think about email, which is SMTP/POP3(/IMAP) here.
(In fact ssh has to be added since it transports to postfix here.)
This reduces the above a lot.  What i need can be done by SRV,
maybe a SRVT i could think about.

I think the above is highly artificial, but having a SRV entry
which provides an URI that leads to some kind of impressum, or
imprint in english, is definetely something that is missing, when
i think about it.  Such things are often very hard to find on web
pages, even though legally required (in Germany).  The rest not,
sorry.

  |The potential successor is already in the works:
  |https://datatracker.ietf.org/wg/jmap/about/

Ah ja, that really is interesting.  Mysterious RFC 2047 examples
that should not occur in practice soil the stuff, but they of
course make the UTF-8 data that the future brings stand out even
more!  Just like always, very nice.  I see human beings happily
looking at DKIM signatures in clear text, in that bright future.
Mind you, keeping connections open more often in other protocols
would improve the results, plain DNS is an example, but as you say
correctly that now is also passed via the HTTP server (to the
browser).  If so, one could also imagine a mail superserver that
switches in between SMTP and IMAP on request.  Well, maybe not,
the asynchronousity is missing for SMTP.

Shall i live long enough to pimp the little text MUA i maintain,
and then have a nice I/O layer, then if dovecot etc. and the major
free mail services do offer JMAP already i might be going for this
thing, rather than for IMAP itself!  It really looks ok, and
i enjoyed the option that user agents no longer need to worry
about mail standards as such -- they can then simply take the JSON
part and display it directly, this is almost what UPAS of Unix v10
and even more in Plan9 had a quarter of a century before that:
using plain text processing on the individual parts of messages
simply by accessing those as files in a (virtual) file system.
The nmh people seem to locally reencode all data to UTF-8 to be
able to do something *almost* similar.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)