Re: [Jmap] DSN and MDN in JMAP

Bron Gondwana <brong@fastmailteam.com> Wed, 19 July 2017 06:49 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 E2FE7131A7C for <jmap@ietfa.amsl.com>; Tue, 18 Jul 2017 23:49:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.719
X-Spam-Level:
X-Spam-Status: No, score=-2.719 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=ijfbfp+X; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=PoRzSv5y
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 5T27mKgMWPtV for <jmap@ietfa.amsl.com>; Tue, 18 Jul 2017 23:49:03 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 75414131935 for <jmap@ietf.org>; Tue, 18 Jul 2017 23:49:03 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D4DEF20ADF for <jmap@ietf.org>; Wed, 19 Jul 2017 02:49:02 -0400 (EDT)
Received: from web6 ([10.202.2.216]) by compute6.internal (MEProxy); Wed, 19 Jul 2017 02:49:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=content-transfer-encoding:content-type:date :from:in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=UzZdc0prF6JWS0jbw 7pYY92k++ReqRpUvl6DKqECSbU=; b=ijfbfp+X/F18ekhzbcP6ciRsKSUY2JGny bEEV+FIyvDORQ6pB7hIYiBFZ/gleUfR6w5Xn0WmraI7hFmjtmwJB2s0ZWneEoSxk IlRYEvwmiT3XJLR8tjYjr7Bi4g0om/eB4sjNYRYKupO4vuO46OggrTB3DOpLiLH8 ttLleqLYZC8rDrmxnKhUjZAebeKhhrLnScXuNQIh6Lt8iMaHk5VJzBSraYY6ukoj 0CZy04lrzwA+t/HG7m6Ga2IN/rKf4zP00VSRhkK+eoHBwjzx1RYsE2V9i8rViNn/ XhsywIKsQdmB9XNSjNXoF5WqY1zBl2mzxNGsooF5eUGfhtB+ztHmQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=UzZdc0 prF6JWS0jbw7pYY92k++ReqRpUvl6DKqECSbU=; b=PoRzSv5yGWxHu6bTmwl598 giPGpsX6PE1lJDTmh16Nxc0mIy5oDjur/M6oGeyYdJqhH8xcJvdwU/3coON9GXrR 7lkmrygz4f6heFDwvc6Ra2C0+fpNo35JcNxcaXyWF4wfaj5bctf8auYNqqORbLFz uHZK2tmG2K2a5J19nzDoScLx5cbQLrMieug3YWYkgEEuoSU0Wu5PZku3t/sWA8nM T9RMs3fviN4yMdVi7/0Fj9poE8Dg95/HfVkQ0BFX00zTfGO8+AoqclVjCj3Ou33E lyYD7Cihap7LNvJOloaTeO4EtXsONoXutrvB8YNUv7ygNPlPwUOp7R+bnkdzMiCg ==
X-ME-Sender: <xms:3gBvWZwcBtJP_xIOq_NqDIgMHHj8yKj94L2u-mWrKmLVWKgR5mdDrg>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id A384048006; Wed, 19 Jul 2017 02:49:02 -0400 (EDT)
Message-Id: <1500446942.4021701.1045523016.632D0EF4@webmail.messagingengine.com>
From: Bron Gondwana <brong@fastmailteam.com>
To: jmap@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_150044694240217012"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-095ee039
Date: Wed, 19 Jul 2017 16:49:02 +1000
References: <71E3B9BE-C58C-40DF-AA63-EB4B94334DD5@oracle.com> <1500398084.797896.1044865312.4893BFE7@webmail.messagingengine.com>
In-Reply-To: <1500398084.797896.1044865312.4893BFE7@webmail.messagingengine.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/BY5VO_umjpGHvhSkmmWj8EjFr2A>
Subject: Re: [Jmap] DSN and MDN in JMAP
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.22
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, 19 Jul 2017 06:49:08 -0000

Regarding "delivered" there is a 4th state which you haven't captured here which is "definitely not yet" while the message is still in an outbound queue.  That's not quite the same as unknown.  Obviously a future-send email would also have that state.
On Wed, 19 Jul 2017, at 03:14, Neil Jenkins wrote:
> *delivered*: `String`
>  * This MUST be one of the following values:
> `unknown`: The delivery status is unknown. This is the initial value.
> `yes`: A DSN has been received for this recipient with Action (as per RFC3464 section 2.3.3) equal to "delivered".
> `no`: A DSN has been received for this recipient with Action equal to "failed".
>  * *seen*: `String`
> This MUST be one of the following values:
> `unknown`: The seen status is unknown. This is the initial value.
> `yes`: An MDN has been received for this recipient with Disposition-Type (as per RFC 3798 section 3.2.6.2[1]) equal to "displayed".
>  * *dsnBlobIds*: `String[]`
> A list of blob ids for DSNs received for this recipient, in order of receipt, oldest first.
>  * *mdnBlobIds*: `String[]`
> A list of blob ids for MDNs received for this recipient, in order of receipt, oldest first.> The other nice thing about this is that JMAP servers may be able to update the delivered/seen properties based on other mechanisms (for example when there are local recipients); the client doesn't have to care how the server knows if the message has been delivered/seen.> 
> Neil.
> _________________________________________________
> Jmap mailing list
> Jmap@ietf.org
> https://www.ietf.org/mailman/listinfo/jmap

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



Links:

  1. https://tools.ietf.org/html/rfc3798#section-3.2.6.2