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

Alexey Melnikov <alexey.melnikov@isode.com> Tue, 16 March 2021 13:32 UTC

Return-Path: <alexey.melnikov@isode.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 5D0323A0DC4 for <extra@ietfa.amsl.com>; Tue, 16 Mar 2021 06:32:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.com
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 SKDp__zKXYLo for <extra@ietfa.amsl.com>; Tue, 16 Mar 2021 06:32:09 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id E53373A0DBC for <extra@ietf.org>; Tue, 16 Mar 2021 06:32:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1615901524; d=isode.com; s=june2016; i=@isode.com; bh=+fWpAcI4gi3HFvWNe8TR1mql8hGlmLc40m4zLMLv7Vs=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=SMfVeONxeIP5cCrb4fxtHRibusxz77wck43RbxEsgjmgZwaW0y17mC2YK0wGGV2NDim+oG AuOdbTRP0OrRyAKeaDoTQv62lGPf26W3YVBWTC3L9gGutCR3boThGX0orBhBHyCGrMO4o3 sg9Y5GZgxgBI7ypCQX7v5lnWyN9Uxgs=;
Received: from [192.168.1.222] (host31-49-142-90.range31-49.btcentralplus.com [31.49.142.90]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <YFCzUwAuQcMR@waldorf.isode.com>; Tue, 16 Mar 2021 13:32:04 +0000
To: Ken Murchison <murch@fastmail.com>, 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> <e532392b-a5a3-d368-0368-8fcb2edd9da2@fastmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <b65ca47f-1a6f-56ea-04f5-2f79cd177a5f@isode.com>
Date: Tue, 16 Mar 2021 13:32:03 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1
In-Reply-To: <e532392b-a5a3-d368-0368-8fcb2edd9da2@fastmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------DC43B77B4FB14554826BFCB1"
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/MFewNPHci5P41VbPZ0jrYVd4WDQ>
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:32:10 -0000

On 16/03/2021 13: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.
>
Right, Sieve ABNF is applied to tokenized input, so whitespaces don't 
appear.
>
> 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.
>
Makes sense.
>
>   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.
>