[sieve] Sieve counterpart of IMAP SPECIAL-USE (RFC 6154) ?

Stephan Bosch <stephan@rename-it.nl> Mon, 12 December 2011 12:11 UTC

Return-Path: <stephan@rename-it.nl>
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 7923421F8B42 for <sieve@ietfa.amsl.com>; Mon, 12 Dec 2011 04:11:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.504
X-Spam-Level:
X-Spam-Status: No, score=-0.504 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VEYHuosr1zNo for <sieve@ietfa.amsl.com>; Mon, 12 Dec 2011 04:11:18 -0800 (PST)
Received: from drpepper.rename-it.nl (drpepper.rename-it.nl [217.119.238.16]) by ietfa.amsl.com (Postfix) with ESMTP id 0341521F8AFE for <sieve@ietf.org>; Mon, 12 Dec 2011 04:11:16 -0800 (PST)
Received: from wlan236250.mobiel.utwente.nl ([130.89.236.250]:50514) by drpepper.rename-it.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <stephan@rename-it.nl>) id 1Ra4il-00031l-QG for sieve@ietf.org; Mon, 12 Dec 2011 13:11:14 +0100
Message-ID: <4EE5EF4C.1000000@rename-it.nl>
Date: Mon, 12 Dec 2011 13:10:52 +0100
From: Stephan Bosch <stephan@rename-it.nl>
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: Sieve mailing list <sieve@ietf.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-RenameIT-MailScanner-SpamScore: -2.3 (--)
X-RenameIT-MailScanner-SpamCheck: No, score=-2.3 required=5.0 tests=ALL_TRUSTED, BAYES_00 autolearn=ham version=3.3.1
Subject: [sieve] Sieve counterpart of IMAP SPECIAL-USE (RFC 6154) ?
X-BeenThere: sieve@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 12 Dec 2011 12:11:18 -0000

Hi,

On an IMAP server mailing list I participated in a discussion about the 
new the IMAP LIST Extension for Special-Use Mailboxes (RFC 6154). In a 
nutshell, this extension allows identifying special-use mailboxes to an 
IMAP client. Special-use can for instance be a junk, trash, drafts, or 
archive folder. This way clients can easily identify such folders and 
use them without explicit user configuration.

At some point, the idea was raised to extend the Sieve language with 
similar means. It could for instance be useful to have a special version 
of the fileinto command that files the message into the default folder 
for a particular special-use, e.g. `fileinto :special_use "\\Junk";'. 
This can be particularly useful for global scripts outside the user's 
control. Through metadata support it is already possible to find out 
whether a folder has a special-use tag, but conversely it is not 
possible to find out which folders have a particular tag or what folder 
would be the default choice for that tag (note that the notion of a 
default folder for a particular special-use is missing in RFC 6154, 
which may be a problem).

My question is: do you think it is useful to have a Sieve SPECIAL-USE 
counterpart? And in what form?

Regards,

Stephan.