Re: [Extra] QUOTA: representing "no limit" while still giving counts

"Bron Gondwana" <brong@fastmailteam.com> Wed, 20 November 2019 09:38 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 7E68512026E for <extra@ietfa.amsl.com>; Wed, 20 Nov 2019 01:38:13 -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=YxjVXiII; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=ZoZ/smI4
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 ndhK_yGLj5Hk for <extra@ietfa.amsl.com>; Wed, 20 Nov 2019 01:38:11 -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 0B1D812088B for <extra@ietf.org>; Wed, 20 Nov 2019 01:38:11 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 7793E597; Wed, 20 Nov 2019 04:38:10 -0500 (EST)
Received: from imap99 ([10.202.2.99]) by compute6.internal (MEProxy); Wed, 20 Nov 2019 04:38:10 -0500
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:cc:subject:content-type; s=fm1; bh=wGkg kHR5NwCdZTz7mKiKtFC+WBcpWZZrmaZkloR6/ZQ=; b=YxjVXiIItjiA4n+Vu6jQ p4Mcil2Ox9qm0RcolppBUzjDMAp9qtKByR7xuaU7r/jnH9I+DLDtpB/IU/236BQU 7+MWDEJdLgoiE2nCvdi9P/2bu8jzoukwQcFbPdh9L4AhDp3FGR7LyZvDizZx3UhM RDMQTWs877Txmj+qbsG7lfQ59y9xX6s0A7CZ1xncmyF2wdTGYeJTbZPUKuZFM4X4 L70Uo9V1K4glBU6rieMtMerYtRmMpDLzN5AgDEoJcsXpGzmUlnRV88gDqImLSbaH wDa67FA9ugASbz9VAIM0k07l09UxvQz3Ovpu8qhHMYNnvR/NsbJRGhc+ilu3pidY XQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=wGkgkH R5NwCdZTz7mKiKtFC+WBcpWZZrmaZkloR6/ZQ=; b=ZoZ/smI46VX8uLYPJIjTDc 7/UtwIkCOiPv/OHx1qgwtM+szVzCkQ0Yu3daV7KAPtwdciI/3jlm3nFyl9SQ7nxa QLRM3WEsm7hutLiIV3RS46wxbwkCB/dUEeRlOdeUhX+IqYhk/7qJBTKFAK+Wiu1L RsDjjYjbpToZXGkhDOVYbyKdbLuyWIHu9C4X5J6JD82TZgoaogE0cJQALnMn78qv c5XLOaLmTxV5KX1Nm4zeqzaB9uj7BUuwXxj4JvdTKt6Ovr1JDqn8jrUiJFR8f4BA GUBXTPPXSMokk7W5nRGEMQE0q5dCNa6zG3JyyhxzOI2twhDHwMXv/StUfAuw+ZDQ ==
X-ME-Sender: <xms:gQnVXejT-dud-ETzV5oCnV1oj1uw0AyWlFpCLb_N3q9-v7juRdm7Ew>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehtddgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreertdenucfhrhhomhepfdeurhho nhcuifhonhgufigrnhgrfdcuoegsrhhonhhgsehfrghsthhmrghilhhtvggrmhdrtghomh eqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsrhhonhhgsehfrghsthhmrghilhhtvggr mhdrtghomhenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:gQnVXYrhg23z2jt6TTOCTsnEswDCXOcTVs314D0vZYJOmvHuq3YSOA> <xmx:gQnVXSzXxETcoFL6tyvxI2Mj6Z97k-tNtL-pJ1sCp9cNRYVcuoShEg> <xmx:gQnVXYzl4eibMFJeUsOxlC1KY0JlO_nWOSRh3os03G5GTBPfkwr1aQ> <xmx:ggnVXafCvto2LYAIUHzXEIEuaPZPbvUKsEbeHRlFkDDJzBUw5OsB-g>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9654230006F; Wed, 20 Nov 2019 04:38:09 -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: <3ee0cfe0-4763-42e9-8446-518294382539@dogfood.fastmail.com>
In-Reply-To: <77D3433C-4CF4-485A-A2FB-42D80E94889D@sirainen.com>
References: <43c6b1ea-8d63-4bcf-9aed-36154481b4f6@dogfood.fastmail.com> <77D3433C-4CF4-485A-A2FB-42D80E94889D@sirainen.com>
Date: Wed, 20 Nov 2019 20:38:07 +1100
From: "Bron Gondwana" <brong@fastmailteam.com>
To: "Timo Sirainen" <timo@sirainen.com>
Cc: extra@ietf.org
Content-Type: multipart/alternative; boundary=67fe222ee7c446c5b9ed99e74ca3834c
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/dVvIP3f6gMzjECdfK04KQaqX0sQ>
Subject: Re: [Extra] QUOTA: representing "no limit" while still giving counts
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 09:38:13 -0000

On Wed, Nov 20, 2019, at 20:36, Timo Sirainen wrote:
> On 20. Nov 2019, at 10.06, Bron Gondwana <brong@fastmailteam.com> wrote:
>> 
>> An issue I've had with QUOTA in the past is that I've set a limit on storage but not on "number of messages". Internally, our server is storing all the counts, but it has "-1" (aka: unlimited) as the limit.
>> 
>> There's no way in the wire protocol to indicate this. I'm not sure if it's possible to do it in a backwards compatible way other than just say "use UINT32_MAX for unlimited", but it would be nice to define that in the spec and tell clients to treat UINT32_MAX in that field as "unlimited" for display purposes.
> What's wrong with just not sending the MESSAGE reply when it's unlimited?

Sometimes it's nice to know how much of something you have even when you don't have a limited bucket.

Bron.

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