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

Stephan Bosch <stephan@rename-it.nl> Mon, 28 March 2016 22:45 UTC

Return-Path: <stephan@rename-it.nl>
X-Original-To: sieve@ietfa.amsl.com
Delivered-To: sieve@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id D3F5812D576 for <sieve@ietfa.amsl.com>; Mon, 28 Mar 2016 15:45:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id M1GuBtMVV6Fv for <sieve@ietfa.amsl.com>; Mon, 28 Mar 2016 15:45:45 -0700 (PDT)
Received: from sogo.guto.nl (guto.nl []) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E555712D573 for <sieve@ietf.org>; Mon, 28 Mar 2016 15:45:44 -0700 (PDT)
Received: from klara.student.utwente.nl ([] helo=[]) by sogo.guto.nl with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <stephan@rename-it.nl>) id 1akfuk-0000O2-VK for sieve@ietf.org; Tue, 29 Mar 2016 00:45:42 +0200
To: Sieve mailing list <sieve@ietf.org>
From: Stephan Bosch <stephan@rename-it.nl>
Message-ID: <56F9B3D8.8080104@rename-it.nl>
Date: Tue, 29 Mar 2016 00:44:40 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------060200060909020206080800"
X-SA-Exim-Mail-From: stephan@rename-it.nl
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on sogo.guto.nl)
Archived-At: <http://mailarchive.ietf.org/arch/msg/sieve/E6GFUUs4nH_GKEmkMmCxOf9NJ1E>
Subject: [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: Mon, 28 Mar 2016 22:45:50 -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