[Extra] QUOTA: is there any value in a separate ANNOTATION-STORAGE quota field?

"Bron Gondwana" <brong@fastmailteam.com> Wed, 20 November 2019 08:03 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D2A9120A71 for <extra@ietfa.amsl.com>; Wed, 20 Nov 2019 00:03:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, 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=EvCIAAn3; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=vpmbvzVQ
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 L71SI1dgsUHI for <extra@ietfa.amsl.com>; Wed, 20 Nov 2019 00:03:15 -0800 (PST)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 16EED120A65 for <extra@ietf.org>; Wed, 20 Nov 2019 00:03:15 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id CD5E9214 for <extra@ietf.org>; Wed, 20 Nov 2019 03:03:13 -0500 (EST)
Received: from imap99 ([10.202.2.99]) by compute6.internal (MEProxy); Wed, 20 Nov 2019 03:03:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:date:from:to:subject :content-type; s=fm1; bh=IOSde/vU5RC8L0BJWjomRe2c6N+lHBNV+kTvMoy 6qe0=; b=EvCIAAn3tUaRpMVdmhLUp0nL+i7lm9HCV4cJwgmvNwpuDABWRkyigr4 QD2n1Lk8CACPwDhLLuAbm44qwOYbvOpjMKmNnx9CBU3hfgGzN6zIsOJDIWyiukd0 2jHqKsisgw+zJSvi1AOE3jJvM2TLKGgyE/KtxaIMXr2+khN0b/wGRjEDxnoHsEJY kWQtaMdsnPOBk3LTXdqsgtEmwg/IUDGUbkLVjzoYbxsW4/mkQ5U/aZQ9uAuWXbF7 /fZxcQ6Dyiw7V6lecWN/z1lUKI337yoGnrh0j0DFHiL81+P3RvZwS/z2azL+Je0o TJtdGSQRjW6XFUETTbQtNtAcQUDuLBw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=IOSde/vU5RC8L0BJWjomRe2c6N+lH BNV+kTvMoy6qe0=; b=vpmbvzVQot+Z1cZvwiytuiJ1a2+wKRbmoq5gH/JTMWs7U cV3atNv5Msub+f9yjxi1Ysj75va2IUvFh3SDqSczIur0ZdlF9tsVMZQZkEqzgKRW s1KDiV1vjlTQW2q6UufaH1f2RTF3AJdV4+yTop8H8caB6T/C3NNKvFHtOzxP+pRo 7ZgR1xHdvWRYH69lBYq2/88IOQB6NirdejECFXDLoRIT5sn+bTGayevMAhRB3lwm S/HIleB+60LHbQmmXgsshRudDejm1haFxHxKH3Q0ko+YzlIbhDcPVCyiyEbl7Fy1 inIZdiL7PKz9KgrGMDB59qLBHYq/kbz0Sdj236fbQ==
X-ME-Sender: <xms:QfPUXXvxUje8_EmOz4d0Knpz2Vry91ZGVSIdSSqStOyEZZUOXKyoPQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudegledgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesrgdtre erreerjeenucfhrhhomhepfdeurhhonhcuifhonhgufigrnhgrfdcuoegsrhhonhhgsehf rghsthhmrghilhhtvggrmhdrtghomheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsrh honhhgsehfrghsthhmrghilhhtvggrmhdrtghomhenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:QfPUXRayDUouphIsrOT33M1GDFWvlzMnzmH1pHbzEJpiz5-wx_N-6A> <xmx:QfPUXYEF1bd1mnmHNwe0AiAktx_8DY_QcNpuf5mbDuOQWuexsENUzA> <xmx:QfPUXZ7wLog3gsYewlzJkcc5GdalUN0xM8poZKuFLVCi4OnpQWRCGQ> <xmx:QfPUXWy13FMj6-3da-YBTdz-EV-TNpf3mD7gVLTbUM44ZMbiy5IwnA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 355F630006F; Wed, 20 Nov 2019 03:03:13 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-578-g826f590-fmstable-20191119v1
Mime-Version: 1.0
Message-Id: <4e0b4598-8d6e-480c-bcdb-8948ee46992d@dogfood.fastmail.com>
Date: Wed, 20 Nov 2019 19:02:49 +1100
From: Bron Gondwana <brong@fastmailteam.com>
To: extra@ietf.org
Content-Type: multipart/alternative; boundary="30835181944c4115a385ae0fe10c53d3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/NkahLlN44jDj7xMPaPQwd_wFGeM>
Subject: [Extra] QUOTA: is there any value in a separate ANNOTATION-STORAGE quota field?
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Nov 2019 08:03:17 -0000

Right now Cyrus IMAP stores 4 things:

 "STORAGE", /* QUOTA_STORAGE -- RFC2087 */
 "MESSAGE", /* QUOTA_MESSAGE -- RFC2087 */
 "X-ANNOTATION-STORAGE", /* QUOTA_ANNOTSTORAGE */
 "X-NUM-FOLDERS" /* QUOTA_NUMFOLDERS */

Three of these are covered by the new QUOTA-BIS, because X-NUM-FOLDERS becomes the "MAILBOX" quota, which is the number of mailboxes inside the quota root.

My question - does anybody see any value in ANNOTATION-STORAGE as a separate quota? We could of course just merge the two values to create a total "STORAGE USED" and we'd still get a limit.

To some extent this matters to Cyrus because annotations are all stored in a separate (and in Fastmail's case, more expensive SSD based) location than the emails. It would cause us grief if somebody decided to use their entire 100Gb quota on shoving large things into annotations.

But I can certainly see that most users don't care - they just want to see "how much of my email quota am I using" and get a single number!

So - I'm interested to hear from others - do you think it's worth asking for a separate item to be defined?

Cheers,

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