Re: [Jmap] Benjamin Kaduk's Discuss on draft-ietf-jmap-mdn-15: (with DISCUSS and COMMENT)

Barry Leiba <barryleiba@computer.org> Wed, 16 December 2020 16:48 UTC

Return-Path: <barryleiba@gmail.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 2C4B83A11BC; Wed, 16 Dec 2020 08:48:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level:
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 g26YuhbvyTmZ; Wed, 16 Dec 2020 08:47:59 -0800 (PST)
Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58A353A11D8; Wed, 16 Dec 2020 08:47:49 -0800 (PST)
Received: by mail-lf1-f45.google.com with SMTP id y19so49935012lfa.13; Wed, 16 Dec 2020 08:47:49 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=UnolFbfSL4OmoYcXHcispv2VEMDlL69AYa2HW1GrHNw=; b=mI+xa2OW3bWdrIpvgp3A1IEzMCNwd0KVtvvijxocD5V2hyeYWwtXTYORVVOsc6OUAu ZPqrLbCLV2k/OTpUromlgA3fs+3pIev4NjEHczT29KxhRtqKnJS/al1GjBM6Nn9UbXS4 JQhs6z9Jg5OdZSjsmzMaTCCGEfgJdJ3gcjL97OrF37hRCfx+y0stRE+Xh9FJUjeLhlQu TWEC60vDhxbFgsIESsxq9OoirR8DlhXtg+038Q0Hkyoum80kOSWhzR7L/UsyE1vnvEec jQKRMjPPDwcYgmpQ+562kAhZqgEdFFBnqNe05b6MCKClLGb1gKcrm71OJA+AbIWQ58w1 f8BA==
X-Gm-Message-State: AOAM533/yDRM2r9845s8PezYIbhcpt39AoELmF/N3gXgPKb/8rO5jsuw hhDjLMhnnGsPUIbQph2vEEbAiuHd4azuLfPJUcqCrkde5wk=
X-Google-Smtp-Source: ABdhPJy5/pQ9RqX+lmou4IB/H1fmqrzyzmgd1jvJQXlUB0QEPz74SurRfDlmRZkbzLTa4euk8hzzuMjMMEBwxYtWdyw=
X-Received: by 2002:ac2:41d9:: with SMTP id d25mr12439789lfi.377.1608137267350; Wed, 16 Dec 2020 08:47:47 -0800 (PST)
MIME-Version: 1.0
References: <160193187289.4946.17482930539468511819@ietfa.amsl.com> <3490c237-bb9e-62df-9282-413ba44a1084@linagora.com>
In-Reply-To: <3490c237-bb9e-62df-9282-413ba44a1084@linagora.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Wed, 16 Dec 2020 11:47:36 -0500
Message-ID: <CALaySJJ+MsbzDxC0VT0OHpVxosSTKQW7XjJBkQm9h2ayJvSpwQ@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>, Raphaël Ouazana <rouazana@linagora.com>
Cc: The IESG <iesg@ietf.org>, IETF JMAP Mailing List <jmap@ietf.org>, draft-ietf-jmap-mdn@ietf.org, Bron Gondwana <brong@fastmailteam.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/ltnTUDmhC3p2THiIhcBsWMbbVro>
Subject: Re: [Jmap] Benjamin Kaduk's Discuss on draft-ietf-jmap-mdn-15: (with DISCUSS and COMMENT)
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, 16 Dec 2020 16:48:07 -0000

Ben, I think the change made in -16 to the penultimate paragraph of
Section 2.1 should resolve your DISCUSS.  Can you check?  Thanks.

Barry

On Thu, Dec 10, 2020 at 1:24 PM Raphaël Ouazana <rouazana@linagora.com> wrote:
>
>
> Le 05/10/2020 à 23:04, Benjamin Kaduk via Datatracker a écrit :
> > ----------------------------------------------------------------------
> > DISCUSS:
> > ----------------------------------------------------------------------
> >
> > This should be quite easy to resolve; I'm just not sure yet which
> > direction the resolution will be.
> >
> Discussed on the list, this should has been fixed in the last draft.
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> >
> >
> > Section 1
> >
> >     A client can have to deal with MDNs in different ways:
> >
> > (editorial) "have to deal with" seems like it can be read as implying
> > obligation to do so (even though the majuscule "MUST" is not used); it
> > seems like this is just attempting to enumerate the cases in which an
> > MDN might be encountered or need to be interacted with.
> Replaced by "come across". Not being native English speaker, the
> distinction is subtle for me, I hope it's better.
> >
> >     2.  When sending an email message, an MDN can be requested.  This
> >         must be done with the help of a header, and is already specified
> >         by [RFC8098] and can already be handled by [RFC8621] this way.
> >
> > (nit?) "header" or "header field"?  (We get this a lot for HTTP and I've
> > forgotten if SMTP uses the same rule...)
> Fixed
> >
> >     3.  When receiving an MDN, the MDN could be related to an existing
> >         sent message.  This is already covered by [RFC8621] in the
> >         EmailSubmission object.  [...]
> >
> > (The "DeliveryStatus" member, in particular, right?)
> The "mdnBlobIds" member is enough explicit for me to not have to write it.
> > Section 1.3
> >
> >     The value of this "urn:ietf:params:jmap:mdn" property is an empty
> >     object in the account's "accountCapabilities" property.
> >
> > I presume it's also an empty object in the server's "capabilities"
> > property as well (and we should probably say so).
> Fixed.
> > Section 2
> >
> > It's a little interesting to me that RFC 8261 did not define or mention
> > specific access to the User-Agent string but we need to have a specific
> > reportingUA here.  I do recognize that it's (an optional) part of the
> > RFC 8098 ABNF, and that RFC 8098 mentions the relevant security
> > considerations already.  Perhaps a subtle nudge in this section that the
> > "null" option may have better privacy properties would be appropriate.
> > (We may also revisit whether/what to include in the examples for
> > reportingUA.)
> Added.
> >     o  finalRecipient: "String|null" Recipient for which the MDN is being
> >        issued.  if set, it overrides the value that would be calculated
> >        by the server from the Identity.
> >
> > Could we get a couple more words to support the definite article?  (I am
> > not sure which Identity is "the" Identity just from this context; it is
> > only later on that we discover that there is an identityId in the
> > MDN/send arguments.)
> Added.
> >
> >     o  extensionFields: "String[String]|null" Object where keys are
> >        extension-field names and values are extension-field values.
> >
> > I used process of elimination to conclude that these are RFC 8098
> > extension-field ABNF names/values; I don't know if there's a good way to
> > hint the reader of that fact.
> I tried to add a hint.
> >
> >     o  actionMode: "String" This MUST be one of the following strings:
> >        "manual-action" / "automatic-action"
> >
> >     o  sendingMode: "String" This MUST be one of the following strings:
> >        "mdn-sent-manually" / "mdn-sent-automatically"
> >
> > I recognize that this is entirely the responsibility of RFC 8098 and not
> > this document, but is it valid to combine "automatic-action" with
> > "mdn-sent-manually"?  I am not 100% I understand the semantics.
>
> Yes it is explained in RFC 8098 :
>
> "manual-action [...] (This might include the case when the user has
> manually configured her MUA to automatically respond to valid MDN
> requests.)"
>
> > Section 2.1
> >
> >                                   The latter because of the implicit call
> >     to Email/set and the use of Identities, described below.  [...]
> >
> > nit: does this sentence have a verb?
> Fixed.
> >
> >     The following already registered SetError would mean:
> >
> > nit: these are the SetError types, right?
> Fixed.
> > Section 3.x
> >
> > It might be helpful to use a different creation ID for the different
> > classes of example (though not required by the protocol).
> Fixed.
> > Section 3.1
> >
> >               "extension": {
> >                 "X-EXTENSION-EXAMPLE": "example.com"
> >               }
> >
> > nit(?): somehow I thought X- extensions were generally thought to not be
> > needed/useful anymore.
> Fixed.
> > Section 5
> >
> >     In order to enforce trust regarding the relation between the user
> >     sending an email message and the identity of this user, the server
> >     SHOULD validate in conformance to the provided Identity that the user
> >     is permitted to use the finalRecipient value and return a
> >     forbiddenFrom error if not.
> >
> > "enforce" and "SHOULD" are not words I usually see in combination.
> Fixed, I meant reinforce.
>