draft-ietf-extra-sieve-fcc-07.txt | draft-ietf-extra-sieve-fcc-08.txt | |||
---|---|---|---|---|
EXTRA K. Murchison | EXTRA K. Murchison | |||
Internet-Draft B. Gondwana | Internet-Draft B. Gondwana | |||
Updates: 5230, 5435 (if approved) FastMail | Updates: 5230, 5435 (if approved) FastMail | |||
Intended status: Standards Track November 29, 2018 | Intended status: Standards Track December 4, 2018 | |||
Expires: June 2, 2019 | Expires: June 7, 2019 | |||
Sieve Extension: File Carbon Copy (Fcc) | Sieve Extension: File Carbon Copy (Fcc) | |||
draft-ietf-extra-sieve-fcc-07 | draft-ietf-extra-sieve-fcc-08 | |||
Abstract | Abstract | |||
The Sieve Email Filtering Language provides a number of action | The Sieve Email Filtering Language provides a number of action | |||
commands, some of which can generate additional messages on behalf of | commands, some of which can generate additional messages on behalf of | |||
the user. This document defines an extension to such commands to | the user. This document defines an extension to such commands to | |||
allow a copy of any generated message to be filed into a target | allow a copy of any generated message to be filed into a target | |||
mailbox. | mailbox. | |||
This document updates RFC5230 and RFC5435 by adding a new tagged | This document updates RFC5230 and RFC5435 by adding a new tagged | |||
skipping to change at page 1, line 38 ¶ | skipping to change at page 1, line 38 ¶ | |||
Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
Drafts is at https://datatracker.ietf.org/drafts/current/. | Drafts is at https://datatracker.ietf.org/drafts/current/. | |||
Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
This Internet-Draft will expire on June 2, 2019. | This Internet-Draft will expire on June 7, 2019. | |||
Copyright Notice | Copyright Notice | |||
Copyright (c) 2018 IETF Trust and the persons identified as the | Copyright (c) 2018 IETF Trust and the persons identified as the | |||
document authors. All rights reserved. | document authors. All rights reserved. | |||
This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
(https://trustee.ietf.org/license-info) in effect on the date of | (https://trustee.ietf.org/license-info) in effect on the date of | |||
publication of this document. Please review these documents | publication of this document. Please review these documents | |||
skipping to change at page 5, line 10 ¶ | skipping to change at page 5, line 10 ¶ | |||
If both the optional ":specialuse" and ":create" arguments are | If both the optional ":specialuse" and ":create" arguments are | |||
specified with ":fcc", the Sieve interpreter is instructed to create | specified with ":fcc", the Sieve interpreter is instructed to create | |||
the target mailbox per Section 4.1 of | the target mailbox per Section 4.1 of | |||
[I-D.ietf-extra-sieve-special-use], if needed. | [I-D.ietf-extra-sieve-special-use], if needed. | |||
3.2. Collected Grammar | 3.2. Collected Grammar | |||
For convenience, the "FCC" syntax element is defined here using ABNF | For convenience, the "FCC" syntax element is defined here using ABNF | |||
[RFC5234] so that it can be augmented by other extensions. | [RFC5234] so that it can be augmented by other extensions. | |||
Note that the following is the grammar of "FCC" after it has been | ||||
lexically interpreted. No whitespace or comments appear below. | ||||
FCC = ":fcc" string *FCC-OPTS | FCC = ":fcc" string *FCC-OPTS | |||
; per Section 2.6.2 of RFC5228, | ||||
; the tagged arguments in FCC may appear in any order | ||||
FCC-OPTS = CREATE / IMAP-FLAGS / SPECIAL-USE | FCC-OPTS = CREATE / IMAP-FLAGS / SPECIAL-USE | |||
; each option MUST NOT appear more than once | ; each option MUST NOT appear more than once | |||
CREATE = ":create" | CREATE = ":create" | |||
IMAP-FLAGS = ":flags" string-list | IMAP-FLAGS = ":flags" string-list | |||
SPECIAL-USE = ":specialuse" string | SPECIAL-USE = ":specialuse" string | |||
4. Format of File Carbon Copied Messages | 4. Format of File Carbon Copied Messages | |||
skipping to change at page 6, line 29 ¶ | skipping to change at page 6, line 37 ¶ | |||
[":mime"] | [":mime"] | |||
[":handle" string] | [":handle" string] | |||
<reason: string> | <reason: string> | |||
Example (with fileinto extensions): | Example (with fileinto extensions): | |||
require ["vacation", "fcc", "mailbox", "special-use", "imap4flags"]; | require ["vacation", "fcc", "mailbox", "special-use", "imap4flags"]; | |||
vacation :days 7 | vacation :days 7 | |||
:from "hemingway@example.com" "Gone Fishin'" | :from "hemingway@example.com" "Gone Fishin'" | |||
:fcc "INBOX.Sent" :flags ["\\Seen"] | :specialuse "\\Sent" :create | |||
:specialuse "\\Sent" :create; | :fcc "INBOX.Sent" :flags ["\\Seen"]; | |||
Vacation auto-reply messages are MIME-compliant and can be filed into | Vacation auto-reply messages are MIME-compliant and can be filed into | |||
the target mailbox without modification. | the target mailbox without modification. | |||
6. Interaction with the Notify Action | 6. Interaction with the Notify Action | |||
This document extends the "notify" [RFC5435] action to optionally | This document extends the "notify" [RFC5435] action to optionally | |||
store a copy of the notification messages into a target mailbox. | store a copy of the notification messages into a target mailbox. | |||
Usage: notify [FCC] | Usage: notify [FCC] | |||
skipping to change at page 12, line 43 ¶ | skipping to change at page 12, line 43 ¶ | |||
[2] http://www.cyrusimap.org/ | [2] http://www.cyrusimap.org/ | |||
[3] http://www.cmu.edu/computing/ | [3] http://www.cmu.edu/computing/ | |||
[4] https://www.oracle.com/industries/communications/enterprise/ | [4] https://www.oracle.com/industries/communications/enterprise/ | |||
products/messaging-server/index.html | products/messaging-server/index.html | |||
Appendix A. Change History (To be removed by RFC Editor before | Appendix A. Change History (To be removed by RFC Editor before | |||
publication) | publication) | |||
Changes since draft-ietf-extra-sieve-fcc-07: | ||||
o Added comments regarding FCC ABNF per Alexey Melnikov. | ||||
o Reordered arguments in the "vacation" example to show ":fcc" | ||||
appearing amongst FCC-OPTS. | ||||
Changes since draft-ietf-extra-sieve-fcc-06: | Changes since draft-ietf-extra-sieve-fcc-06: | |||
o Reorganized sections. | o Reorganized sections. | |||
o Switched to using proper ABNF for FCC and fileinto extensions. | o Switched to using proper ABNF for FCC and fileinto extensions. | |||
o Fcc into INBOX if specified target mailbox doesn't exist. | o Fcc into INBOX if specified target mailbox doesn't exist. | |||
o Editorial changes from Alexey Melnikov. | o Editorial changes from Alexey Melnikov. | |||
End of changes. 7 change blocks. | ||||
6 lines changed or deleted | 18 lines changed or added | |||
This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |