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

Ned Freed <ned.freed@mrochek.com> Sat, 24 March 2018 14:57 UTC

Return-Path: <ned.freed@mrochek.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 3DC611200F1 for <extra@ietfa.amsl.com>; Sat, 24 Mar 2018 07:57:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level:
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mrochek.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 WWgt5-kh9IDV for <extra@ietfa.amsl.com>; Sat, 24 Mar 2018 07:57:02 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F6AC1201F2 for <extra@ietf.org>; Sat, 24 Mar 2018 07:57:02 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01QQIBCBR09S00F6KJ@mauve.mrochek.com> for extra@ietf.org; Sat, 24 Mar 2018 07:51:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mrochek.com; s=201712; t=1521903116; bh=sM55GbzitmDfMpHJOlaxBQdeka2LLZl7khgACF+nXsQ=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=XRICl7Tc9Yn6/ozDxiYmIWIP9VGd6VM5V0eR+xl3oQb/zEu2C+MGThMuV3hdPnTv7 JuZ9x7JbrnSe+M7e5fkpNf17nVvBUGHqY5YO44n5jNf0cISU8GZFx22QcCIjgvhKgN nBXGYu/hAJ59nk2TgdFWcqnN6x6YtkPs5rHtQD+k=
MIME-version: 1.0
Content-transfer-encoding: 8bit
Content-type: TEXT/PLAIN; charset="utf-8"; format="flowed"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01QQ1J13T4YO00CZTT@mauve.mrochek.com>; Sat, 24 Mar 2018 07:51:52 -0700 (PDT)
Cc: extra@ietf.org
Message-id: <01QQIBC8Y8B600CZTT@mauve.mrochek.com>
Date: Sat, 24 Mar 2018 07:43:20 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sat, 24 Mar 2018 08:40:00 -0400" <0de6594d-2b11-aede-7c98-0e05a585f97d@fastmail.com>
References: <0de6594d-2b11-aede-7c98-0e05a585f97d@fastmail.com>
To: Ken Murchison <murch@fastmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/szBy5tUI4qP1ttCmFLIfnzVnn0U>
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 14:57:03 -0000

> 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.)

> 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.

> vacation :days 7 :specialuse "\\Sent" :create :fcc "INBOX.Sent" :flags
> ["\\Seen"] :from "hemingway@example.com" "Gone Fishin'";

> This seems messy and somewhat illogical to me. We can't use a block to
> encapsulate the fileinto options, as that is also prohibited by RFC5228.

I'm sorry, but I fail to see anything messy or illogical about this.

> One other idea that comes to mind is to have :fcc accept a variable name
> as its argument into which a copy of the generated message will be
> stored.  We then extend fileinto to accept the variable name as the
> message to be filed.

Double ick. I really don't like abusing variables and/or fileinto this way, to
the point where the chances I'd ever implement this are essentially zero.

				Ned