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

Alexey Melnikov <alexey.melnikov@isode.com> Thu, 16 February 2017 15:20 UTC

Return-Path: <alexey.melnikov@isode.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 4BBD1129509 for <ietf@ietfa.amsl.com>; Thu, 16 Feb 2017 07:20:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.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 fv7m7ltOSbJl for <ietf@ietfa.amsl.com>; Thu, 16 Feb 2017 07:20:29 -0800 (PST)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id 999AC1294AB for <ietf@ietf.org>; Thu, 16 Feb 2017 07:20:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1487258428; d=isode.com; s=june2016; i=@isode.com; bh=u0wotMcChp5T5RfBmWao3AZzIJGSRHEnXAumDML0co8=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=oioHCYUMhfSgPYkwtnZ20voByQMhdbDqqaXj+eeeMfisHR1lp9RZTdOmb/7FJ1bLLDMVHM j+Uupt0Khkn1NpgqD4qWUU1QWFfAew2li3u6A1J2whVImtT0FD+HBmgL9Z8Z1LvqKnldb+ bOsYEL3ZZ0l1ZJW6Sj20295Og+tCQy0=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <WKXDPAA6wzF3@waldorf.isode.com>; Thu, 16 Feb 2017 15:20:28 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: Fwd: Re: [Jmap] Fwd: Re: WG Review: JSON Mail Access Protocol (jmap) - reducing configuration complexity
To: John C Klensin <john-ietf@jck.com>, Ned Freed <ned.freed@mrochek.com>
References: <3b955910-12d0-2c56-0dc2-30279f98aea5@isode.com> <19fabdd7-77c5-fc13-616e-26d39d2f23df@isode.com> <20170208142241.GB84460@mx4.yitter.info> <217b1d1b-adba-2ebb-30ca-600f8dc77246@isode.com> <32D2801528D191A01AD4D3B2@PSB> <2fa724eb-18ba-b818-6a01-a07db5a9a9a4@isode.com> <01QANBYPRC140005AQ@mauve.mrochek.com> <1162BF5A37921B1555FF29F9@PSB>
Message-ID: <8c81f385-7dfc-cff3-f97c-3c016fc72601@isode.com>
Date: Thu, 16 Feb 2017 15:20:12 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
In-Reply-To: <1162BF5A37921B1555FF29F9@PSB>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------44B9F9D239802BFDC960BD6C"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/FnhRE1i_TEvIx_JcLLVLPG_1zek>
Cc: ietf@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: Thu, 16 Feb 2017 15:20:31 -0000

John and Ned,

On 12/02/2017 20:15, John C Klensin wrote:

> --On Wednesday, February 8, 2017 12:39 -0800 Ned Freed
> <ned.freed@mrochek.com>  wrote:
>
  [snip]
>> (2) in particular creates additional requirements that need to
>> be explicitly called out in the charter. In particular, it's
>> imperative that (a) It be reasonable to implement
>> JMAP->IMAP/SUBMIT proxies, even if that constrains JMAP in
>> ways some folks do not like, (b) The list of IMAP extensions
>> needed to properly implement JMAP be called out, and (c) The
>> security considerations involved in operating such a proxy
>> need to be described in detail.
I updated Charter text to mention these.
> Exactly.  If one expects JMAP to be wildly successful, and
> unless there is either a plausible plan to make all of those
> IMAP clients go away (even if there are no new ones), I think
> that list should include either its being reasonable to
> implement and support IMAP/SUBMIT-> JMAP proxies or other
> overlays or a charter requirement to discuss residual use cases
> for IMAP.    I'm particularly concerned about supporting
> IMAP-native clients with a JMAP-native mailstore.
>
>>> 2). Both are supported by the same software (i.e. Cyrus and
>>> Dovecot use case). I doubt that incremental cost of
>>> configuring both is much higher than just configuring one of
>>> them.
>>> In either case configuring JMAP clients is a simple(r)
>>> proposition: just distribute HTTP URI for a JMAP instance.
>>>> and to support, also for a long time, the ability to convert
>>>> between the two formats.
>>> There are no 2 formats, both IMAP and JMAP operate on RFC
>>> 5322 objects, so the rest of your argument is invalid.
>> Agreed. I have to say I really don't understand the confusion
>> surrounding this point. IMAP has bodystructure plus a couple
>> of other formats for returning message data, and a means of
>> creating new messages from pieces of other messages, none of
>> which look remotely like MIME/RFC 5322, and nobody cares.
>>
>> This is effectively the same thing; why should anyone care
>> here?
> I can't speak for anyone else, but I'm concerned about what it
> takes to create and maintain servers and mailstores that are
> compatible with both IMAP and JMAP.  If that means proxies, we
> either need to address the question of IMAP proxies over JMAP
> and JMAP mailstores as well as the JMAP over IMAP-compatible
> ones or I'd like the charter is require a good explanation of
> why that isn't necessary.  That might be "IMAP-based systems
> with JMAP overlays forever", but, the more people argue that
> JMAP will take over (rapidly or otherwise), the less plausible
> that position feels.
I've done some prototyping of existing JMAP proposal and I am quite 
confident that underlying models are close enough that implementing one 
on top of another is doable. IMAP+QRESYNC extension require IMAP 
mailstores to store change sequence numbers, which is required feature 
in JMAP.

Best Regards,
Alexey