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

Ken Murchison <murch@fastmail.com> Tue, 16 March 2021 13:14 UTC

Return-Path: <murch@fastmail.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 08E7D3A0D39 for <extra@ietfa.amsl.com>; Tue, 16 Mar 2021 06:14:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.62
X-Spam-Level:
X-Spam-Status: No, score=-0.62 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, FREEMAIL_FROM=0.001, FROM_FMBLA_NEWDOM=1.499, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.com header.b=PNPJY3n0; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=rDHXkzD+
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 qmYZTf-FLUJt for <extra@ietfa.amsl.com>; Tue, 16 Mar 2021 06:14:47 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6379C3A0D31 for <extra@ietf.org>; Tue, 16 Mar 2021 06:14:47 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BAF265C0062 for <extra@ietf.org>; Tue, 16 Mar 2021 09:14:45 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 16 Mar 2021 09:14:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type; s=fm2; bh=ts6ZrXZdVjscFYbxwD3QnbPwYXB kR3WYcSJk6Ebp4yc=; b=PNPJY3n0ujL3s9ig6yY1BBG7C4piUiqXCq2rc/9xY/9 uSDmDECU8MRXkkHVBas45bj2vO50ez3OHlAxTNTN3z3k4sD1BuhHnmqZTvDSxVNe fSEqs49yYawrPzyMOclOHTsk+NM9JHOLMkpSu6zM6dQiUNk3lKJGSWc7nytUZXm5 XEL7erk6w+4XfadUhx6V3iPYm/w71KfuSgKSTawrUhcQJdZEL3QMRE9C9wlfbxAb k88SQtoH00zl612L1qg87q1jBpbL2pZtJkiHHIX59sv1VSvXtTY8b2zwwnBpX0DE +34JFDRw/qLLCwRJbCy5hg1KUQ7edKokICa2ulJPElg==
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=ts6ZrX ZdVjscFYbxwD3QnbPwYXBkR3WYcSJk6Ebp4yc=; b=rDHXkzD+zmKcxHBj9ewGom iW/AXvT0rlsar9lQfeSfrV8lMg6Tqy/psh2NGEpKf1lz6sAuAxNRfCvNyq9SUEfR HEPrCQL9J/Htb1Q5A/lkS596gKDIADKWh0TegL9ZvJCcsYV5frEBn4e6fO0+TGBW 9qLi5pICbQsigbzcX7Mkw/Va+BAGmJBoILiRY9WmebRWrk3/Un2Llpq/AKk7UJFQ THucVuaNaAJ/jGkLau/7mZYb/vEagljH7/A3nTFxy4kuw0BUb5dGTCnakB8OHAAY udKhouqZHyAUo1QJkp7eoOkfIhNTBYxMBwdtdHGUJbEWPaFVvWsK3XN5f0P02a4g ==
X-ME-Sender: <xms:Ra9QYN11OfQAMTTrSrw5iu-l7R0vrXrcpgNHOl-WVu88_Gga9XzphQ> <xme:Ra9QYBmgBWTIFy61v2b1ccMHB3aFmdi1Sackm5bIEhxHZAfLhhzime2Nn2sMFZ4hB R1_rRVnwzhCgQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefvddghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgesrgdtre ertdefjeenucfhrhhomhepmfgvnhcuofhurhgthhhishhonhcuoehmuhhrtghhsehfrghs thhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepffeuhfevgffgvdduuedvteeije euvddvkedugeegvdffvefgudffueeileeggeegnecuffhomhgrihhnpehivghtfhdrohhr ghenucfkphepjeegrdejjedrkeehrddvhedtnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhurhgthhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:Ra9QYAiUDYcmnn9tZAh_HtLuQGqdjaShWHP8W5g8Y2iAVjdcAsDC6A> <xmx:Ra9QYASFnuJ7EAG-zKY5xUWz4aQKnpUuqEdKOCPInrTcz-xnO1ig0Q> <xmx:Ra9QYC-CMDFOgXyInwBb6xIr5glAKO2Q3WtPHiEKU0yH-KtA1aPAmg> <xmx:Ra9QYAOFG-42RHjL2HNMBcWggLdmxIhh7C8nVBB5cUh5IwrDY3aHYg>
Received: from [192.168.1.22] (cpe-74-77-85-250.buffalo.res.rr.com [74.77.85.250]) by mail.messagingengine.com (Postfix) with ESMTPA id E2D1C24005E for <extra@ietf.org>; Tue, 16 Mar 2021 09:14:44 -0400 (EDT)
To: extra@ietf.org
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>
From: Ken Murchison <murch@fastmail.com>
Message-ID: <e532392b-a5a3-d368-0368-8fcb2edd9da2@fastmail.com>
Date: Tue, 16 Mar 2021 09:14:43 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <a71c7980-57b5-40cb-91b3-02033c619625@dogfood.fastmail.com>
Content-Type: multipart/alternative; boundary="------------F7432B254D457F88098AD108"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/bDup4ON87Dn-GZCuHflxanv5x4A>
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: Tue, 16 Mar 2021 13:14:50 -0000

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.



> On Tue, Mar 16, 2021, at 15:29, Bron Gondwana wrote:
>> On Fri, Mar 12, 2021, at 23:19, Bron Gondwana wrote:
>>>
>>>
>>> On Fri, Mar 12, 2021, at 23:04, Murray S. Kucherawy wrote:
>>>> On Fri, Mar 12, 2021 at 3:41 AM Francesca Palombini via Datatracker 
>>>> <noreply@ietf.org <mailto:noreply@ietf.org>> wrote:
>>>>
>>>>     I would only like to bring up again Magnus unanswered comment
>>>>     about formal
>>>>     syntax, and hope that the working group can address that before
>>>>     the document
>>>>     moves forward. Thread starting here:
>>>>     https://mailarchive.ietf.org/arch/msg/extra/zuH2VTx-NoXQXFzQ1PeJJkts0Bo/
>>>>     <https://mailarchive.ietf.org/arch/msg/extra/zuH2VTx-NoXQXFzQ1PeJJkts0Bo/>
>>>>
>>>>
>>>> As it happens, EXTRA is meeting at IETF 110 in a couple of hours, 
>>>> and I think the plan is to discuss this there.
>>>>
>>>
>>> Sure is!  I'm putting together slides right now, because there's 
>>> nothing like the last minute.
>>
>> Conclusion from the meeting was:
>>
>> 1) let's just put in the ABNF for FCC-OPTS since that has consistent 
>> syntax that it makes sense to complete.  For everything else, less 
>> than 1/4 of existing sieve extensions have ABNF, so it's not really 
>> sensible to try to extend that - it's all been done with prose.
>>
>> 2) we need to make the :fcc behaviour match the fileinto behaviour 
>> for the relationship between specialuse and mailboxid tests.
>>
>> I made both those changes and uploaded -08 right now.
>>
>> Cheers,
>>
>> Bron.
>>
>> --
>>   Bron Gondwana, CEO, Fastmail Pty Ltd
>>   brong@fastmailteam.com
>>
>>
>> _______________________________________________
>> Extra mailing list
>> Extra@ietf.org <mailto:Extra%40ietf.org>
>> https://www.ietf.org/mailman/listinfo/extra 
>> <https://www.ietf.org/mailman/listinfo/extra>
>>
>
> --
>   Bron Gondwana, CEO, Fastmail Pty Ltd
>   brong@fastmailteam.com
>
>
>
> _______________________________________________
> Extra mailing list
> Extra@ietf.org
> https://www.ietf.org/mailman/listinfo/extra

-- 
Kenneth Murchison
Senior Software Developer
Fastmail US LLC