Re: [Jmap] draft-ietf-jmap-mdn-06

cketti <ck@cketti.de> Thu, 11 June 2020 13:04 UTC

Return-Path: <ck@cketti.de>
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 08DAD3A081C for <jmap@ietfa.amsl.com>; Thu, 11 Jun 2020 06:04:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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_H2=-0.001, SPF_NONE=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=cketti.de
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 R2mWV_FOyULz for <jmap@ietfa.amsl.com>; Thu, 11 Jun 2020 06:04:27 -0700 (PDT)
Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9917A3A0836 for <jmap@ietf.org>; Thu, 11 Jun 2020 06:04:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1591880665; s=strato-dkim-0002; d=cketti.de; h=In-Reply-To:Date:Message-ID:From:References:To:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=yMGSLY4tbvlku1jwL0m0WiBpnpVZ9QQtmjzwJUx4YaY=; b=nUZZ7f1dCXugCvnWg5q6CFxxEiByMnazqyIYWMPoC9iHX1q8J9eGD49AQ8jiyyDzgS FsOl42NAQ/e9JK+B6Hky3OooqZC+wr5dFD8LF86yrDihgJ17UcBusJ/rrMBywM6Qp+bk wKQDmy92pNNbq00nphVgyNuIa+HouOTmgy9I2xOkOslR2+AREgRjbqUEVSmdDDx6Yhgx iUm5dwZUlei5AJ8OhJuIhh2iL6Ot6T9KqOVzSrNGpbCZrdtw+Uelh0EWYyKdktEfv9fn RRkMttExKeVIxbm5vzACgBb3DqmZ7kve3DNPoJ2ROq4f4yMn5S3dam8z0KxquWuwrK3d 1Sjg==
X-RZG-AUTH: ":L2ckdkutb+sebmQwUUWXIIIYdHNZM+Bv5gC+3oItIZntReBfOoHCAsuiGZE="
X-RZG-CLASS-ID: mo00
Received: from [192.168.5.133] by smtp.strato.de (RZmta 46.10.2 DYNA|AUTH) with ESMTPSA id 90b21bw5BD4P0Fw (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for <jmap@ietf.org>; Thu, 11 Jun 2020 15:04:25 +0200 (CEST)
To: jmap@ietf.org
References: <b5eac159-c58e-dd75-f7f8-73a99b67345d@fastmail.com> <c4a7348f-0a09-19f0-14fd-4162479b4cd4@fastmail.com> <Mime4j.45.b5134222dd4c80fb.170eebd92f8@linagora.com> <ed338838-996a-26ad-3ba6-b5c578155e18@fastmail.com> <Mime4j.56.bf28b98699a28c35.170f24c1a82@linagora.com> <Mime4j.73.6bcc408d91ada72b.170f70b92f4@linagora.com> <Mime4j.49.2de94ecc6101a607.171c12e9c7b@linagora.com> <7e3a193f-6515-4d32-85a0-88bf624ba97c@www.fastmail.com> <050acaf4-05fd-448e-ad64-8313c14f6d23@dogfood.fastmail.com> <6d2919ca-9026-484e-885c-14e8b2bca05e@dogfood.fastmail.com> <9424bb4b-ea8d-13be-ef72-75b9ce003339@cketti.de> <670d3ff0-4aa1-4939-9a15-87e921fac080@dogfood.fastmail.com>
From: cketti <ck@cketti.de>
Message-ID: <27d50324-7bf4-c6d3-f541-23d204bb3237@cketti.de>
Date: Thu, 11 Jun 2020 15:04:25 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <670d3ff0-4aa1-4939-9a15-87e921fac080@dogfood.fastmail.com>
Content-Type: multipart/alternative; boundary="------------DB147BFC3245885E2B51DC86"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/a755teosGmgYxcF0YHvknJKFFMw>
Subject: Re: [Jmap] draft-ietf-jmap-mdn-06
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: Thu, 11 Jun 2020 13:04:30 -0000

On 11.06.20 14:09, Bron Gondwana wrote:
> You raise pretty much the same objection that I have to implicit sets
> in the first place.  They shouldn't exist.  So what would it look like
> to have an EXPLICIT set?
>
>        [[ "MDN/send", {
>          "accountId": "ue150411c",
>          "identityId": "I64588216",
>          "send": {
>            "k1546": {
>              "forEmailId": "Md45b47b4877521042cec0938",
>              "subject": "Read receipt for: World domination",
>              "textBody": "This receipt shows that the email has been
>                  displayed on your recipient's computer. There is no
>                  guaranty it has been read or understood.",
>              "reportingUA": "linagora.com; OpenPaaS",
>              "disposition": {
>                "actionMode": "manual-action",
>                "sendingMode": "MDN-sent-manually",
>                "type": "displayed"
>              }
>            }
>          },
> *"onSuccessUpdateEmail": { "#k1546": { "keywords/$mdnsent": true***
> *}***
> *}*
>        }, "0" ]]
>
> This would match the semantics of EmailSubmission/set, which this is
> kind of a special case of in some ways, and would then mean that
> there's never any need to worry about the automatic tasks that the
> server takes, because it never does.  Yes, you need to hard-code that
> logic into clients, but it strongly matches with my hard earned belief
> that automatic magical behaviour on the server is bad - the client
> should explicitly ask for side-effects.
>
> I would also put a SHOULD or even MUST in the spec that the server
> reject an MDN/send which doesn't result in setting the keyword
> $mdnsent on the server in that case.

I like that. I agree that being explicit is better.