Re: [Extra] draft-ietf-extra-sieve-fcc

Bron Gondwana <brong@fastmailteam.com> Sun, 29 April 2018 23:28 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 61E6C12D7F9 for <extra@ietfa.amsl.com>; Sun, 29 Apr 2018 16:28:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=mdZqx9an; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=E+eRv92/
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 PAxHPmv99HVE for <extra@ietfa.amsl.com>; Sun, 29 Apr 2018 16:28:11 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 326D912D810 for <extra@ietf.org>; Sun, 29 Apr 2018 16:28:11 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0864C225B5 for <extra@ietf.org>; Sun, 29 Apr 2018 19:28:10 -0400 (EDT)
Received: from web5 ([10.202.2.215]) by compute6.internal (MEProxy); Sun, 29 Apr 2018 19:28:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=content-transfer-encoding:content-type:date :from:in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vEsD0GkNPYjgzysqj 1oGTM9UrdGZ/ul0JE9YnpGDvR8=; b=mdZqx9an/zWZMWtY38V3zWZb/2CnCieo0 uCoWpRMiST5ePddZq+z18qk9sXVxTtf1rwNx7rPMs0uUn/RSstKahRPg5N3Ni9a4 jL8wBk6gQMV1HWkH1mreebzvDuhKV7Dd+LQXUq1quwh+uLqWjfIQFBbIrY44ZE1K 1UgIxem49UGIShpvagOum2n/GDD5v7XU5sr92ACi9u2cvUVxn2eodXSeGLG55QnQ p/3evNJhHQhqsz7huUdnIFM8pPKCu3nUgueRRQ8xKRWQhJ+vWuyk8YxB/MFFuNuY ocTNUktYI57DroPuI42eM2lVmF/p6qUDxtzLf6xKUQ7qj1S9V0e2g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vEsD0G kNPYjgzysqj1oGTM9UrdGZ/ul0JE9YnpGDvR8=; b=E+eRv92/Bsv3KljIsRHtJs 6aiqhzm4uSpQlNlzDjSPyTN9XQZ4S0zYPO5GdU0KFBq0YD37XWA0oSX+r/ZvJu5S iAv3C9Y7TwmZx3PZEcf1uYkeulGtOrFO2xI8QsG1BlrRp8DhclzMH7vlV5rC+FxR Eu5qUi3MUy4WFy99D5sDpNCtb5yK//FI9rHD+zfCy1S5HeZ3I6nGhOIObFVmm/Zj jFFEitlQrzLWefIArxuZx71p1Hb2ctJmdTJ8yHzhwCGeUlvucQs3cZnVIPXTYeG3 z4vAuCI4alaE4D243+TTcplS1lCzZ7NSWnrNedM+T91iJlx6/RmL+Fg5sgKcYUXg ==
X-ME-Sender: <xms:CVXmWviE2gDXETSm8SuKXsAJnr2c7avAutmc1ujFvK0owZAc9GQqmQ>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id CC7B69E0C5; Sun, 29 Apr 2018 19:28:09 -0400 (EDT)
Message-Id: <1525044489.2057286.1354933272.3AB428D3@webmail.messagingengine.com>
From: Bron Gondwana <brong@fastmailteam.com>
To: extra@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_152504448920572863"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-f3006b89
References: <0de6594d-2b11-aede-7c98-0e05a585f97d@fastmail.com> <01QQIBC8Y8B600CZTT@mauve.mrochek.com> <f6d8794b-d3dc-7496-9f64-3717127deb66@fastmail.com> <01QQIOEYKZAG00CZTT@mauve.mrochek.com>
Date: Mon, 30 Apr 2018 09:28:09 +1000
In-Reply-To: <01QQIOEYKZAG00CZTT@mauve.mrochek.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/qAsv9qT_wC0-VhFshkPgMTDbgLk>
Subject: Re: [Extra] draft-ietf-extra-sieve-fcc
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.22
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: Sun, 29 Apr 2018 23:28:15 -0000

On Sun, 25 Mar 2018, at 06:50, Ned Freed wrote:
>> Hi Ned,
> 
> 
>> On 03/24/2018 10:43 AM, Ned Freed wrote:
>>>> At the EXTRA session this week, Alexey questioned whether the way I>>>> integrated fileinto tagged arguments with :fcc was legal.  It
>>>> turns out>>>> that Alexey is correct, and the current implementation breaks a
>>>> SHOULD>>>> NOT in Section 2.6.2 of RFC5228:
>>> 
>>>> "Tagged arguments SHOULD NOT take tagged arguments as arguments."
>>> 
>>>> So, assuming we want to continue to allow options like :flags and
>>>> :special-use to be used with :fcc (and I think we should if
>>>> possible),>>>> we need to find another way to do this.
>>> 
>>> I missed the fact that you had made FCC-OPTIONS a positional
>>> parameter>>> inside of :fcc. While I can certainly implement this, I agree
>>> that it's>>> a bad idea. And more to the point, unnecessary since there are no
>>> cases where one of these arguments has a different meaning outside
>>> of this context. (And if there were such cases... ick.)
> 
>> I only did that so that the parser would know ahead of time to expect>> the fileinto options.  Instead, the parser will have to expect those>> options to occur anywhere, possibly prior to parsing :fcc, and
>> validate>> the command at the end.
> 
> Does this really differ from the present situation?
> 
> For example, in the case of the imap4flags extension, you have to
> parse the> entire parameter list in order to determine whether or not there are
> one or two> positional parameters at the end, and if there are two check to make
> sure the> variables extension is enabled.
> 
> There are also many nonpositional parameters that are mutually
> exclusive so you> have to check and make sure only one is specified.
> 
> There's also at least one existing case where one nonpositional
> precludes the> use of another: :list and :comparator.

I'd like to get back to this and come up with a syntax that everyone is
happy with and progress this document.
Ken - do you have any good ideas?  It seems that we might need some text
duplication to add options to each of the extended commands, but that's
still going to only be a couple of places.
Cheers,

Bron.

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