Re: [Jmap] I-D Action: draft-ietf-jmap-quotas-00.txt

"Neil Jenkins" <neilj@fastmailteam.com> Tue, 29 October 2019 05:21 UTC

Return-Path: <neilj@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 1F60F1200B1 for <jmap@ietfa.amsl.com>; Mon, 28 Oct 2019 22:21:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, SPF_PASS=-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=wMUh0Pnm; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=R8vkIl75
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 R9jQfWzn27nC for <jmap@ietfa.amsl.com>; Mon, 28 Oct 2019 22:20:58 -0700 (PDT)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1FAD5120043 for <jmap@ietf.org>; Mon, 28 Oct 2019 22:20:58 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 7B75E396 for <jmap@ietf.org>; Tue, 29 Oct 2019 01:20:57 -0400 (EDT)
Received: from imap99 ([10.202.2.99]) by compute6.internal (MEProxy); Tue, 29 Oct 2019 01:20: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:subject:content-type; s=fm1; bh=0ZhQirn Nmg7bgEUu9C4Y0SpButE9O01iliX2H7rrQds=; b=wMUh0PnmqfLWQiNBzHMMtew 4g7m8BBvY8sPr/98o8fLBe+dcqx1lmJO7rk5aTtBE8awlco640EFlfasXHneSlJh GM/EQH8bWmH5I05vI5j7jbs2+IdWlsMJJ8ulMfasMmdlOtfn81n/Nre/i4gYKgrO BejFjeMMWdogEqPbYGit6eaTvcthsYUEVqJoJOJGdMO3j3ygco3Ko2OmFiX2Wx1n L4mwHZ9vazG/7v4IGCG0iztkLWnbd0wgSol8vpdQrCETDvzkoSaLwwbGgBGEybMq tWmq4sRJGaFnTW0npkXsbzzioDo6QChdSdekqkghU1tK04DwV+UE3+jHK4Ai1mw= =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm1; bh=0ZhQir nNmg7bgEUu9C4Y0SpButE9O01iliX2H7rrQds=; b=R8vkIl753d+k0pZ8mxBJIX BaxdOil0JPPsfldoqCDWdfqCC/EOiFj6CF1D8ODZKeFatQCb3zcLP0VBwYXqWY2P 135brswf4l/sag/OB9g7WgBuyUOK1w1VWpRF4svfAaHE685t6J8iy2Lh0XsqW/qS vQDlYUSXABOzwHna8d+I1Z7x7A26yRLceUVBEM2kx9z40GH+E4WbQ89iMP5qWqzm RAGLogB8vGZoUdoP8iJOP0NERbgGtfZdjFL2ovWaroYauIjnffz6GOIFIPfMef// ddmMt4wm0lzqZ1h8hCNVuslIQTq4JOiuV3cE7dJYcwxeofDSAJWn8YxR864wUPbA ==
X-ME-Sender: <xms:OMy3XeryFkZZP5dBfu3NTotSSw32EhI0Lm_jDxOdiLV2ig3PS9AlBw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddttddgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreertdenucfhrhhomhepfdfpvghi lhculfgvnhhkihhnshdfuceonhgvihhljhesfhgrshhtmhgrihhlthgvrghmrdgtohhmqe enucfrrghrrghmpehmrghilhhfrhhomhepnhgvihhljhesfhgrshhtmhgrihhlthgvrghm rdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:OMy3XQ6f4PIXr2KkO_Dt6PLyCXm66w0zuEHcNUAFnUwI1y_RSnmDDw> <xmx:OMy3XeM5Hb9lDoB_wlUB71NAi_nGthLjffX70pkVeFymnwvr7kuX5A> <xmx:OMy3XSOhtudOB4-AM-pf7_GTMYG-p7YQv67VmVFsQTkmttSLO0Ptng> <xmx:Ocy3XdAgNyXC1W-fpU5CIxw7-Natz2AJZ5WCY2Q-J-BiyLMRYDtioQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id C6930406E4B; Tue, 29 Oct 2019 01:20:56 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-512-g193a140-fmstable-20191028v1
Mime-Version: 1.0
Message-Id: <f618f7e7-d80f-4447-a12c-278181131325@dogfood.fastmail.com>
In-Reply-To: <156984226896.429.13366509735221679840@ietfa.amsl.com>
References: <156984226896.429.13366509735221679840@ietfa.amsl.com>
Date: Tue, 29 Oct 2019 16:20:36 +1100
From: Neil Jenkins <neilj@fastmailteam.com>
To: IETF JMAP Mailing List <jmap@ietf.org>
Content-Type: multipart/alternative; boundary="700a52d852a04e58902730ac8acff729"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/DhGciSRdD1R-Lp8dKSOqUkkYu-U>
Subject: Re: [Jmap] I-D Action: draft-ietf-jmap-quotas-00.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: Tue, 29 Oct 2019 05:21:00 -0000

Some feedback on this draft:

 * It's mail-specific at the moment, but could probably be made pretty generic, which I think would be more useful. e.g. Instead of "mesageCount" and "mesageStorageSize" we'd just have "size" or "count" as the types of quota, which could apply to any object type. Then you have another property on the Quota object that lists the data type(s) it applies to.
 * I'm a bit unclear on how "usedScope" and "limitScope" could be different and what this would mean in practice (and if this is actually done in the real world).
 * I'm not sure I see the purpose of the "quotaIds" property addition to the Mailbox object. I feel it would be cleaner not to add this (but add a property to the Quota object to indicate a subscope if it only applies to a subset of the objects of that type in the account).

Cheers,
Neil.