Re: [sieve] SPECIAL-USE in Sieve (RFC 6154)

NED+mta-filters@mauve.mrochek.com Sat, 02 April 2016 07:46 UTC

Return-Path: <NED+mta-filters@mauve.mrochek.com>
X-Original-To: sieve@ietfa.amsl.com
Delivered-To: sieve@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1516612D558 for <sieve@ietfa.amsl.com>; Sat, 2 Apr 2016 00:46:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.912
X-Spam-Level:
X-Spam-Status: No, score=-1.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 UVCTBxv_kC5Y for <sieve@ietfa.amsl.com>; Sat, 2 Apr 2016 00:46:28 -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 B561512D575 for <sieve@ietf.org>; Sat, 2 Apr 2016 00:46:28 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PYIO7J6BRK00C69N@mauve.mrochek.com> for sieve@ietf.org; Sat, 2 Apr 2016 00:41:29 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN; CHARSET=us-ascii
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PY1MT70XR400005M@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for sieve@ietf.org; Sat, 02 Apr 2016 00:41:23 -0700 (PDT)
From: NED+mta-filters@mauve.mrochek.com
Message-id: <01PYIO7I2RPQ00005M@mauve.mrochek.com>
Date: Sat, 02 Apr 2016 00:28:43 -0700 (PDT)
In-reply-to: "Your message dated Tue, 29 Mar 2016 00:44:40 +0200" <56F9B3D8.8080104@rename-it.nl>
References: <56F9B3D8.8080104@rename-it.nl>
To: Stephan Bosch <stephan@rename-it.nl>
Archived-At: <http://mailarchive.ietf.org/arch/msg/sieve/xlLfwdle8gdbk5PxsWuDnF616kE>
Cc: Sieve mailing list <sieve@ietf.org>
Subject: Re: [sieve] SPECIAL-USE in Sieve (RFC 6154)
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: SIEVE Working Group <sieve.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sieve>, <mailto:sieve-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sieve/>
List-Post: <mailto:sieve@ietf.org>
List-Help: <mailto:sieve-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sieve>, <mailto:sieve-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Apr 2016 07:46:30 -0000

> Currently, the Sieve language lacks the means of freely accessing the
> IMAP special-use mailbox attributes (RFC 6154). For example, it would be
> nice to be able to determine what the Junk mailbox is during Sieve
> processing at delivery, based on which mailbox has the "\Junk"
> special-use attribute assigned. I believe I have coined this idea before
> several years ago, but the incentive to actually build or document
> anything was never very high.

> Recently, I found the motivation to design a proper Sieve extension for
> this; I finished implementing IMAPSIEVE and in that context such
> functionality can also be very useful.  The draft specification is
> attached, since the IETF draft submission is currently blocked.

> Please tell me what you think. I aim to submit this to appsawg soon, but
> I think most Sieve people are still concentrated here, so I post it here
> first.

This looks like a useful addition to sieve to me. I support its adoption as a
draft.

One thing you'll need to address is the ability for the same special use
attribute to be attached to multiple mailboxes. Since the ability to have the
same special-use attribute on multiple mailboxes is implementation-specific, my
suggestion would be to make the behavior in this case implementation-specific
as well.

				Ned