Re: [Extra] Francesca Palombini's No Objection on draft-ietf-extra-sieve-mailboxid-07: (with COMMENT)

Bron Gondwana <brong@fastmailteam.com> Thu, 18 March 2021 00:33 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 0A1593A1904 for <extra@ietfa.amsl.com>; Wed, 17 Mar 2021 17:33:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level:
X-Spam-Status: No, score=-2.119 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=efXStGg2; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=pDuD/m+p
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 so_Ijk7S9Upq for <extra@ietfa.amsl.com>; Wed, 17 Mar 2021 17:33:24 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 37C733A1903 for <extra@ietf.org>; Wed, 17 Mar 2021 17:33:24 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 7132B5C00BE for <extra@ietf.org>; Wed, 17 Mar 2021 20:33:23 -0400 (EDT)
Received: from imap41 ([10.202.2.91]) by compute2.internal (MEProxy); Wed, 17 Mar 2021 20:33:23 -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=fm2; bh=W24uIkg aHflRsbDSCnysrsNAXpn9faiyDmBs1EV9hJw=; b=efXStGg2kzc9JQNievIvSVD 11sXVHvu89RgFA5fgwk+X1ad4TrH6TMS2IaWtm6RjdaVbk3eLwfXlHpWc0Pjr8cg 9tr6opNQrwf7D74iQb5WgBAcFv0E6Grj1KeBrf1Es7VHmIJLhOzw12xzOCqjNIYs JZUazbHLKgVSq7vZi4ADeKI7K0RXGld6hoSRpey0QDsKo31LdEY322fCiLShyQ/u AL49HzAYRG6DkdlkVKlQxMKoLl7e/vwkolHzY14iR6lSV0Vxrw0ParE+6C65mM2M B+aHbdZot4zNqB+7qcBnGAhS4GBK6/PT8IfQbtwNFZ6e6HaRTO4y86+JeyrdGEw= =
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=fm2; bh=W24uIk gaHflRsbDSCnysrsNAXpn9faiyDmBs1EV9hJw=; b=pDuD/m+pYUWk52qTPo79lm JqecxpVWqZY4IQKiHzd6NInP7f2tAuEyms9nXSZaZtNCwA0E1hxemFyQNvur8W8b Nq0WGbg4+SL/ib+o2tHe+nJRnEbLPAI/TSAKgaptF+p+ZB1cPPCii7djLY/0IpNa ofjGj2ChVVhoHx4bXSfAonNmrKGHIppSgR9GyyG6v04ZjzvRHvMjAq+UJny6Yr5b hb9rMC0O/jy+7AIei+ES1d64QrVs5rkXce65xW6+YefEnsR9XRQ0XXDKviWcgt5F Ev0/VXUDfo1Xwj98X8ogvK7SZJxvH/q/b1epWRYW9wFgYqUaEgIzJe/rV9ep+7aQ ==
X-ME-Sender: <xms:0p9SYNo01m7YxhGC2b0vOnsezNhmVVaeIP-_uPBKch3ZQSxMU0ghAQ> <xme:0p9SYPp4nrGfRvpx5DtsxVciRqIXbFXneAJtTegQWzDnUWkkbntOXUIES0Uru_0mB p4ZxQh-qiI>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefhedgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerreejnecuhfhrohhmpedfuehrohhnucfiohhnugifrghnrgdfuceosghrohhnghes fhgrshhtmhgrihhlthgvrghmrdgtohhmqeenucggtffrrghtthgvrhhnpedtheetgeefve etudffveetheffgfehhfdvveekuefhheeuteduhefggeeikeejteenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsrhhonhhgsehfrghsthhmrg hilhhtvggrmhdrtghomh
X-ME-Proxy: <xmx:0p9SYKN2AktBOFxJ3Wy9L0ECuSh1QAN2dCFVUMWcA_ONVEZe-fN3Eg> <xmx:0p9SYI5hyiOa4CfqEjPmnCbOqgLox5VDf5XG6vfVegOmZnkn2j6P3Q> <xmx:0p9SYM7h_F8klg1YAmE9lZ3FFrlsgqcEGTs5DcfQWfDMlZwbHke7VQ> <xmx:059SYOGgQuor7RDg8GbFimbG8vfcwj6QWGQcPEtxH66QwJQ6sJut5A>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id DAA61260005D; Wed, 17 Mar 2021 20:33:22 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-266-g3c69ed52ad-fm-20210316.002-g3c69ed52
Mime-Version: 1.0
Message-Id: <9870aae4-3cc4-49b8-9b95-db14fe60f2d0@beta.fastmail.com>
In-Reply-To: <e532392b-a5a3-d368-0368-8fcb2edd9da2@fastmail.com>
References: <161554928864.26741.1903277482106094176@ietfa.amsl.com> <CAL0qLwYH-uaHsJUq5w9xAXMpTnP9L=682s7-AnZMrSntM1T0ZQ@mail.gmail.com> <92c7170e-4046-47d1-ba43-f12b77997a6f@beta.fastmail.com> <f3f175d5-5497-4045-9683-9ded2c12de73@beta.fastmail.com> <a71c7980-57b5-40cb-91b3-02033c619625@dogfood.fastmail.com> <e532392b-a5a3-d368-0368-8fcb2edd9da2@fastmail.com>
Date: Thu, 18 Mar 2021 11:33:02 +1100
From: Bron Gondwana <brong@fastmailteam.com>
To: extra@ietf.org
Content-Type: multipart/alternative; boundary="587889ea3f71437db328c3e6cbc33072"
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/kFObd8dNRDwI1rFuDYQy_Eige64>
Subject: Re: [Extra] Francesca Palombini's No Objection on draft-ietf-extra-sieve-mailboxid-07: (with COMMENT)
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: Thu, 18 Mar 2021 00:33:26 -0000


On Wed, Mar 17, 2021, at 00:14, Ken Murchison wrote:
> 

> On 3/16/21 8:50 AM, Bron Gondwana wrote:
>> Murray pointed out that I STILL had it wrong.  Uploaded again with a much better version :)
>> 
>>    MAILBOXID-OPT = ":mailboxid" objectid
>> 
>>    FCC-OPTS =/ MAILBOXID-OPT
>> 
>> objectid is defined in RFC8474 as:
>> 
>>       objectid = 1*255(ALPHA / DIGIT / "_" / "-")
              ; characters in object identifiers are case
              ; significant
>> 
>> 
>> Of course now that I've posted this, I do wonder if I actually need to make it:
>> 
>> MAILBOXID-OPT = ":mailboxid" SPACE DQUOTE objectid DQUOTE
>> 
>> *sigh*.
>> 
>> I mean, RFC8580 already doesn't seem to be very specific about the whitespace between tokens - but I expect we probably do want the mailboxid to be a string rather than an objectid for parser simplicity.  I welcome input on that!  (I'm pretty sure the parser we have in Cyrus right now needs it to be a string for example)
> 

> I don't think adding SPACE is necessary, and no other extension does this.

> We definitely want :mailboxid to take a string as argument, since RFC5228 doesn't specify anything other than numbers, strings, and stringlists.

> You can probably do something like what the imap4flags and special-use extensions do and simply define:

> MAILBOXID-OPT = ":mailboxid" <mailboxid: string>

> and state in the text that the mailboxid string is limited to the characters allowed in objectid.  Of course, even if you don't state this, and the string contains invalid objectid chars, the script will still parse as valid, but just not match any mailbox.


Yeah right, this is pretty much reverting to what I had in the previous revision!  OK, I'll go revert :)

Bron.


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