Sieve Email Filtering: delivery by mailboxid
draft-gondwana-sieve-mailboxid-01

Document Type Active Internet-Draft (individual)
Last updated 2018-08-12
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
EXTRA                                                   B. Gondwana, Ed.
Internet-Draft                                                  FastMail
Updates: 5228 (if approved)                              August 11, 2018
Intended status: Standards Track
Expires: February 12, 2019

              Sieve Email Filtering: delivery by mailboxid
                   draft-gondwana-sieve-mailboxid-01

Abstract

   The OBJECTID capability of the IMAP protocol (I-D.ietf-extra-imap-
   objectid) allows clients to identify mailboxes by a unique identifier
   which survives rename.  In contrast, the Sieve mail filtering
   language (RFC 5228) currently has no such capability.  This memo
   defines a Sieve extension that fills this gap: it adds a method for
   specifying the unique identifier of a mailbox as a target for
   fileinto rules, and a method for testing the existence of a mailbox
   by its unique identifier.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on February 12, 2019.

Copyright Notice

   Copyright (c) 2018 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect

Gondwana                Expires February 12, 2019               [Page 1]
Internet-Draft               Sieve MAILBOXID                 August 2018

   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Conventions Used In This Document . . . . . . . . . . . . . .   2
   3.  Sieve capability string . . . . . . . . . . . . . . . . . . .   3
   4.  Argument ":mailboxid" to Command "fileinto" . . . . . . . . .   3
     4.1.  Interaction with "mailbox" extension  . . . . . . . . . .   3
     4.2.  Interaction with "specialuse" extension . . . . . . . . .   4
     4.3.  Interaction with "fcc" extension  . . . . . . . . . . . .   5
   5.  Test ":mailboxidexists" . . . . . . . . . . . . . . . . . . .   5
   6.  Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . .   6
   7.  Security considerations . . . . . . . . . . . . . . . . . . .   6
   8.  IANA considerations . . . . . . . . . . . . . . . . . . . . .   6
   9.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   7
   10. Changes . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
     10.1.  draft-gondwana-sieve-mailboxid-01  . . . . . . . . . . .   7
     10.2.  draft-gondwana-sieve-mailboxid-00  . . . . . . . . . . .   7
   11. TODO  . . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
   12. References  . . . . . . . . . . . . . . . . . . . . . . . . .   7
     12.1.  Normative References . . . . . . . . . . . . . . . . . .   7
     12.2.  Informative References . . . . . . . . . . . . . . . . .   8
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   9

1.  Introduction

   Sieve rules are sometimes created using graphical interfaces which
   allow users to select the mailbox to be used as a target for a rule.
   If that mailbox is renamed, the client may also update its internal
   representation of the rule and update the sieve script to match,
   however this is a multi-step process and subject to partial failures.
   Also, if the folder is renamed by a different mechanism (e.g. another
   IMAP client) the rules will get out of sync.

   By extending "fileinto" to reference an immutable mailboxid, sieve
   rules can continue to target the same mailbox, regardless of how it
   gets renamed.

2.  Conventions Used In This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in BCP

Gondwana                Expires February 12, 2019               [Page 2]
Internet-Draft               Sieve MAILBOXID                 August 2018
Show full document text