Re: [Jmap] WG Review: JSON Mail Access Protocol (jmap) - reducing configuration complexity

Neil Jhaveri <njhaveri@apple.com> Tue, 07 February 2017 21:49 UTC

Return-Path: <njhaveri@apple.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 F09311294A4 for <ietf@ietfa.amsl.com>; Tue, 7 Feb 2017 13:49:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.321
X-Spam-Level:
X-Spam-Status: No, score=-4.321 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.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 cW7hJ4IbaXQR for <ietf@ietfa.amsl.com>; Tue, 7 Feb 2017 13:49:51 -0800 (PST)
Received: from mail-in4.apple.com (mail-out4.apple.com [17.151.62.26]) (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 392391288B8 for <ietf@ietf.org>; Tue, 7 Feb 2017 13:49:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1486504191; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ass4ghwNJiSXB5439qtfdLaSRE6vltu7jl6LbO1tOKw=; b=TLn7EarDpfipDr/YA/q9tK5DdBgFtVY+Y/bXTm566Hnx5IwGm9//gjuL+VrMlVwo U8clbqG+FR5uf4s0pxshVwf8687HTLJGU5tP4V9RWszNu481HnmMD6uZgCAYDMmV 11jiRg7Kb4nSN35iQR5Ny9biiYY/UXtqtRCvTNvZ7GLlZn9TtusgVtVm/UH3DSYc T4QQZHNWbIYBO5M1BoRv5WHnPa5A6WM/2oVLZEpT/eS+AXxatg//GPFbHhHugGoJ cKewHAEMPbnoVyso6UEwBPSMfJXyP47DZ2RY5Ee3u+Zt23zDZ5sPi7FJw0RAzO4X nm8JfdXegRhYZrHuSTe76g==;
Received: from relay8.apple.com (relay8.apple.com [17.128.113.102]) by mail-in4.apple.com (Apple Secure Mail Relay) with SMTP id DA.64.10104.EF04A985; Tue, 7 Feb 2017 13:49:51 -0800 (PST)
X-AuditID: 11973e12-5adff70000002778-af-589a40fe050d
Received: from mailex13.apple.com (nwk-mbx16p-w02.pex.exch.apple.com [17.146.17.21]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by relay8.apple.com (Apple SCV relay) with SMTP id 21.2E.12381.DF04A985; Tue, 7 Feb 2017 13:49:49 -0800 (PST)
Received: from nwk-mbx16p-w01.pex.exch.apple.com (17.146.17.20) by nwk-mbx16p-w02.pex.exch.apple.com (17.146.17.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.27; Tue, 7 Feb 2017 13:49:48 -0800
Received: from nwk-mbx16p-w01.pex.exch.apple.com ([17.146.17.20]) by nwk-mbx16p-w01.pex.exch.apple.com ([17.146.17.20]) with mapi id 15.01.0544.027; Tue, 7 Feb 2017 13:49:48 -0800
From: Neil Jhaveri <njhaveri@apple.com>
To: "dcrocker@bbiw.net" <dcrocker@bbiw.net>
Subject: Re: [Jmap] WG Review: JSON Mail Access Protocol (jmap) - reducing configuration complexity
Thread-Topic: [Jmap] WG Review: JSON Mail Access Protocol (jmap) - reducing configuration complexity
Thread-Index: AQHSgYwaHBfYLmOncEKXZixKGs2vHQ==
Date: Tue, 07 Feb 2017 21:49:48 +0000
Message-ID: <2042C2E0-7F86-47AA-800B-3E4E50E66259@apple.com>
References: <CAMQk0F-6CFLHKvTxSaPV20Lp-hVOSSk_WrHOGq6-LOUO8aDNww@mail.gmail.com> <b83068ad-602b-8feb-f808-35befd13ae29@dcrocker.net>
In-Reply-To: <b83068ad-602b-8feb-f808-35befd13ae29@dcrocker.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [17.202.38.69]
Content-Type: text/plain; charset="utf-8"
Content-ID: <6DA6D5E99794E44A862D66B7DDE35E19@pex.exch.apple.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBIsWRmVeSWpSXmKPExsUi2FCYpvvfYVaEwY8dLBa/P31gs3jwdyaL xYw/E5ktnm2cz2LRe38GmwOrx6WdJ9k8ds66y+6xZMlPpgDmKC6blNSczLLUIn27BK6MF79P sRd8E6mYs42ngXGDSBcjJ4eEgInE1Kt7WLsYuTiEBPYxSqxYep8JJnF75k82iMQiJomP704w QzjtTBIHuzdBOdsZJebumcPexcjBwSagLrH5XBpIt4iAtsS9/leMIDXMAh2MEtMnnGcHSQgL pErMmfWbEaIoTWLnt4vMELaexJxbf8BWswioSPT8+cIGYvMK2Ehc7jjPArGsjVFi4b4+sEGc Ag4SSy7tACtiFBCT+H5qDVgzs4C4xK0n86F+EJBYsuc8M4QtKvHy8T9WCFtH4uz1J4wQtoJE y8bnjCAPMAtoSqzfpQ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g bON/8PPCigehbB8zm/kErpY8advS6K2rbqS6TmnT3nNnl61/qdr3wv2wzqRzh2p1mAN9tsfO /bVWtOduT5iDh9Csok173QW99a98djrsNT/n3B0d8b7FV5milVZJ1iYt/Tz38znxQgupTrXt xs/i7uu2vvyq1v8ppqL32dq+F3MrbZf7XqyZpsRSnJFoqMVcVJwIAOYsUbTaAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/AhMoDl3h5XoNA8l57MGumAToG1M>
Cc: "jmap@ietf.org" <jmap@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, Gren Elliot <fatkudu@gmail.com>, "iesg@ietf.org" <iesg@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.17
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, 07 Feb 2017 21:49:55 -0000

> On Feb 7, 2017, at 12:12 PM, Dave Crocker <dhc@dcrocker.net> wrote:
> 
> But how large a community is this and why is this problem not mitigated simply by having the user interface take one password specification and map it to the two, underlying (and existing) protocols?


I agree that this can go a long way.  On iOS and macOS, we've done this to a limited degree, by building a central database of accounts that each app uses. “Branded partner” accounts like Google/Yahoo!/Aol/etc have the credentials centrally stored, and child accounts (IMAP, SMTP, etc) inherit them, with a single UI framework to re-authenticate.

Unfortunately, regular accounts still don’t have this treatment, and it still drives a lot of calls to AppleCare. There are a bunch of reasons why, but one is that it’s tricky to be sure that the various protocols/hostnames have been appropriately bundled together into what is truly the same service, where the same username/password truly applies, and there isn’t a security issue from taking your user-updated IMAP password and sending it off to a CalDAV server with a different hostname. This does seem like an incrementally solvable problem, though, with some of the other work being done in the account configuration space.

However, there are still some operational issues that arise, even with this kind of UI, for example:
(a) Two different protocols/servers often lead to very confusing partial failures (I can check for my Mail, but I can’t send any).
(b) Port fire-walling. It was a more common support issue for us 8-10 years ago, but has subsided in recent years.

That all being said, I think there are some very compelling aspects here, particularly the stateless nature of the protocol, and using HTTP underneath. From a client’s perspective, I can say that this would lead to a far simpler implementation, with pre-existing EWS/EAS implementations being the backing of that statement.