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

Ken Murchison <murch@fastmail.com> Sat, 24 March 2018 12:40 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 27EA0128954 for <extra@ietfa.amsl.com>; Sat, 24 Mar 2018 05:40:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, 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=fastmail.com header.b=lSZZOAkF; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=CmB53AJZ
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 kgQkX771SAlW for <extra@ietfa.amsl.com>; Sat, 24 Mar 2018 05:40:02 -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 68400127AD4 for <extra@ietf.org>; Sat, 24 Mar 2018 05:40:02 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 921F120BF1 for <extra@ietf.org>; Sat, 24 Mar 2018 08:40:01 -0400 (EDT)
Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 24 Mar 2018 08:40:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=bDZtw9vJ3vjTEcV2O lGTFYgYgUVSmJTXrEiPaNN8kyE=; b=lSZZOAkFXJKJwCCydiSj2zC6HCCCUGt2W LylVbsfLzvLegUTyEiuSYkRECpMFtLmoed6v3Ykv4nPGg/RQmfcb9iUXxz9eAzUP z5/itVbWfRsatCBF+Vi29KH1lb1jFgI77rxDhdCaWvKaCGsOnQT+T0z+sKQ+yTVq SLjsOyc77Szf35hpVeANpw0UD9JxtIYy4G2TcE8Htd5jr/p9yXn8mw7nuvOHQ8Jy 7AJnhYuwfggH+i+/N+SheO16r7q+oq7T4Zy2NXerf/Q6k8mRIwaYYqiBkYjNeMe3 4tn9DU7fMalp5aeAOVxqtKdkrvhxoqwRjDIvQcu9KX4ImHHeTzRmg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=bDZtw9vJ3vjTEcV2OlGTFYgYgUVSmJTXrEiPaNN8kyE=; b=CmB53AJZ X2tfDlLDM7l0Dzby0KwA9Fyrx+I7+9mHrtiiujnLeynPb9b0DiBG5lUgotaJ94iz c/hU0FziPUc4gpvhtyCu2e/dXYDpDqnXAxLxHJBNhuDowe8OsGhv6MDN99yjxBaR aNuR8DXRnHPi7mvxvKpVMnQh5pw2a6HqS0SOPMbRE+cdcgKlkEWpaqNYDzkHq7Mi Gbs6RDgQI6SNRyyqcYyNVdZxUnlN1oQi1vLlotj4aHnD3LnBvmBmbMY2qf+XdEZw 6K8GHrnmQbtGLC2kK0SiHL+kYNf2RL32hTMZi8Ki+Ch+OQA/9oaZ9dvfIPoJPdiL jn9nZOpAd4o/RA==
X-ME-Sender: <xms:IUe2Wl3qHeiiGo8kMiEZFef6d9oqgRonTAXUCvCEH34XIM2_ax9CFA>
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 4709424141 for <extra@ietf.org>; Sat, 24 Mar 2018 08:40:01 -0400 (EDT)
To: extra@ietf.org
From: Ken Murchison <murch@fastmail.com>
Organization: FastMail US LLC
Message-ID: <0de6594d-2b11-aede-7c98-0e05a585f97d@fastmail.com>
Date: Sat, 24 Mar 2018 08:40:00 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------037F09170011941F3C563D00"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/AfWMEoPiZ_QED2D0sRc36vLL9Fs>
Subject: [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 12:40:05 -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.

Do we allow options like :flags to float anywhere in the command and 
simply ignore them if :fcc isn't included? E.g.

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.

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.

Thoughts?

-- 
Ken Murchison
Cyrus Development Team
FastMail US LLC: