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

Document Type Active Internet-Draft (extra WG)
Author Bron Gondwana 
Last updated 2020-09-04
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 Submitted to IESG for Publication (wg milestone: Aug 2020 - Submit sieve-mailbox... )
Document shepherd Jiankang Yao
Shepherd write-up Show (last changed 2020-09-04)
IESG IESG state AD Evaluation::AD Followup
Consensus Boilerplate Yes
Telechat date
Responsible AD Barry Leiba
Send notices to Jiankang Yao <yaojk@cnnic.cn>
EXTRA                                                   B. Gondwana, Ed.
Internet-Draft                                                  Fastmail
Updates: 5228 (if approved)                            September 4, 2020
Intended status: Standards Track                                        
Expires: March 8, 2021

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

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 March 8, 2021.

Copyright Notice

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

Gondwana                  Expires March 8, 2021                 [Page 1]
Internet-Draft               Sieve MAILBOXID              September 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
   5.  Interaction with "fcc" extension  . . . . . . . . . . . . . .   5
   6.  Test "mailboxidexists"  . . . . . . . . . . . . . . . . . . .   5
   7.  Interaction with variables extension  . . . . . . . . . . . .   6
   8.  Formal Syntax . . . . . . . . . . . . . . . . . . . . . . . .   6
   9.  Security considerations . . . . . . . . . . . . . . . . . . .   6
   10. IANA considerations . . . . . . . . . . . . . . . . . . . . .   7
   11. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   7
   12. Changes . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
     12.1.  draft-ietf-sieve-mailboxid-03  . . . . . . . . . . . . .   7
     12.2.  draft-ietf-sieve-mailboxid-02  . . . . . . . . . . . . .   7
     12.3.  draft-ietf-sieve-mailboxid-01  . . . . . . . . . . . . .   7
     12.4.  draft-ietf-sieve-mailboxid-00  . . . . . . . . . . . . .   8
     12.5.  draft-gondwana-sieve-mailboxid-02  . . . . . . . . . . .   8
     12.6.  draft-gondwana-sieve-mailboxid-01  . . . . . . . . . . .   8
     12.7.  draft-gondwana-sieve-mailboxid-00  . . . . . . . . . . .   8
   13. Normative References  . . . . . . . . . . . . . . . . . . . .   8
   14. 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 March 8, 2021                 [Page 2]
Internet-Draft               Sieve MAILBOXID              September 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
Show full document text