Re: [Jmap] Adding the Message::isForwarded property

Neil Jenkins <neilj@fastmail.com> Wed, 05 April 2017 23:13 UTC

Return-Path: <neilj@fastmail.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 3D3E6126E01 for <jmap@ietfa.amsl.com>; Wed, 5 Apr 2017 16:13:51 -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, FREEMAIL_FROM=0.001, 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.com header.b=vcMRQZmq; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=OuxCqUvn
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 2h9RCuxq19dW for <jmap@ietfa.amsl.com>; Wed, 5 Apr 2017 16:13:49 -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 1520F1293F9 for <jmap@ietf.org>; Wed, 5 Apr 2017 16:13:49 -0700 (PDT)
Received: from betaweb1.internal (betaweb1.nyi.internal [10.202.2.10]) by mailout.nyi.internal (Postfix) with ESMTP id 8186420BB0; Wed, 5 Apr 2017 19:13:48 -0400 (EDT)
Received: from betaweb1 ([::ffff:10.202.2.10]) by betaweb1.internal (MEProxy); Wed, 05 Apr 2017 19:13:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.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=oMdEigF9MjX4GrnAqWrdoL1f9yq7Q ZwMWiBjCZNcl7g=; b=vcMRQZmqrTH2kDkiLl/UKXB3w7Y6drIYhaWVBAOwl1sbe F96Y3fnIqHfGUFQVCon3/b/N/Rd1m+mbq4FH/N0xVtrd/KtxAQIPJBudgG36ghHi ynKhhUCMnv+3mssVcX/pv3MVnG+lmP/4WNqRNLiUBb61epfo6QzelLAeKguMtygO 07BeJD6ki3hh6MhCaL3rNEIMBlADbJG7AM10cp7FsnEHoAqpr2+pgqqMlM/wmJ6s yzb8Oy0UD08JcFW5+TZ3pfwtopqsiSBkS5jMp6/GOUQawtjzZRAkgbcD3jrgE9CR TAqgy7uq9T1qv6EF/5VGo33x3A+HwUuv1yYPOYOZw==
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=oMdEig F9MjX4GrnAqWrdoL1f9yq7QZwMWiBjCZNcl7g=; b=OuxCqUvn0kVzVlI4lkdvVT utl7w9MOl+EdPzYIxXjmlEeiktP58uQZHcLF5Kf+ShENWJIbXvF8GcMi3urHJWz+ Tt7yROahLYkfVxHO48WC4d2dax4+gDqrBA/uGZISpCPUeB7AKzIh87Qdmomt4ync MzvONPqaW9uT9OsNZvAAqosdtwsHiUOBK+uPTQXEc1viOHl/SLBALmqC3ZhpLFfF EPW3fePTGfathoqZrjp2u5m3jQN8BOrifIJkdIUVX2GNypuE+9BCrhOvNtcYvjsM YYBmitKdS1dYC0coDskQchlwfnD5O6cCNby2i2YwGib+7x2Ty95lUHNePRmlciog ==
X-ME-Sender: <xms:LHrlWLzAPQ606g4g56o04AreePlL9U2jurY8Yo6GEQ-attMdwO3rEQ>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id 3E955E2636; Wed, 5 Apr 2017 19:13:48 -0400 (EDT)
Message-Id: <1491434028.2437286.935656552.3735299C@webmail.messagingengine.com>
From: Neil Jenkins <neilj@fastmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, jmap@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_149143402824372861"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-affd76ca
In-Reply-To: <1d07de41-b115-ccdc-1f12-0eb339c4be0e@isode.com>
Date: Wed, 05 Apr 2017 18:13:48 -0500
References: <148716911729.17277.15371202023742081890.idtracker@ietfa.amsl.com> <b7ec34d3-3aaf-82af-3663-5b0966c83ff0@dcrocker.net> <b5753f7f-92f9-50dd-42f0-ce0de7360e08@linagora.com> <A9EDBE7D-4E3D-45C2-BB97-F74AC9DB9486@oracle.com> <9eb1fd3c-8868-9d24-6c30-46d333b69fef@isode.com> <3c1711a2-46dd-db1c-506e-5e1ad89ce56d@linagora.com> <92769755-62c6-7257-ce3d-7d0b5699735d@isode.com> <59771DE7-35FB-49E3-BFC9-9EBD1268E88A@oracle.com> <1491370605.1381724.934621536.30B3055A@webmail.messagingengine.com> <1d07de41-b115-ccdc-1f12-0eb339c4be0e@isode.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/sLIL5gR7FWZESFHK2qwFRgvaUQk>
Subject: Re: [Jmap] Adding the Message::isForwarded property
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, 05 Apr 2017 23:13:51 -0000

On Wed, 5 Apr 2017, at 10:16 AM, Alexey Melnikov wrote:

> Is X-Forwarded-Message-Id registered and which implementations are
> known to add it?


Good question. I took this from Benoit's proposed changes, since we
would need *some* header for the server to be able to automatically set
the $Forwarded flag. Googling suggests this was introduced by
Thunderbird[1] and I don't see any evidence that it is registered
anywhere or implemented in other clients.


Anyone have further information on this, or know of a more standardised
alternative? The concept does seem useful to me.


On Wed, 5 Apr 2017, at 03:51 PM, Adrien de Croy wrote:

> Is there no equivalent to set?  E.g. a sorted container whose keys are
> also the values?


No, JSON does not have a built-in "set" representation, hence the choice
between array or object representation.


Neil.


Links:

  1. https://bugzilla.mozilla.org/show_bug.cgi?id=583587