Sieve Email Filtering: delivery by mailboxid
draft-ietf-extra-sieve-mailboxid-01

Document Type Active Internet-Draft (extra WG)
Last updated 2020-08-05 (latest revision 2020-07-29)
Replaces draft-gondwana-sieve-mailboxid
Stream IETF
Intended RFC status Proposed Standard
Formats plain text html xml pdf htmlized (tools) htmlized bibtex
Stream WG state In WG Last Call (wg milestone: Aug 2020 - Submit sieve-mailbox... )
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Yes
Telechat date
Responsible AD (None)
Send notices to (None)
EXTRA                                                   B. Gondwana, Ed.
Internet-Draft                                                  Fastmail
Updates: 5228 (if approved)                                 30 July 2020
Intended status: Standards Track                                        
Expires: 31 January 2021

              Sieve Email Filtering: delivery by mailboxid
                  draft-ietf-extra-sieve-mailboxid-01

Abstract

   The OBJECTID capability of the IMAP protocol (RFC8474) allows clients
   to identify mailboxes by a unique identifier which survives rename.

   This document extends the Sieve mail filtering language (RFC5228) to
   allow using that same unique identifier as a target for fileinto
   rules, and for testing the existance of mailboxes.

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 31 January 2021.

Copyright Notice

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

Gondwana                 Expires 31 January 2021                [Page 1]
Internet-Draft               Sieve MAILBOXID                   July 2020

   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 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 . . . . . . . . . . . . . .   3
   3.  Sieve capability string . . . . . . . . . . . . . . . . . . .   3
   4.  Argument ":mailboxid" to Command "fileinto" . . . . . . . . .   3
     4.1.  Interaction with "mailbox" extension  . . . . . . . . . .   4
     4.2.  Interaction with "specialuse" extension . . . . . . . . .   4
     4.3.  Interaction with "fcc" extension  . . . . . . . . . . . .   5
   5.  Test ":mailboxidexists" . . . . . . . . . . . . . . . . . . .   5
   6.  Interaction with variables extension  . . . . . . . . . . . .   6
   7.  Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . .   6
   8.  Security considerations . . . . . . . . . . . . . . . . . . .   6
   9.  IANA considerations . . . . . . . . . . . . . . . . . . . . .   7
   10. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   7
   11. Changes . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
     11.1.  draft-ietf-sieve-mailboxid-01  . . . . . . . . . . . . .   7
     11.2.  draft-ietf-sieve-mailboxid-00  . . . . . . . . . . . . .   7
     11.3.  draft-gondwana-sieve-mailboxid-02  . . . . . . . . . . .   8
     11.4.  draft-gondwana-sieve-mailboxid-01  . . . . . . . . . . .   8
     11.5.  draft-gondwana-sieve-mailboxid-00  . . . . . . . . . . .   8
   12. Normative References  . . . . . . . . . . . . . . . . . . . .   8
   13. Informative References  . . . . . . . . . . . . . . . . . . .   9
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   9

1.  Introduction

   [RFC5228] 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.

Gondwana                 Expires 31 January 2021                [Page 2]
Internet-Draft               Sieve MAILBOXID                   July 2020

   By extending "fileinto" to reference the immutable mailboxid
   specified by [RFC8474] , sieve rules can continue to target the same
   mailbox, even if 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
Show full document text