JMAP R. Ouazana, Ed.
Internet-Draft Linagora
Intended status: Standards Track July 25, 2018
Expires: January 26, 2019

Sending an MDN Response with JMAP
draft-ietf-jmap-mdn-00

Abstract

This document specifies a data model for handling [RFC8098] MDN messages with a server using JMAP.

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 January 26, 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 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

JMAP <https://tools.ietf.org/html/draft-ietf-jmap-core-06> is a generic protocol for synchronising data, such as mail, calendars or contacts, between a client and a server. It is optimised for mobile and web environments, and aims to provide a consistent interface to different data types.

This specification defines a method helping to send MDN (Message Disposition Nodification) messages. MDN are defined in [RFC8098] and are used as "read receipts", "acknowledgements", or "receipt notifications".

1.1. Notational conventions

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

Type signatures, examples and property descriptions in this document follow the conventions established in Section 1.1 of <https://tools.ietf.org/html/draft-ietf-jmap-core-06>. Email object and methods are defined in <https://tools.ietf.org/html/draft-ietf-jmap-mail-06>.

1.2. Terminology

The same terminology is used in this document as in the core JMAP specification.

1.3. Addition to the capabilities object

The capabilities object is returned as part of the standard JMAP Session object; see the JMAP spec. Servers supporting this specification MUST add a property called urn:ietf:params:jmap:mdn to the capabilities object.

2. Email/createMDN

The Email/createMDN method create a [RFC5322] message from MDN properties.

It takes the following arguments:

An MDN object has the following properties:

A Disposition object has the following properties:

See [RFC8098] for the exact meaning of these different fields.

If the referencedMessageId, subject, textBody, reportingUA, disposition properties are invalid (e.g. missing, wrong type, id not found), the server MUST reject the import with an invalidProperties SetError.

If the email cannot be created because it would take the account over quota, the creation should be rejected with a maxQuotaReached SetError.

The response has the following arguments:

3. IANA Considerations

3.1. JMAP Capability Registration for "mdn"

IANA will register the "mdn" JMAP Capability as follows:

Capability Name: urn:ietf:params:jmap:mdn

Specification document: this document

Intended use: common

Change Controller: IETF

Security and privacy considerations: this document, section 4.

4. Normative References

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997.
[RFC5322] Resnick, P., "Internet Message Format", RFC 5322, DOI 10.17487/RFC5322, October 2008.
[RFC8098] Hansen, T. and A. Melnikov, "Message Disposition Notification", STD 85, RFC 8098, DOI 10.17487/RFC8098, February 2017.

Author's Address

Raphaël Ouazana (editor) Linagora 100 Terrasse Boieldieu – Tour Franklin Paris - La Défense CEDEX, 92042 France EMail: rouazana@linagora.com URI: https://www.linagora.com