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

Ken Murchison <murch@fastmail.com> Sat, 24 March 2018 16:17 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 E1BE21243FE for <extra@ietfa.amsl.com>; Sat, 24 Mar 2018 09:17:30 -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, FREEMAIL_FROM=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=fastmail.com header.b=sw6pHD/N; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Yngu84xy
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 y4Ivb0S9Fe25 for <extra@ietfa.amsl.com>; Sat, 24 Mar 2018 09:17:29 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 740321200C5 for <extra@ietf.org>; Sat, 24 Mar 2018 09:17:29 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A4D192098A; Sat, 24 Mar 2018 12:17:28 -0400 (EDT)
Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 24 Mar 2018 12:17:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc: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=N3dCaKEgfGlt1pGJ8Oa8OoRyPxRR34jlRJ8f8nT33aY=; b=sw6pHD/N VrW1OWR1vaBGq8zrcLNhfsQGC8O1dGwT8GIqM8DfK48ea+MF/0sJYJU6Sf3e/Zl2 cwLmc9fwVxdcI/8k9PhlgJF5xR2ObQ3jqLT7OfXDFGmVLFvc2t4mkI8Nq4oB84gN x3hey5NI3sBQJe1xkjLR81cLZws6z/0xewNozdPg/IU4m/bLta+Wxtw87qwc/E5M 8oFI9azJASsTPjjmEDDCGy6rqjvBW2n3HQpOm6DX/uhzokc++qMS+vEUbBf/lq84 hWTx4rLDTtlracIIRL+BxQlk9jBYlpaYWmux/VOIoy+ejY2+rUWYXH1jfLsVs35d RbOiyvGqbLODdg==
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-sender :x-me-sender:x-sasl-enc; s=fm2; bh=N3dCaKEgfGlt1pGJ8Oa8OoRyPxRR3 4jlRJ8f8nT33aY=; b=Yngu84xyTSsGgVC+8GIwqERRKkXJiOYUdeEznPzwY/jBz ApgmSLVcgYmkR/f7ddp54pIlrq27B7a1Su6Qi7F8Cf+MeOnV+DrhBtJVizfT9InR y3BcHJJK2Obkp+DHRExymhqWM5FkK+7qpO6SjZ3uzixA6QN9xAxdtjHPT/3iw39i 4y5UAJzBRTxt9dPpMYaiKvYdO5XDNrNyi/lpPskjYoyqPDGTX2zgs1BYzC+AHDsw csw3R0YkJoBhzwMGaIRiiJv6rgq2EmIGKBJt3ECepxa7uvv0+mK1pHguv+b6swmW mCTqEnYMcQmQLjs3kVhyrR0yCcAA+I8T7qJ6Hv2JA==
X-ME-Sender: <xms:GHq2WqfQbamayK5D1FtK_jkKpbmtN3hYJZ4C_NOIhSQJvn5QKTy_3Q>
Received: from localhost.localdomain (cpe-74-77-85-250.buffalo.res.rr.com [74.77.85.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 45558241D8; Sat, 24 Mar 2018 12:17:28 -0400 (EDT)
To: Ned Freed <ned.freed@mrochek.com>
Cc: extra@ietf.org
References: <0de6594d-2b11-aede-7c98-0e05a585f97d@fastmail.com> <01QQIBC8Y8B600CZTT@mauve.mrochek.com>
From: Ken Murchison <murch@fastmail.com>
Organization: FastMail US LLC
Message-ID: <f6d8794b-d3dc-7496-9f64-3717127deb66@fastmail.com>
Date: Sat, 24 Mar 2018 12:17:27 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <01QQIBC8Y8B600CZTT@mauve.mrochek.com>
Content-Type: multipart/mixed; boundary="------------B4BC3E2DD695E6680B1BC286"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/Xa-0FT-PPy-XIgZEAZrEeP456X8>
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: Sat, 24 Mar 2018 16:17:31 -0000

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.


>> Do we allow options like :flags to float anywhere in the command and
>> simply ignore them if :fcc isn't included? E.g.
>
> Or better still, require :fcc to be present in order to use :flags or
> whatever.

Right.  And if they are used without :fcc, its a parse error.

I will make the necessary changes and post a new draft.

-- 
Ken Murchison
Cyrus Development Team
FastMail US LLC