Re: [Jmap] I-D Action: draft-ietf-jmap-mdn-11.txt

Bron Gondwana <brong@fastmailteam.com> Wed, 24 June 2020 05:29 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0491F3A080A for <jmap@ietfa.amsl.com>; Tue, 23 Jun 2020 22:29:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=eo3UGMaK; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Y/93uOYI
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 qR9nV6P1sqkf for <jmap@ietfa.amsl.com>; Tue, 23 Jun 2020 22:28:58 -0700 (PDT)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F23083A077A for <jmap@ietf.org>; Tue, 23 Jun 2020 22:28:57 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 03328AF1; Wed, 24 Jun 2020 01:28:56 -0400 (EDT)
Received: from imap7 ([10.202.2.57]) by compute1.internal (MEProxy); Wed, 24 Jun 2020 01:28:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:cc:subject:content-type; s=fm3; bh=TD9G r/eCS3G1v0kYN9XXZ8Jb1446xw7KeXdBPebyCko=; b=eo3UGMaKf24kpQCJSvAe b86iStvYmahbITqQkPqrpiTh9DfvO/2OQ10dzRGk7NOYyxDp0pKaoEmH8IyDCyoQ m6V/yrD7DAW6FUoHx/VTgUbf4KcfIwI1LXAv94DaCsNlPuNNZsAUzbcelBOTWZZp eJnjrMVA6scXwhgTjLz/iGC2kZ5qLz32ZL1JJeJW3nguE9MQkp1mjg6EHq7+t5Cv nXxQi2IwASVmTMo9hxo5PwBa7xrCzY0Bfw6uavUks6uOob12pZltcnnRE+kQXo6s /+y2vYBGQ3LJOGHJIwtCODRlzdI3IQ3ir5yVK0XNBpX82AuwKJkD3JqjLC3on+Jw yQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=TD9Gr/ eCS3G1v0kYN9XXZ8Jb1446xw7KeXdBPebyCko=; b=Y/93uOYI9uAQxhPaGGDBdU m4OMxo4ulvviBaveOAlOmCBuoikFZ016D1+t0Os1GYqTgg37Wv2Soi/Sw396Ua4E c+5CI18FRpNNAyAam71gdMDiMFLIFpyBIs+/E7wDsgATXBcBhnoHv5DOhTZJjRp/ jpktKBDeO9gcHtJNDqYTl7w/oxrzrf7SPJmcso3ZWVLrXH/p9nQlL1zIStmDCVL7 Jppo8OQ/QKHKF7UC+Vq664g3inqtLLNmkXD+0CXZrSpssF0g08PIFaWzfc3EDDZI ke2mH3uP6HydpgpTcddmms2LmkuHsZLS6kGMaytEvcBIB3QyovVghTdauRzE5CsA ==
X-ME-Sender: <xms:mOTyXrm-V9Xq956M5WW_I4m0FyySVFp5u-eVCVOv2AMiJFvmwDamog>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudekiedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdeurhho nhcuifhonhgufigrnhgrfdcuoegsrhhonhhgsehfrghsthhmrghilhhtvggrmhdrtghomh eqnecuggftrfgrthhtvghrnhepffdvkeefgeelieeutedttdffheevvefffeekuddvtddt keeigfejuddvhfdvudelnecuffhomhgrihhnpehivghtfhdrohhrghenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsrhhonhhgsehfrghsthhm rghilhhtvggrmhdrtghomh
X-ME-Proxy: <xmx:mOTyXu2GODTH7mDz_p0btnhgfqaJNH9mL5KXvniRGA5L0HB8yvqL_w> <xmx:mOTyXhq5JuXWO62tZhg9Qn_g6SMXUtXgS-N9hvuCtLbzrvT0EWMI7A> <xmx:mOTyXjmYpdAxNRnnPASboNClFTjYdlbaPHcOQxsB20TfZk94RbIAsw> <xmx:mOTyXqDn0QMbKmvVT74_BxZaldgbEnj5hr0N5MVzncE5RAAxWPHX-w>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 25D0D180091; Wed, 24 Jun 2020 01:28:56 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-dev0-565-g8923300-fm-idx2020-20200622.001-g89233000
Mime-Version: 1.0
Message-Id: <1038d50c-fe3b-47b8-bfac-763694fb00d3@dogfood.fastmail.com>
In-Reply-To: <159283987001.31035.14770609981304374699@ietfa.amsl.com>
References: <159283987001.31035.14770609981304374699@ietfa.amsl.com>
Date: Wed, 24 Jun 2020 15:28:34 +1000
From: Bron Gondwana <brong@fastmailteam.com>
To: jmap@ietf.org
Cc: Raphael OUAZANA <raphael.ouazana@linagora.com>
Content-Type: multipart/alternative; boundary="25a56c0c46234697ae3324b55d179d70"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/noBh7kardXuRE8oUuPTHBXlWlPM>
Subject: Re: [Jmap] I-D Action: draft-ietf-jmap-mdn-11.txt
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Jun 2020 05:29:00 -0000

Hi Raphael,

This looks fantastic! Thanks so much for revising it so quickly.

I have only a couple of tiny comments.

*2.1.  MDN/send*

   o  onSuccessUpdateEmail: "Id[PatchObject]|null" A map of creation id
      to an object containing properties to update on the Email object
      referenced by the "MDN/send" if the sending succeeds.

This shouldn't be "creation id" it should just be "id", as seen later in the example where it's prefixed with a '#' making it a back reference to the ID created by the send. This is a little weird because MDN/send doesn't create an object, but it does need to create some kind of at least session-length ID in order for the lookup in the Email/set to work.

So I would just remove the word "creation" from this and say "A map of id to an object ...". Maybe add text: "this will always be a backreference to the creation id (see example below)".

*3.1.  Sending an MDN for a received email*

The example still shows the Email/set response including the keywords update, which it should not. It should just be:

     [ "Email/set", {
       "accountId": "ue150411c",
       "oldState": "23",
       "newState": "42",
       "updated": {
         "Md45b47b4877521042cec0938": {}
       }
     }, "0" ]]


Cheers,

Bron.

On Tue, Jun 23, 2020, at 01:31, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the JSON Mail Access Protocol WG of the IETF.
> 
>  Title : Handling Message Disposition Notification with JMAP
>  Author : Raphaƫl Ouazana
> Filename : draft-ietf-jmap-mdn-11.txt
> Pages : 13
> Date : 2020-06-22
> 
> Abstract:
>  JMAP ([RFC8620] - JSON Meta Application Protocol) is a generic
>  protocol for synchronising data, such as mail, calendars or contacts,
>  between a client and a server. It is optimised for mobile and web
>  environments, and aims to provide a consistent interface to different
>  data types.
> 
>  JMAP for Mail ([RFC8621] - The JSON Meta Application Protocol (JMAP)
>  for Mail) specifies a data model for synchronising email data with a
>  server using JMAP. Clients can use this to efficiently search,
>  access, organise, and send messages.
> 
>  MDN are defined in [RFC8098] and are used as "read receipts",
>  "acknowledgements", or "receipt notifications".
> 
>  MDN have a specific format that must be parsed or generated. The
>  goal of this document is to specify a data model for handling MDN
>  messages with a server using JMAP.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-jmap-mdn/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-jmap-mdn-11
> https://datatracker.ietf.org/doc/html/draft-ietf-jmap-mdn-11
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-jmap-mdn-11
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> 
> _______________________________________________
> Jmap mailing list
> Jmap@ietf.org
> https://www.ietf.org/mailman/listinfo/jmap
> 

--
 Bron Gondwana, CEO, Fastmail Pty Ltd
 brong@fastmailteam.com