TOC 
LEMONADED. Cridland, Ed.
Internet-DraftA. Melnikov, Ed.
Intended status: Standards TrackIsode Limited
Expires: April 3, 2009S. Maes, Ed.
 Oracle
 September 30, 2008


The Lemonade Profile
draft-ietf-lemonade-profile-bis-11.txt

Status of this Memo

By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

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.”

The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.

This Internet-Draft will expire on April 3, 2009.

Abstract

This document describes a profile (a set of required extensions, restrictions and usage modes) of the IMAP and mail submission protocols. This profile allows clients (especially those that are constrained in memory, bandwidth, processing power, or other areas) to efficiently use IMAP and Submission to access and submit mail. This includes the ability to forward received mail without needing to download and upload the mail, to optimize submission and to efficiently resynchronize in case of loss of connectivity with the server.

The Lemonade profile relies upon several extensions to IMAP and Mail Submission protocols.



Table of Contents

1.  Conventions used in this document
2.  Introduction
3.  Summary of the required support
    3.1.  Lemonade Submission Servers
    3.2.  Lemonade Message Stores
    3.3.  Lemonade Message Delivery Agents
4.  Lemonade Submission Servers
    4.1.  Forward Without Download
    4.2.  Pipelining
    4.3.  DSN Support
    4.4.  Message size declaration
    4.5.  Enhanced status code Support
    4.6.  Encryption and Compression
5.  Lemonade Message Stores
    5.1.  Quick resynchronization
    5.2.  Message part handling
    5.3.  Compression
    5.4.  Notifications
        5.4.1.  IMAP Notifications
        5.4.2.  External Notifications
    5.5.  Searching and View Filters
    5.6.  Mailbox Handling
    5.7.  Forward Without Download
        5.7.1.  Support for PARTIAL in CATENATE and URLAUTH
    5.8.  Additional IMAP extensions
    5.9.  Registration of $Forwarded IMAP keyword
    5.10.  Registration of $SubmitPending and $Submitted IMAP keywords
    5.11.  Related IMAP extensions
6.  Lemonade Message Delivery Agents
7.  Lemonade Mail User Agents
8.  Forward without download
    8.1.  Motivations
    8.2.  Message Sending Overview
    8.3.  Traditional Strategy
    8.4.  Step by step description
        8.4.1.  Message assembly using IMAP CATENATE extension
        8.4.2.  Message assembly using SMTP CHUNKING and BURL extensions
    8.5.  Security Considerations for pawn-tickets.
    8.6.  Copies of Sent messages: The fcc problem
9.  Deployment Considerations
10.  Security Considerations
    10.1.  Confidentiality Protection of Submitted Messages
    10.2.  TLS
    10.3.  Additional extensions and deployment models
11.  IANA considerations
12.  Version history
13.  Acknowledgements
14.  References
    14.1.  Normative References
    14.2.  Informative References
§  Authors' Addresses
§  Intellectual Property and Copyright Statements




 TOC 

1.  Conventions used in this document

In examples, "M:", "I:" and "S:" indicate lines sent by the client messaging user agent, IMAP e-mail server and SMTP submit server respectively.

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 [KEYWORDS] (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.).

Other capitalised words are typically names of extensions or commands - these are uppercased for clarity only, and are case-insensitive.

All examples in this document are optimized for Lemonade use and might not represent examples of proper protocol usage for a general use Submit/IMAP client. In particular, examples assume that Submit and IMAP servers support all Lemonade extensions described in this document, so they do not demonstrate fallbacks in the absence of an extension.



 TOC 

2.  Introduction

The Lemonade Profile, or simply Lemonade, provides enhancements to Internet email to support diverse service environments. Lemonade Mail Servers provide both a Lemonade Submission Server and a Lemonade Message Store, which are based on the existing [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) and [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) protocols respectively. They MAY also include a Lemonade Message Delivery Agent, which provides delivery-time filtering services based on [SIEVE] (Guenther, P. and T. Showalter, “Sieve: An Email Filtering Language,” January 2008.).

This document describes the Lemonade profile that includes:

It is intended that the Lemonade profile support realizations of the OMA's mobile email enabler (MEM) (see [OMA‑MEM‑REQ] (Open Mobile Alliance, “Mobile Email Requirements Document,” Oct 2005.) and [OMA‑MEM‑ARCH] (Open Mobile Alliance, “Mobile Email Architecture Document,” October 2005.)) using Internet Mail protocols defined by the IETF.



 TOC 

3.  Summary of the required support



 TOC 

3.1.  Lemonade Submission Servers

Lemonade Submission Servers MUST provide a service as described in [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.), and MUST support the following. Note that the Lemonade Profile imposes further requirements for some cases, detailed in the sections cited.

SMTP extensionReferenceRequirements
PIPELINING [SMTP‑PIPELINING] (Freed, N., “SMTP Service Extension for Command Pipelining,” September 2000.) Section 4.2 (Pipelining)
DSN [SMTP‑DSN] (Moore, K., “Simple Mail Transfer Protocol (SMTP) Service Extension for Delivery Status Notifications (DSNs),” January 2003.) Section 4.3 (DSN Support)
SIZE [SMTP‑SIZE] (Klensin, J., Freed, N., and K. Moore, “SMTP Service Extension for Message Size Declaration,” November 1995.) Section 4.4 (Message size declaration)
ENHANCEDSTATUSCODES [SMTP‑STATUSCODES] (Freed, N., “SMTP Service Extension for Returning Enhanced Error Codes,” October 1996.) Section 4.5 (Enhanced status code Support)
STARTTLS [SMTP‑TLS] (Hoffman, P., “SMTP Service Extension for Secure SMTP over Transport Layer Security,” February 2002.) Section 4.6 (Encryption and Compression)
BURL imap [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) Section 8 (Forward without download)
BINARYMIME [SMTP‑BINARYMIME] (Vaudreuil, G., “SMTP Service Extensions for Transmission of Large and Binary MIME Messages,” December 2000.) Section 4.1 (Forward Without Download)
CHUNKING [SMTP‑BINARYMIME] (Vaudreuil, G., “SMTP Service Extensions for Transmission of Large and Binary MIME Messages,” December 2000.) Section 4.1 (Forward Without Download)
8BITMIME [SMTP‑8BITMIME] (Klensin, J., Freed, N., Rose, M., Stefferud, E., and D. Crocker, “SMTP Service Extension for 8bit-MIMEtransport,” July 1994.) [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.)
AUTH [SMTP‑AUTH] (Siemborski, R. and A. Melnikov, “SMTP Service Extension for Authentication,” July 2007.) [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.)



 TOC 

3.2.  Lemonade Message Stores

Lemonade Message Stores MUST provide a service as described in [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.), and MUST support the following. Note that the Lemonade Profile imposes further requirements for some cases, detailed in the sections cited.

IMAP extensionReferenceRequirements
NAMESPACE [IMAP‑NAMESPACE] (Gahrns, M. and C. Newman, “IMAP4 Namespace,” May 1998.) Section 5.6 (Mailbox Handling)
CONDSTORE [IMAP‑CONDSTORE] (Melnikov, A. and S. Hole, “IMAP Extension for Conditional STORE Operation or Quick Flag Changes Resynchronization,” June 2006.) Section 5.1 (Quick resynchronization)
STARTTLS [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) -
URLAUTH [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) Section 5.7 (Forward Without Download)
CATENATE [IMAP‑CATENATE] (Resnick, P., “Internet Message Access Protocol (IMAP) CATENATE Extension,” April 2006.) Section 5.7 (Forward Without Download)
URL-PARTIAL Section 5.7.1 (Support for PARTIAL in CATENATE and URLAUTH) Section 5.7 (Forward Without Download)
UIDPLUS [IMAP‑UIDPLUS] (Crispin, M., “Internet Message Access Protocol (IMAP) - UIDPLUS extension,” December 2005.) Section 5.7 (Forward Without Download)
LITERAL+ [IMAP‑LITERAL+] (Myers, J., “IMAP4 non-synchronizing literals,” January 1997.) Section 5.8 (Additional IMAP extensions)
IDLE [IMAP‑IDLE] (Leiba, B., “IMAP4 IDLE command,” June 1997.) Section 5.4.1 (IMAP Notifications)
NOTIFY [IMAP‑NOTIFY] (Gulbrandsen, A., Melnikov, A., and C. King, “The IMAP NOTIFY Extension,” August 2008.) Section 5.4.1 (IMAP Notifications)
$Forwarded keyword - Section 5.9 (Registration of $Forwarded IMAP keyword)
$SubmitPending keyword - Section 5.10 (Registration of $SubmitPending and $Submitted IMAP keywords)
$Submitted keyword - Section 5.10 (Registration of $SubmitPending and $Submitted IMAP keywords)
BINARY [IMAP‑BINARY] (Nerenberg, L., “IMAP4 Binary Content Extension,” April 2003.) Section 5.2 (Message part handling)
QRESYNC [IMAP‑QRESYNC] (Melnikov, A., Cridland, D., and C. Wilson, “IMAP4 Extensions for Quick Mailbox Resynchronization,” March 2008.) Section 5.1 (Quick resynchronization)
ENABLE [IMAP‑ENABLE] (Gulbrandsen, A. and A. Melnikov, “The IMAP ENABLE Extension,” March 2008.) Section 5.1 (Quick resynchronization)
ESEARCH [IMAP‑ESEARCH] (Melnikov, A. and D. Cridland, “IMAP4 Extension to SEARCH Command for Controlling What Kind of Information Is Returned,” November 2006.) Section 5.5 (Searching and View Filters)
CONTEXT=SEARCH [IMAP‑CONTEXT] (Cridland, D. and C. King, “Contexts for IMAP4,” July 2008.) Section 5.5 (Searching and View Filters)
SORT [IMAP‑SORT] (Crispin, M. and K. Murchison, “Internet Message Access Protocol - SORT and THREAD Extensions,” June 2008.) Section 5.5 (Searching and View Filters)
ESORT [IMAP‑CONTEXT] (Cridland, D. and C. King, “Contexts for IMAP4,” July 2008.) Section 5.5 (Searching and View Filters)
CONTEXT=SORT [IMAP‑CONTEXT] (Cridland, D. and C. King, “Contexts for IMAP4,” July 2008.) Section 5.5 (Searching and View Filters)
CONVERT [IMAP‑CONVERT] (Melnikov, A. and P. Coates, “Internet Message Access Protocol - CONVERT Extension,” July 2008.) Section 5.2 (Message part handling)
COMPRESS=DEFLATE [IMAP‑COMPRESS] (Gulbrandsen, A., “The IMAP COMPRESS Extension,” August 2007.) Section 5.3 (Compression)
I18NLEVEL=1 [IMAP‑I18N] (Newman, C., Gulbrandsen, A., and A. Melnikov, “Internet Message Access Protocol Internationalization,” June 2008.) Section 5.8 (Additional IMAP extensions)
SASL-IR [IMAP‑SASL‑IR] (Siemborski, R. and A. Gulbrandsen, “IMAP Extension for Simple Authentication and Security Layer (SASL) Initial Client Response,” September 2007.) Section 5.8 (Additional IMAP extensions)

In addition to this list, any Lemonade Message Stores MUST send the CAPABILITY response code (see Section 7.1 of [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.)) in the initial server greeting and after the LOGIN/AUTHENTICATE commands.



 TOC 

3.3.  Lemonade Message Delivery Agents

Lemonade Message Delivery Agents MUST support Sieve mail filtering language as described in [SIEVE] (Guenther, P. and T. Showalter, “Sieve: An Email Filtering Language,” January 2008.), and MUST support the following Sieve extensions. Note that the Lemonade Profile imposes further requirements for some cases, detailed in the sections cited.

Sieve extensionReferenceRequirements
VACATION [SIEVE‑VACATION] (Showalter, T. and N. Freed, “Sieve Email Filtering: Vacation Extension,” January 2008.) Section 6 (Lemonade Message Delivery Agents)
ENOTIFY [SIEVE‑NOTIFY] (Melnikov, A., Leiba, B., Segmuller, W., and T. Martin, “SIEVE Email Filtering: Extension for Notifications,” December 2007.) Section 6 (Lemonade Message Delivery Agents)
VARIABLES [SIEVE‑VARIABLES] (Homme, K., “Sieve Email Filtering: Variables Extension,” January 2008.) Section 6 (Lemonade Message Delivery Agents)
RELATIONAL [SIEVE‑RELATIONAL] (Segmuller, W. and B. Leiba, “Sieve Email Filtering: Relational Extension,” January 2008.) Section 6 (Lemonade Message Delivery Agents)
IMAP4FLAGS [SIEVE‑IMAP4FLAGS] (Melnikov, A., “Sieve Email Filtering: Imap4flags Extension,” January 2008.) Section 6 (Lemonade Message Delivery Agents)
comparator-i;unicode-casemap [UNICODE‑CASEMAP] (Crispin, M., “i;unicode-casemap - Simple Unicode Collation Algorithm,” October 2007.) Section 6 (Lemonade Message Delivery Agents)

Lemonade Message Delivery Agents should also consider supporting a Sieve script management protocol, such as [MANAGESIEVE] (Melnikov, A. and T. Martin, “A Protocol for Remotely Managing Sieve Scripts,” September 2008.).



 TOC 

4.  Lemonade Submission Servers

All Lemonade Submission Servers implement the Mail Submission protocol described in [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.), which is in turn a specific profile of [ESMTP] (Klensin, J., “Simple Mail Transfer Protocol,” April 2001.). Therefore any MUA designed to submit email via [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) or [ESMTP] (Klensin, J., “Simple Mail Transfer Protocol,” April 2001.) will interoperate with Lemonade Submission Servers.

In addition, Lemonade Submission Servers implement the following set of SMTP and Submission extensions to increase message submission efficiency.



 TOC 

4.1.  Forward Without Download

In order to optimize network usage for the typical case where message content is copied to, or sourced from, the IMAP store, Lemonade provides support for a suite of extensions collectively known as Forward Without Download, discussed in detail in Section 8 (Forward without download).

Lemonade Submission Servers MUST support the BURL [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.), 8BITMIME [SMTP‑8BITMIME] (Klensin, J., Freed, N., Rose, M., Stefferud, E., and D. Crocker, “SMTP Service Extension for 8bit-MIMEtransport,” July 1994.), BINARYMIME [SMTP‑BINARYMIME] (Vaudreuil, G., “SMTP Service Extensions for Transmission of Large and Binary MIME Messages,” December 2000.) and CHUNKING [SMTP‑BINARYMIME] (Vaudreuil, G., “SMTP Service Extensions for Transmission of Large and Binary MIME Messages,” December 2000.).

BURL MUST support URLAUTH type URLs [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.), and thus MUST advertise the "imap" option following the BURL EHLO keyword (See [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) for more details).



 TOC 

4.2.  Pipelining

Some clients regularly use networks with a relatively high latency, such as Mobile or Satellite based networks. Avoidance of round-trips within a transaction has a great advantage for the reduction in both bandwidth and total transaction time. For this reason Lemonade compliant mail submission servers MUST support the SMTP Service Extensions for Command Pipelining [SMTP‑PIPELINING] (Freed, N., “SMTP Service Extension for Command Pipelining,” September 2000.).



 TOC 

4.3.  DSN Support

Lemonade compliant mail submission servers MUST support SMTP service extensions for delivery status notifications [SMTP‑DSN] (Moore, K., “Simple Mail Transfer Protocol (SMTP) Service Extension for Delivery Status Notifications (DSNs),” January 2003.).



 TOC 

4.4.  Message size declaration

There is a distinct advantage in detecting failure cases as early as possible in many cases, such as where the user is charged per-octet, or where bandwidth is low. This is especially true of large message sizes.

Lemonade Submission Servers MUST support the SMTP Service Extension for Message Size Declaration [SMTP‑SIZE] (Klensin, J., Freed, N., and K. Moore, “SMTP Service Extension for Message Size Declaration,” November 1995.).

Lemonade Submission Servers MUST NOT consider a supplied message size to be acceptable without expanding all BURL parts.

A Lemonade capable client SHOULD use message size declaration. In particular the client MUST NOT send a message to a mail submission server, if it knows that the message exceeds the maximal message size advertised by the submission server. When including a message size in the MAIL FROM command, the client MUST use a value that is at least as large as the size of the assembled message data after resolution of all BURL parts.



 TOC 

4.5.  Enhanced status code Support

Lemonade compliant mail submission servers MUST support SMTP Service Extension for Returning Enhanced Error Codes [SMTP‑STATUSCODES] (Freed, N., “SMTP Service Extension for Returning Enhanced Error Codes,” October 1996.). These allow a client to determine the precise cause of failure.



 TOC 

4.6.  Encryption and Compression

Lemonade Compliant mail submission servers MUST support SMTP Service Extension for Secure SMTP over TLS [SMTP‑TLS] (Hoffman, P., “SMTP Service Extension for Secure SMTP over Transport Layer Security,” February 2002.).

Support for the DEFLATE compression method, as described in [TLS‑COMP] (Hollenbeck, S., “Transport Layer Security Protocol Compression Methods,” May 2004.), is RECOMMENDED.



 TOC 

5.  Lemonade Message Stores

All Lemonade Message Stores implement Internet Message Access Protocol, as defined in [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.). Therefore any MUA written to access messages using the facilities described in [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) will interoperate with a Lemonade Message Store.

In addition, Lemonade Message Stores provide a set of extensions to address the limitations of some clients and networks.



 TOC 

5.1.  Quick resynchronization

Resynchronization is a costly part of an IMAP session, and mobile networks are generally more prone to unintended disconnection, which in turns makes this problem more acute. Therefore Lemonade Message Stores provide a suite of extensions to reduce the synchronization cost.

Lemonade Compliant IMAP servers MUST support the CONDSTORE [IMAP‑CONDSTORE] (Melnikov, A. and S. Hole, “IMAP Extension for Conditional STORE Operation or Quick Flag Changes Resynchronization,” June 2006.), the QRESYNC [IMAP‑QRESYNC] (Melnikov, A., Cridland, D., and C. Wilson, “IMAP4 Extensions for Quick Mailbox Resynchronization,” March 2008.) and the ENABLE [IMAP‑ENABLE] (Gulbrandsen, A. and A. Melnikov, “The IMAP ENABLE Extension,” March 2008.) extensions. These allow a client to quickly resynchronize any mailbox by asking the server to return all flag changes and expunges that have occurred since a previously recorded state. This can also speed up client reconnect in case the transport layer is cut, whether accidentally or as part of a change in network.

[IMAP‑SYNC‑HOWTO] (Melnikov, A., “Synchronization Operations for Disconnected IMAP4 Clients,” June 2006.) details how clients perform efficient mailbox resynchronization.



 TOC 

5.2.  Message part handling

The handling of message parts, especially attachments, represents a set of challenges to limited devices, both in terms of the bandwidth used, and the capability of the device.

Lemonade Compliant IMAP servers MUST support the BINARY [IMAP‑BINARY] (Nerenberg, L., “IMAP4 Binary Content Extension,” April 2003.) extension. This moves MIME body part decoding operations from the client to the server. The decoded data is always equal or less than the encoded representation, so this reduces bandwidth effectively.

[IMAP‑BINARY] (Nerenberg, L., “IMAP4 Binary Content Extension,” April 2003.) allows for servers to refuse to accept uploaded messages containing binary data, by not accepting the Binary content-transfer-encoding; however Lemonade Compliant IMAP servers SHALL always accept binary encoded MIME messages in APPEND commands for any folder.

[IMAP‑CONVERT] (Melnikov, A. and P. Coates, “Internet Message Access Protocol - CONVERT Extension,” July 2008.) MUST also be supported by servers, which allows clients to request conversions between media types, and allows for scaling images, etc. This provides the ability to view attachments (and sometimes body parts) without the facility to cope with a wide range of media types, or to efficiently view attachments.



 TOC 

5.3.  Compression

The IETF has for some time generally agreed that compression is best handled at as low a level as possible, therefore Lemonade Message Stores SHOULD support the Deflate compression algorithm for TLS, as defined in [TLS‑COMP] (Hollenbeck, S., “Transport Layer Security Protocol Compression Methods,” May 2004.).

However, the working group acknowledges that for many endpoints, this is a rarely deployed technology, and as such, Lemonade Message Stores MUST provide [IMAP‑COMPRESS] (Gulbrandsen, A., “The IMAP COMPRESS Extension,” August 2007.) support for fallback application-level stream compression, where TLS is not actively providing compression.



 TOC 

5.4.  Notifications

The addition of Server-to-client notifications ransforms the LEMONADE profile into an event-based synchronization protocol. Whenever an event occurs that interests the MUA, a notification can be generated.

If the MUA is connected to the IMAP server, inband notifications are generated using the facilities outlined in Section 5.4.1 (IMAP Notifications).

When the MUA is not connected, the Notification filter generates a outband notification. The notification filter may be considered as acting on a PUSH repository.

If the MUA is not connected, and outband notification is disabled, the client must perform a quick-sync on reconnect to determine mailbox changes, using the mechanisms outlined in Section 5.1 (Quick resynchronization).



 TOC 

5.4.1.  IMAP Notifications

Lemonade Message Stores MUST support the IDLE [IMAP‑IDLE] (Leiba, B., “IMAP4 IDLE command,” June 1997.) extension. The extension allows clients to receive unsolicited notifications about changes in the selected mailbox, without needing to poll for changes. The responses forming these notifications MUST be sent in a timely manner when such changes happen.

Lemonade Message Stores also provide the NOTIFY extension described in [IMAP‑NOTIFY] (Gulbrandsen, A., Melnikov, A., and C. King, “The IMAP NOTIFY Extension,” August 2008.), which allows clients to request specific event types to be sent immediately to the client, both for the currently selected folder and others. Such event types include message delivery, and mailbox renames.



 TOC 

5.4.2.  External Notifications

Lemonade, and TCP, provide for long-lived idle connections between the client and mail store, allowing the server to push notifications within IMAP. Some mobile networks support dormancy, which shuts down the radio traffic channel during idle periods to conserve handset and network resources, while maintaining IP and TCP state. (See the [LEMONADE‑DEPLOYMENTS] (Gellens, R., “Deployment Considerations for lemonade-compliant Mobile Email,” June 2007.) document for more information.)

However, there are environments where the email client cannot remain active indefinitely, or where it is not advisable (or even always possible) for TCP connections to the server to remain up while idle for extended periods. In these situations, a good user experience requires that when "interesting" events occur in the mail store, the client be informed so that it can connect and resynchronize. At an absolute minimum, this requires that at least the arrival of new mail generate some sort of wake-up to the email client. A number of vendors have implemented various solutions to this. As examples of what has been done, for many years (long pre-dating cellular handsets) the technique described in [FINGER‑HACK] (Gellens, R., “Simple New Mail Notification,” August 2005.) has been supported. Today, a number of email vendors include facilities to send SMS or other simple non-stream messages to clients on handsets when new mail arrives. OMA has published a mechanism that uses WAP PUSH to send a basic message containing a URL [OMA‑EMN] (Open Mobile Alliance, “Open Mobile Alliance Email Notification Version 1.0,” August 2002.). The IETF is investigating ways to standardize enhanced functionality in this area.

A "push email" user experience can be achieved using any number of techniques, ranging from always-on TCP connectivity to the server and the NOTIFY extension described above, to OMA EMN, or even a non-standard trigger message over SMS. In any technique, the client learns of the existence of new mail, and decides to fetch information about it, some part of it, or all of it, and then presents this to the user.



 TOC 

5.5.  Searching and View Filters

Lemonade Message Stores MUST support the ESEARCH [IMAP‑ESEARCH] (Melnikov, A. and D. Cridland, “IMAP4 Extension to SEARCH Command for Controlling What Kind of Information Is Returned,” November 2006.) extension. The extension allows clients to efficiently find the first or last messages, find a count of matching messages, and obtain a list of matching messages in a considerably more compact representation.

Lemonade Message Stores also provide a mechanism for clients to avoid handling an entire mailbox, instead accessing a view of the mailbox. This technique, common in many desktop clients as a client-side capability, is useful for constrained clients to minimize the quantity of messages and notification data.

Lemonade Message Stores therefore MUST implement the CONTEXT=SEARCH, ESORT and CONTEXT=SORT extensions defined in [IMAP‑CONTEXT] (Cridland, D. and C. King, “Contexts for IMAP4,” July 2008.), as well as the SORT extension defined in [IMAP‑SORT] (Crispin, M. and K. Murchison, “Internet Message Access Protocol - SORT and THREAD Extensions,” June 2008.).



 TOC 

5.6.  Mailbox Handling

Lemonade Message Stores MUST support the NAMESPACE [IMAP‑NAMESPACE] (Gahrns, M. and C. Newman, “IMAP4 Namespace,” May 1998.) extension. The extension allows clients to discover shared mailboxes and mailboxes belonging to other users, and provide a normalized hierarchy view of the mailboxes available.

Lemonade Message Stores MUST support the I18NLEVEL=<n> [IMAP‑I18N] (Newman, C., Gulbrandsen, A., and A. Melnikov, “Internet Message Access Protocol Internationalization,” June 2008.) extension, with <n> having value 1 or 2. It adds support for non-English (internationalized) search and sort functions. (Note that I18NLEVEL=2 implies support for I18NLEVEL=1, so a Lemonade compliant client that make use of this extension MUST recognize either one.)



 TOC 

5.7.  Forward Without Download

In order to optimize network usage for the typical case where message content is copied to, or sourced from, the IMAP store, Lemonade provides support for a suite of extensions collectively known as Forward Without Download, discussed in detail in Section 8 (Forward without download).

Lemonade Message Stores MUST support CATENATE [IMAP‑CATENATE] (Resnick, P., “Internet Message Access Protocol (IMAP) CATENATE Extension,” April 2006.), UIDPLUS [IMAP‑UIDPLUS] (Crispin, M., “Internet Message Access Protocol (IMAP) - UIDPLUS extension,” December 2005.) and URLAUTH [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.). Lemonade Message Stores MUST also support URL-PARTIAL Section 5.7.1 (Support for PARTIAL in CATENATE and URLAUTH).



 TOC 

5.7.1.  Support for PARTIAL in CATENATE and URLAUTH

[IMAP‑URL] (Melnikov, A. and C. Newman, “IMAP URL Scheme,” November 2007.) introduced a new syntactic element for referencing a byte range of a message/body part. This is done using the ;PARTIAL= field. If an IMAP server supports PARTIAL in IMAP URL used in CATENATE and URLAUTH extensions, then it MUST advertise the URL-PARTIAL capability in the CAPABILITY response/response code.



 TOC 

5.8.  Additional IMAP extensions

Lemonade Message Stores MUST support the LITERAL+ [IMAP‑LITERAL+] (Myers, J., “IMAP4 non-synchronizing literals,” January 1997.) extension. The extension allows clients to save a round trip each time a non-synchronizing literal is sent.

Lemonade Message Stores MUST also implement the SASL-IR [IMAP‑SASL‑IR] (Siemborski, R. and A. Gulbrandsen, “IMAP Extension for Simple Authentication and Security Layer (SASL) Initial Client Response,” September 2007.) extension, which allows clients to save a round trip during authentication, potentially pipelining the entire authentication sequence.

Lemonade Compliant IMAP servers MUST support IMAP over TLS [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) as required by [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.). As noted above in Section 5.3 (Compression), servers SHOULD support the deflate compression algorithm for TLS, as specified in [TLS‑COMP] (Hollenbeck, S., “Transport Layer Security Protocol Compression Methods,” May 2004.).



 TOC 

5.9.  Registration of $Forwarded IMAP keyword

The $Forwarded IMAP keyword is used by several IMAP clients to specify that the marked message was forwarded to another email address, embedded within or attached to a new message. A mail client sets this keyword when it successfully forwards the message to another email address. Typical usage of this keyword is to show a different (or additional) icon for a message that has been forwarded. Once set the flag SHOULD NOT be cleared.

Lemonade Message Stores MUST be able to store the $Forwarded keyword. They MUST preserve it on the COPY operation. The servers MUST support the SEARCH KEYWORD $Forwarded.



 TOC 

5.10.  Registration of $SubmitPending and $Submitted IMAP keywords

The $SubmitPending IMAP keyword designates the message as awaiting to be submitted. This keyword allows to store messages waiting to be submitted in the same mailbox where messages that were already submitted and/or being edited are stored. A mail client sets this keyword when it decides that the message needs to be sent out. When a client (it might be a different client from the one that decided that the message is pending submission) starts sending the message, it atomically (using "STORE (UNCHANGEDSINCE)") adds the $Submitted keyword. Once submission is successful, the $SubmitPending keyword is atomically cleared. The two keywords allow to distinguish messages being actively submitted (messages that have both $Submitted and $SubmitPending keywords set) from messages awaiting to be submitted, or from messages already submitted. They also allow to find all messages that were supposed to be submitted, if the client submitting them crashes or quits before submitting them.

Lemonade Message Stores MUST be able to store the $SubmitPending and the $Submitted keyword. Lemonade Message Stores MUST preserve them on the COPY operation. The servers MUST support the SEARCH KEYWORD $SubmitPending and SEARCH KEYWORD $Submitted.



 TOC 

5.11.  Related IMAP extensions

This section is non-normative.

Server implementations targeting to fulfil OMA MEM requirements [OMA‑MEM‑REQ] (Open Mobile Alliance, “Mobile Email Requirements Document,” Oct 2005.) should consider implementing [IMAP‑FILTERS] (Melnikov, A. and C. King, “IMAP4 extension for named searches (filters),” September 2008.), which provides a way to persist definition of virtual mailboxes on the server. They should also consider implementing METADATA-SERVER (Daboo, C., “IMAP METADATA Extension,” July 2008.) [METADATA] extension, which provides a way of storing user-defined data associated with a user account.



 TOC 

6.  Lemonade Message Delivery Agents

Lemonade Message Delivery Agents MUST support the [SIEVE] (Guenther, P. and T. Showalter, “Sieve: An Email Filtering Language,” January 2008.) filtering language at the point of delivery, allowing the user to control which messages are accepted, and where they are filed.

Lemonade Message Delivery Agents MUST support the Sieve Vacation extension [SIEVE‑VACATION] (Showalter, T. and N. Freed, “Sieve Email Filtering: Vacation Extension,” January 2008.), which allows the client to setup an auto-responder, typically to report being on vacation (thus the name of the Sieve extension).

Lemonade Message Delivery Agents MUST support the Sieve Enotify extension [SIEVE‑NOTIFY] (Melnikov, A., Leiba, B., Segmuller, W., and T. Martin, “SIEVE Email Filtering: Extension for Notifications,” December 2007.), which allows a Sieve script to generate notifications (such as XMPP, SIP or email) about received messages.

Lemonade Message Delivery Agents MUST support the Sieve Variables extension [SIEVE‑VARIABLES] (Homme, K., “Sieve Email Filtering: Variables Extension,” January 2008.), which adds support for variables to the Sieve scripting language. This extension is typically used with Sieve Enotify or Vacation to customize responses/notifications.

Lemonade Message Delivery Agents MUST support the Sieve Relational extension [SIEVE‑RELATIONAL] (Segmuller, W. and B. Leiba, “Sieve Email Filtering: Relational Extension,” January 2008.), which adds support for relational comparisons to the Sieve scripting language. This extension is typically used together with Sieve Enotify.

Lemonade Message Delivery Agents MUST support the Sieve Imap4Flags extension [SIEVE‑IMAP4FLAGS] (Melnikov, A., “Sieve Email Filtering: Imap4flags Extension,” January 2008.), which allows a Sieve script to set IMAP flags/keywords when delivering a message to a mailbox. For example this can be used to automatically mark certain messages as interesting, urgent, etc.

Lemonade Message Delivery Agents MUST support the i;unicode-casemap comparator in Sieve [UNICODE‑CASEMAP] (Crispin, M., “i;unicode-casemap - Simple Unicode Collation Algorithm,” October 2007.). The comparator allows for case-insensitive matching of Unicode characters.

Lemonade Message Delivery Agents should consider supporting Sieve script management using the [MANAGESIEVE] (Melnikov, A. and T. Martin, “A Protocol for Remotely Managing Sieve Scripts,” September 2008.) protocol. If they do, they MUST also advertise in [MANAGESIEVE] (Melnikov, A. and T. Martin, “A Protocol for Remotely Managing Sieve Scripts,” September 2008.) all Sieve extensions listed in this section.



 TOC 

7.  Lemonade Mail User Agents

Although all existing IMAP MUAs are Lemonade compliant in as much as all Lemonade services are based on the existing [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) and [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) protocols, client implementors are encouraged to take full advantage of the facilities provided by Lemonade Submission Servers and Lemonade Message Stores, as described in Section 4 (Lemonade Submission Servers) and Section 5 (Lemonade Message Stores) respectively.

Note that the explicit usage of [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) means that when opening a connection to the submission server, clients MUST do so using port 587 unless explicitly configured to use an alternate port. If the TCP connection to the submission server fails to open using port 587, the client MAY then immediately retry using a different port, such as 25. See [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) information on why using port 25 is likely to fail depending on the current location of the client, and may result in a failure code during the SMTP transaction.

In addition, some specifications are useful to support interoperable messaging with an enhanced user experience.

Lemonade capable clients SHOULD support the Format and DelSp parameters to the text/plain media type described in [FLOWED] (Gellens, R., “The Text/Plain Format and DelSp Parameters,” February 2004.), and generate this format for messages.

Lemonade capable clients SHOULD support, and use, the $Forwarded keyword described in Section 5.9 (Registration of $Forwarded IMAP keyword).



 TOC 

8.  Forward without download



 TOC 

8.1.  Motivations

The advent of client/server email using the [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) and [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) protocols changed what formerly were local disk operations to become repetitive network data transmissions.

Lemonade "forward without download" makes use of the [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) extension to enable access to external sources during the submission of a message. In combination with the [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) extension, inclusion of message parts or even entire messages from the IMAP mail store is possible with a minimal trust relationship between the IMAP and SMTP SUBMIT servers.

Lemonade "forward without download" has the advantage of maintaining one submission protocol, and thus avoids the risk of having multiple parallel and possibly divergent mechanisms for submission. The client can use [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) extensions without these being added to IMAP. Furthermore, by keeping the details of message submission in the SMTP SUBMIT server, Lemonade "forward without download" can work with other message retrieval protocols such as POP, NNTP, or whatever else may be designed in the future.



 TOC 

8.2.  Message Sending Overview

The act of sending an email message can be thought of as involving multiple steps: initiation of a new draft, draft editing, message assembly, and message submission.

Initiation of a new draft and draft editing takes place in the MUA. Frequently, users choose to save more complex messages on an [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) server (via the APPEND command with the \Draft flag) for later recall by the MUA and resumption of the editing process.

Message assembly is the process of producing a complete message from the final revision of the draft and external sources. At assembly time, external data is retrieved and inserted in the message.

Message submission is the process of inserting the assembled message into the [ESMTP] (Klensin, J., “Simple Mail Transfer Protocol,” April 2001.) infrastructure, typically using the [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) protocol.



 TOC 

8.3.  Traditional Strategy

Traditionally, messages are initiated, edited, and assembled entirely within an MUA, although drafts may be saved to an [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) server and later retrieved from the server. The completed text is then transmitted to an MSA for delivery.

There is often no clear boundary between the editing and assembly process. If a message is forwarded, its content is often retrieved immediately and inserted into the message text. Similarly, when external content is inserted or attached, the content is usually retrieved immediately and made part of the draft.

As a consequence, each save of a draft and subsequent retrieve of the draft transmits that entire (possibly large) content, as does message submission.

In the past, this was not much of a problem, because drafts, external data, and the message submission mechanism were typically located on the same system as the MUA. The most common problem was running out of disk quota.



 TOC 

8.4.  Step by step description

The model distinguishes between a Messaging User Agent (MUA), an IMAPv4Rev1 Server ([IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.)) and a SMTP submit server ([SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.)), as illustrated in Figure 1.

      +--------------------+               +--------------+
      |                    | <------------ |              |
      |     MUA (M)        |               | IMAPv4Rev1   |
      |                    |               |  Server      |
      |                    | ------------> | (Server I)   |
      +--------------------+               +--------------+
             ^    |                              ^     |
             |    |                              |     |
             |    |                              |     |
             |    |                              |     |
             |    |                              |     |
             |    |                              |     |
             |    |                              |     v
             |    |                        +--------------+
             |    |----------------------> |   SMTP       |
             |                             |   Submit     |
             |-----------------------------|   Server     |
                                           |  (Server S)  |
                                           +--------------+

Figure 1: Lemonade "forward without download"

Lemonade "forward without download" allows a Messaging User Agent to compose and forward an e-mail combining fragments that are located in an IMAP server, without having to download these fragments to the client.

There are two ways to perform "forward without download" based on where the message assembly takes place. The first uses extended APPEND command [IMAP‑CATENATE] (Resnick, P., “Internet Message Access Protocol (IMAP) CATENATE Extension,” April 2006.) to edit a draft message in the message store and cause the message assembly on the IMAP server. This is most often used when a copy of the message is to be retained on the IMAP server, as discussed in Section 8.6 (Copies of Sent messages: The fcc problem).

The second uses a succession of BURL and BDAT commands to submit and assemble through concatenation, message data from the client and external data fetched from the provided URL. The two subsequent sections provide step-by-step instructions on how "forward without download" is achieved.



 TOC 

8.4.1.  Message assembly using IMAP CATENATE extension

In the [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.)/[IMAP‑CATENATE] (Resnick, P., “Internet Message Access Protocol (IMAP) CATENATE Extension,” April 2006.) variant of the Lemonade "forward without download" strategy, messages are initially composed and edited within an MUA. The [IMAP‑CATENATE] (Resnick, P., “Internet Message Access Protocol (IMAP) CATENATE Extension,” April 2006.) extension to [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) is then used to create the messages on the IMAP server by transmitting new text and assembling them. The UIDPLUS [IMAP‑UIDPLUS] (Crispin, M., “Internet Message Access Protocol (IMAP) - UIDPLUS extension,” December 2005.) IMAP extension is used by the client in order to learn the UID of the created messages. Finally a [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) format URL is given to a [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) server for submission using the BURL [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) extension.

The flow involved to support such a use case consists of:

M: {to I -- Optional} The client connects to the IMAP server, optionally starts TLS (if data confidentiality is required), authenticates, opens a mailbox ("INBOX" in the example below) and fetches body structures (See [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.)).

Example:

         M: A0051 UID FETCH 25627 (UID BODYSTRUCTURE)
         I: * 161 FETCH (UID 25627 BODYSTRUCTURE (("TEXT" "PLAIN"
             ("CHARSET" "US-ASCII") NIL NIL "7BIT" 1152 23)(
             "TEXT" "PLAIN" ("CHARSET" "US-ASCII" "NAME"
             "trip.txt")
             "<960723163407.20117h@washington.example.com>"
             "Your trip details" "BASE64" 4554 73) "MIXED"))
         I: A0051 OK completed

M: {to I} The client invokes CATENATE (See [IMAP‑CATENATE] (Resnick, P., “Internet Message Access Protocol (IMAP) CATENATE Extension,” April 2006.) for details of the semantics and steps) -- this allows the MUA to create messages on the IMAP server using new data combined with one or more message parts already present on the IMAP server.

Note that the example for this step doesn't use the LITERAL+ [IMAP‑LITERAL+] (Myers, J., “IMAP4 non-synchronizing literals,” January 1997.) extension. Without LITERAL+ the new message is constructed using 3 round-trips. If LITERAL+ is used, the new message can be constructed using one round-trip.

      M: A0052 APPEND Sent FLAGS (\Draft \Seen $MDNSent)
          CATENATE (TEXT {475}
      I: + Ready for literal data
      M: Message-ID: <419399E1.6000505@caernarfon.example.org>
      M: Date: Thu, 12 Nov 2004 16:57:05 +0000
      M: From: Bob Ar <bar@example.org>
      M: MIME-Version: 1.0
      M: To: foo@example.net
      M: Subject: About our holiday trip
      M: Content-Type: multipart/mixed;
      M:     boundary="------------030308070208000400050907"
      M:
      M: --------------030308070208000400050907
      M: Content-Type: text/plain; format=flowed
      M:
      M: Our travel agent has sent the updated schedule.
      M:
      M: Cheers,
      M: Bob
      M: --------------030308070208000400050907
      M:  URL "/INBOX;UIDVALIDITY=385759045/;
         UID=25627/;Section=2.MIME" URL "/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2" TEXT {44}
      I: + Ready for literal data
      M:
      M: --------------030308070208000400050907--
      M: )
      I: A0052 OK [APPENDUID 387899045 45] CATENATE Completed

M: {to I} The client uses GENURLAUTH command to request a URLAUTH URL (See [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.)).
I: {to M} The IMAP server returns a URLAUTH URL suitable for later retrieval with URLFETCH (See [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) for details of the semantics and steps).

      M: A0054 GENURLAUTH "imap://bob.ar@example.org/Sent;
         UIDVALIDITY=387899045/;uid=45;expire=2005-10-
         28T23:59:59Z;urlauth=submit+bob.ar" INTERNAL
      I: * GENURLAUTH "imap://bob.ar@example.org/Sent;
         UIDVALIDITY=387899045/;uid=45;expire=
         2005-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:91354a473744909de610943775f92038"
      I: A0054 OK GENURLAUTH completed

M: {to S} The client connects to the mail submission server and starts a new mail transaction. It uses BURL to let the SMTP submit server fetch the content of the message from the IMAP server (See [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) for details of the semantics and steps -- this allows the MUA to authorize the SMTP submit server to access the message composed as a result of the CATENATE step). Note that the second EHLO command is required after a successful STARTTLS command. Also note that there might be a third required EHLO command if the second EHLO response doesn't list any BURL options. Section 8.4.2 (Message assembly using SMTP CHUNKING and BURL extensions) demonstrates this.

      S: 220 owlry.example.org ESMTP
      M: EHLO potter.example.org
      S: 250-owlry.example.com
      S: 250-8BITMIME
      S: 250-BINARYMIME
      S: 250-PIPELINING
      S: 250-BURL imap
      S: 250-CHUNKING
      S: 250-AUTH PLAIN
      S: 250-DSN
      S: 250-SIZE 10240000
      S: 250-STARTTLS
      S: 250 ENHANCEDSTATUSCODES
      M: STARTTLS
      S: 220 Ready to start TLS
      ...TLS negotiation, subsequent data is encrypted...
      M: EHLO potter.example.org
      S: 250-owlry.example.com
      S: 250-8BITMIME
      S: 250-BINARYMIME
      S: 250-PIPELINING
      S: 250-BURL imap
      S: 250-CHUNKING
      S: 250-AUTH PLAIN
      S: 250-DSN
      S: 250-SIZE 10240000
      S: 250 ENHANCEDSTATUSCODES
      M: AUTH PLAIN aGFycnkAaGFycnkAYWNjaW8=
      S: 235 2.7.0 PLAIN authentication successful.
      M: MAIL FROM:<bob.ar@example.org>
      S: 250 2.5.0 Address Ok.
      M: RCPT TO:<foo@example.net>
      S: 250 2.1.5 foo@example.net OK.
      M: BURL imap://bob.ar@example.org/Sent;UIDVALIDITY=387899045/;
         uid=45/;urlauth=submit+bar:internal:
         91354a473744909de610943775f92038 LAST

S: {to I} The mail submission server uses URLFETCH to fetch the message to be sent (See [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) for details of the semantics and steps. The so-called "pawn-ticket" authorization mechanism uses a URI which contains its own authorization credentials.).
I: {to S} Provides the message composed as a result of the CATENATE step).

Mail submission server opens IMAP connection to the IMAP server:

      I: * OK [CAPABILITY IMAP4REV1 STARTTLS NAMESPACE LITERAL+
          CATENATE URLAUTH UIDPLUS CONDSTORE IDLE] imap.example.com
          IMAP server ready
      S: a000 STARTTLS
      I: a000 Start TLS negotiation now
      ...TLS negotiation, if successful - subsequent data
         is encrypted...
      S: a001 LOGIN submitserver secret
      I: a001 OK submitserver logged in
      S: a002 URLFETCH "imap://bob.ar@example.org/Sent;
         UIDVALIDITY=387899045/;uid=45/;urlauth=submit+bob.ar:
         internal:91354a473744909de610943775f92038"
      I: * URLFETCH "imap://bob.ar@example.org/Sent;
         UIDVALIDITY=387899045/;uid=45/;urlauth=submit+bob.ar:
         internal:91354a473744909de610943775f92038" {15065}
      ...message body follows...
      S: a002 OK URLFETCH completed
      I: a003 LOGOUT
      S: * BYE See you later
      S: a003 OK Logout successful

Note that if the IMAP server doesn't send CAPABILITY response code in the greeting, the mail submission server must issue the CAPABILITY command to learn about supported IMAP extensions as described in [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.).

Also, if data confidentiality is not required the mail submission server may omit the STARTTLS command before issuing the LOGIN command.

S: {to M} Submission server assembles the complete message and if the assembly succeeds it returns OK to the MUA:

      S: 250 2.5.0 Ok.

M: {to I} The client marks the message containing the forwarded attachment on the IMAP server.

      M: A0053 UID STORE 25627 +FLAGS.SILENT ($Forwarded)
      I: * 215 FETCH (UID 25627 MODSEQ (12121231000))
      I: A0053 OK STORE completed

Note: the UID STORE command shown above will only work if the marked message is in the currently selected mailbox; otherwise, it requires a SELECT. This command can be omitted, as it simply changes non-operational metadata not essential to client operations or interoperability. The untagged FETCH response is due to [IMAP‑CONDSTORE] (Melnikov, A. and S. Hole, “IMAP Extension for Conditional STORE Operation or Quick Flag Changes Resynchronization,” June 2006.). The $Forwarded IMAP keyword is described in Section 5.9 (Registration of $Forwarded IMAP keyword).



 TOC 

8.4.2.  Message assembly using SMTP CHUNKING and BURL extensions

In the [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.)/[SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) variant of the Lemonade "forward without download" strategy, messages are initially composed and edited within an MUA. During submission [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.), BURL [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) and BDAT [SMTP‑BINARYMIME] (Vaudreuil, G., “SMTP Service Extensions for Transmission of Large and Binary MIME Messages,” December 2000.) commands are used to create the messages from multiple parts. New body parts are supplied using BDAT commands, while existing body parts are referenced using [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) format URLs in BURL commands.

The flow involved to support such a use case consists of:
M: {to I -- Optional} The client connects to the IMAP server, optionally starts TLS (if data confidentiality is required), authenticates, opens a mailbox ("INBOX" in the example below) and fetches body structures (See [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.)).

Example:

         M: A0051 UID FETCH 25627 (UID BODYSTRUCTURE)
         I: * 161 FETCH (UID 25627 BODYSTRUCTURE (("TEXT" "PLAIN"
            ("CHARSET" "US-ASCII") NIL NIL "7BIT" 1152 23)(
            "TEXT" "PLAIN" ("CHARSET" "US-ASCII" "NAME"
            "trip.txt")
            "<960723163407.20117h@washington.example.com>"
            "Your trip details" "BASE64" 4554 73) "MIXED"))
         I: A0051 OK completed

M: {to I} The client uses GENURLAUTH command to request URLAUTH URLs (See [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.)) referencing pieces of the message to be assembled.
I: {to M} The IMAP server returns URLAUTH URLs suitable for later retrieval with URLFETCH (See [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) for details of the semantics and steps).

      M: A0054 GENURLAUTH "imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2.MIME;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar"
         INTERNAL "imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar" INTERNAL
      I: * GENURLAUTH "imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2.MIME;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:A0DEAD473744909de610943775f9BEEF"
         "imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:BEEFA0DEAD473744909de610943775f9"
      I: A0054 OK GENURLAUTH completed

M: {to S} The client connects to the mail submission server and starts a new mail transaction. It uses BURL to instruct the SMTP submit server to fetch from the IMAP server pieces of the message to be sent (See [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) for details of the semantics and steps).

Note that the second EHLO command is required after a successful STARTTLS command. The third EHLO command is required if and only if the second EHLO response doesn't list any BURL options. See Section 8.4.1 (Message assembly using IMAP CATENATE extension) for an example of submission where the third EHLO command/response is not present.

      S: 220 owlry.example.org ESMTP
      M: EHLO potter.example.org
      S: 250-owlry.example.com
      S: 250-8BITMIME
      S: 250-BINARYMIME
      S: 250-PIPELINING
      S: 250-BURL
      S: 250-CHUNKING
      S: 250-AUTH DIGEST-MD5
      S: 250-DSN
      S: 250-SIZE 10240000
      S: 250-STARTTLS
      S: 250 ENHANCEDSTATUSCODES
      M: STARTTLS
      S: 220 Ready to start TLS
      ...TLS negotiation, subsequent data is encrypted...
      M: EHLO potter.example.org
      S: 250-owlry.example.com
      S: 250-8BITMIME
      S: 250-BINARYMIME
      S: 250-PIPELINING
      S: 250-BURL
      S: 250-CHUNKING
      S: 250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN EXTERNAL
      S: 250-DSN
      S: 250-SIZE 10240000
      S: 250 ENHANCEDSTATUSCODES
      M: AUTH PLAIN aGFycnkAaGFycnkAYWNjaW8=
      S: 235 2.7.0 PLAIN authentication successful.
      M: EHLO potter.example.org
      S: 250-owlry.example.com
      S: 250-8BITMIME
      S: 250-BINARYMIME
      S: 250-PIPELINING
      S: 250-BURL imap imap://imap.example.org
      S: 250-CHUNKING
      S: 250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN EXTERNAL
      S: 250-DSN
      S: 250-SIZE 10240000
      S: 250 ENHANCEDSTATUSCODES
      M: MAIL FROM:<bob.ar@example.org> BODY=BINARY
      S: 250 2.5.0 Address Ok.
      M: RCPT TO:<foo@example.net>
      S: 250 2.1.5 foo@example.net OK.
      M: BDAT 475
      M: Message-ID: <419399E1.6000505@caernarfon.example.org>
      M: Date: Thu, 12 Nov 2004 16:57:05 +0000
      M: From: Bob Ar <bar@example.org>
      M: MIME-Version: 1.0
      M: To: foo@example.net
      M: Subject: About our holiday trip
      M: Content-Type: multipart/mixed;
      M:     boundary="------------030308070208000400050907"
      M:
      M: --------------030308070208000400050907
      M: Content-Type: text/plain; format=flowed
      M:
      M: Our travel agent has sent the updated schedule.
      M:
      M: Cheers,
      M: Bob
      M: --------------030308070208000400050907
      S: 250 2.5.0 OK
      M: BURL imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2.MIME;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:A0DEAD473744909de610943775f9BEEF
      S: 250 2.5.0 OK
      M: BURL imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:BEEFA0DEAD473744909de610943775f9
      S: 250 2.5.0 OK
      M: BDAT 44 LAST
      M:
      M: --------------030308070208000400050907--

S: {to I} The mail submission server uses URLFETCH to fetch the pieces of the message to be sent (See [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) for details of the semantics and steps. The so-called "pawn-ticket" authorization mechanism uses a URI which contains its own authorization credentials.).
I: {to S} Returns the requested body parts.

Mail submission server opens IMAP connection to the IMAP server:

      I: * OK [CAPABILITY IMAP4REV1 STARTTLS NAMESPACE LITERAL+
          CATENATE URLAUTH UIDPLUS CONDSTORE IDLE] imap.example.com
          IMAP server ready
      S: a001 LOGIN submitserver secret
      I: a001 OK submitserver logged in
      S: a002 URLFETCH "imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2.MIME;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:A0DEAD473744909de610943775f9BEEF" "imap://
         bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:BEEFA0DEAD473744909de610943775f9"
      I: * URLFETCH "imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2.MIME;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:A0DEAD473744909de610943775f9BEEF" {84}
      ...message section follows...
          "imap://bob.ar@example.org/INBOX;
         UIDVALIDITY=385759045/;UID=25627/;Section=2;
         expire=2006-10-28T23:59:59Z;urlauth=submit+bob.ar:
         internal:BEEFA0DEAD473744909de610943775f9" {15065}
      ...message section follows...
      S: a002 OK URLFETCH completed
      I: a003 LOGOUT
      S: * BYE See you later
      S: a003 OK Logout successful

Note that if the IMAP server doesn't send CAPABILITY response code in the greeting, the mail submission server must issue the CAPABILITY command to learn about supported IMAP extensions as described in [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.).

Also, if data confidentiality is required the mail submission server should start TLS before issuing the LOGIN command.

S: {to M} Submission server assembles the complete message and if the assembly succeeds it acknowledges acceptance of the message by sending 250 response to the last BDAT command:

      S: 250 2.5.0 Ok, message accepted.

M: {to I} The client marks the message containing the forwarded attachment on the IMAP server.

      M: A0053 UID STORE 25627 +FLAGS.SILENT ($Forwarded)
      I: * 215 FETCH (UID 25627 MODSEQ (12121231000))
      I: A0053 OK STORE completed

Note: the UID STORE command shown above will only work if the marked message is in the currently selected mailbox; otherwise, it requires a SELECT. As in the previous example, this command is not critical, and can be omitted. The untagged FETCH response is due to [IMAP‑CONDSTORE] (Melnikov, A. and S. Hole, “IMAP Extension for Conditional STORE Operation or Quick Flag Changes Resynchronization,” June 2006.). The $Forwarded IMAP keyword is described in Section 5.9 (Registration of $Forwarded IMAP keyword).



 TOC 

8.5.  Security Considerations for pawn-tickets.

The so-called "pawn-ticket" authorization mechanism uses a URI, which contains its own authorization credentials using [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.). The advantage of this mechanism is that the SMTP submit [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) server cannot access any data on the [IMAP‑URLAUTH] (Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” May 2006.) server without a "pawn- ticket" created by the client.

The "pawn-ticket" grants access only to the specific data that the SMTP submit [SUBMIT] (Gellens, R. and J. Klensin, “Message Submission for Mail,” April 2006.) server is authorized to access, can be revoked by the client, and can have a time-limited validity.



 TOC 

8.6.  Copies of Sent messages: The fcc problem

The "fcc problem" refers to delivering a copy of a message to a mailbox, or "file carbon copy". By far, the most common case of fcc is a client leaving a copy of outgoing mail in a "Sent Mail" or "Outbox" mailbox.

In the traditional strategy, the MUA duplicates the effort spent in transmitting to the MSA by writing the message to the fcc destination in a separate step. This may be a write to a local disk file or an APPEND to a mailbox on an IMAP server. The latter is one of the "repetitive network data transmissions" which represents the "problem" aspect of the "fcc problem".

The BURL [SMTP‑BURL] (Newman, C., “Message Submission BURL Extension,” May 2006.) extension can be used to eliminate the additional transmission. The final message is uploaded to the mailbox designed for outgoing mail, by the APPEND command of [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.). Note that APPEND, including when enhanced by [IMAP‑CATENATE] (Resnick, P., “Internet Message Access Protocol (IMAP) CATENATE Extension,” April 2006.), can only create a single copy of the message and this is only of use on the server which stages the outgoing message for submission. Additional copies of the message on the same server can be created by using one or more COPY commands.



 TOC 

9.  Deployment Considerations

Deployment considerations are discussed extensively in [LEMONADE‑DEPLOYMENTS] (Gellens, R., “Deployment Considerations for lemonade-compliant Mobile Email,” June 2007.).



 TOC 

10.  Security Considerations

Implementors are advised to examine the Security Considerations of all the referenced documents. This section merely highlights these, and advises implementors on specific issues relating to the combination of extensions.

Security considerations on Lemonade "forward without download" are discussed throughout Section 8 (Forward without download). Additional security considerations can be found in [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.) and other documents describing other SMTP and IMAP extensions comprising the Lemonade Profile.

Note that the mandatory-to-implement authentication mechanism for SMTP submission is described in [SMTP‑AUTH] (Siemborski, R. and A. Melnikov, “SMTP Service Extension for Authentication,” July 2007.). The mandatory-to-implement authentication mechanism for IMAP is described in [IMAP] (Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” March 2003.).



 TOC 

10.1.  Confidentiality Protection of Submitted Messages

When clients submit new messages, link protection such as TLS guards against an eavesdropper seeing the contents of the submitted message. It is worth noting, however, that even if TLS is not used, the security risks are no worse if BURL is used to reference the text than if the text is submitted directly. If BURL is not used, an eavesdropper gains access to the full text of the message. If BURL is used, the eavesdropper may or may not be able to gain such access, depending on the form of BURL used. For example, some forms restrict use of the URL to an entity authorized as a submission server or a specific user.



 TOC 

10.2.  TLS

When Lemonade clients use the BURL extension to mail submission, an extension that requires sending a URLAUTH token to the mail submission server, such a token should be protected from interception to avoid a replay attack that may disclose the contents of the message to an attacker. TLS based encryption of the mail submission path will provide protection against this attack.

Lemonade clients SHOULD use TLS-protected IMAP and mail submission channels when using BURL-based message submission to protect the URLAUTH token from interception.

Lemonade compliant mail submission servers SHOULD use TLS-protected IMAP connections when fetching message content using the URLAUTH token provided by the Lemonade client.

When a client uses SMTP STARTTLS to send a BURL command which references non-public information, there is a user expectation that the entire message content will be treated confidentially. To meet this expectation, the message submission server should use STARTTLS or a mechanism providing equivalent data confidentiality when fetching the content referenced by that URL.



 TOC 

10.3.  Additional extensions and deployment models

This specification provides no additional security measures beyond those in the referenced Internet Mail and Lemonade documents.

We note however the security risks associated to:



 TOC 

11.  IANA considerations

IMAP4 capabilities are registered by publishing a standards track or IESG approved experimental RFC. The registry is currently located at <http://www.iana.org/assignments/imap4-capabilities>. This document defines the URL-PARTIAL IMAP capability Section 5.7.1 (Support for PARTIAL in CATENATE and URLAUTH). IANA is requested to add this extension to the IANA IMAP Capability registry.



 TOC 

12.  Version history



 TOC 

13.  Acknowledgements

The editors acknowledge and appreciate the work and comments of the IETF Lemonade working group and the OMA MEM working group.

In particular, the editors would like to thank Eric Burger, Randall Gellens, Filip Navara, Zoltan Ordogh, Greg Vaudreuil, and Fan Xiaohui for their comments and reviews.



 TOC 

14.  References



 TOC 

14.1. Normative References

[FLOWED] Gellens, R., “The Text/Plain Format and DelSp Parameters,” RFC 3676, February 2004 (TXT).
[IMAP] Crispin, M., “INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1,” RFC 3501, March 2003 (TXT).
[IMAP-BINARY] Nerenberg, L., “IMAP4 Binary Content Extension,” RFC 3516, April 2003 (TXT).
[IMAP-CATENATE] Resnick, P., “Internet Message Access Protocol (IMAP) CATENATE Extension,” RFC 4469, April 2006 (TXT, HTML, XML).
[IMAP-COMPRESS] Gulbrandsen, A., “The IMAP COMPRESS Extension,” RFC 4978, August 2007 (TXT).
[IMAP-CONDSTORE] Melnikov, A. and S. Hole, “IMAP Extension for Conditional STORE Operation or Quick Flag Changes Resynchronization,” RFC 4551, June 2006 (TXT).
[IMAP-CONTEXT] Cridland, D. and C. King, “Contexts for IMAP4,” RFC 5267, July 2008 (TXT).
[IMAP-CONVERT] Melnikov, A. and P. Coates, “Internet Message Access Protocol - CONVERT Extension,” RFC 5259, July 2008 (TXT).
[IMAP-ENABLE] Gulbrandsen, A. and A. Melnikov, “The IMAP ENABLE Extension,” RFC 5161, March 2008 (TXT).
[IMAP-ESEARCH] Melnikov, A. and D. Cridland, “IMAP4 Extension to SEARCH Command for Controlling What Kind of Information Is Returned,” RFC 4731, November 2006 (TXT).
[IMAP-I18N] Newman, C., Gulbrandsen, A., and A. Melnikov, “Internet Message Access Protocol Internationalization,” RFC 5255, June 2008 (TXT).
[IMAP-IDLE] Leiba, B., “IMAP4 IDLE command,” RFC 2177, June 1997 (TXT, HTML, XML).
[IMAP-LITERAL+] Myers, J., “IMAP4 non-synchronizing literals,” RFC 2088, January 1997 (TXT).
[IMAP-NAMESPACE] Gahrns, M. and C. Newman, “IMAP4 Namespace,” RFC 2342, May 1998 (TXT, XML).
[IMAP-NOTIFY] Gulbrandsen, A., Melnikov, A., and C. King, “The IMAP NOTIFY Extension,” draft-ietf-lemonade-imap-notify-07 (work in progress), August 2008 (TXT).
[IMAP-QRESYNC] Melnikov, A., Cridland, D., and C. Wilson, “IMAP4 Extensions for Quick Mailbox Resynchronization,” RFC 5162, March 2008 (TXT).
[IMAP-SASL-IR] Siemborski, R. and A. Gulbrandsen, “IMAP Extension for Simple Authentication and Security Layer (SASL) Initial Client Response,” RFC 4959, September 2007 (TXT).
[IMAP-SORT] Crispin, M. and K. Murchison, “Internet Message Access Protocol - SORT and THREAD Extensions,” RFC 5256, June 2008 (TXT).
[IMAP-UIDPLUS] Crispin, M., “Internet Message Access Protocol (IMAP) - UIDPLUS extension,” RFC 4315, December 2005 (TXT).
[IMAP-URL] Melnikov, A. and C. Newman, “IMAP URL Scheme,” RFC 5092, November 2007 (TXT).
[IMAP-URLAUTH] Crispin, M., “Internet Message Access Protocol (IMAP) - URLAUTH Extension,” RFC 4467, May 2006 (TXT).
[KEYWORDS] Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML).
[SIEVE] Guenther, P. and T. Showalter, “Sieve: An Email Filtering Language,” RFC 5228, January 2008 (TXT).
[SIEVE-IMAP4FLAGS] Melnikov, A., “Sieve Email Filtering: Imap4flags Extension,” RFC 5232, January 2008 (TXT).
[SIEVE-NOTIFY] Melnikov, A., Leiba, B., Segmuller, W., and T. Martin, “SIEVE Email Filtering: Extension for Notifications,” draft-ietf-sieve-notify-12 (work in progress), December 2007 (TXT).
[SIEVE-RELATIONAL] Segmuller, W. and B. Leiba, “Sieve Email Filtering: Relational Extension,” RFC 5231, January 2008 (TXT).
[SIEVE-VACATION] Showalter, T. and N. Freed, “Sieve Email Filtering: Vacation Extension,” RFC 5230, January 2008 (TXT).
[SIEVE-VARIABLES] Homme, K., “Sieve Email Filtering: Variables Extension,” RFC 5229, January 2008 (TXT).
[SMTP-8BITMIME] Klensin, J., Freed, N., Rose, M., Stefferud, E., and D. Crocker, “SMTP Service Extension for 8bit-MIMEtransport,” RFC 1652, July 1994 (TXT).
[SMTP-AUTH] Siemborski, R. and A. Melnikov, “SMTP Service Extension for Authentication,” RFC 4954, July 2007 (TXT).
[SMTP-BINARYMIME] Vaudreuil, G., “SMTP Service Extensions for Transmission of Large and Binary MIME Messages,” RFC 3030, December 2000 (TXT).
[SMTP-BURL] Newman, C., “Message Submission BURL Extension,” RFC 4468, May 2006 (TXT).
[SMTP-DSN] Moore, K., “Simple Mail Transfer Protocol (SMTP) Service Extension for Delivery Status Notifications (DSNs),” RFC 3461, January 2003 (TXT).
[SMTP-PIPELINING] Freed, N., “SMTP Service Extension for Command Pipelining,” STD 60, RFC 2920, September 2000 (TXT).
[SMTP-SIZE] Klensin, J., Freed, N., and K. Moore, “SMTP Service Extension for Message Size Declaration,” STD 10, RFC 1870, November 1995 (TXT).
[SMTP-STATUSCODES] Freed, N., “SMTP Service Extension for Returning Enhanced Error Codes,” RFC 2034, October 1996 (TXT, HTML, XML).
[SMTP-TLS] Hoffman, P., “SMTP Service Extension for Secure SMTP over Transport Layer Security,” RFC 3207, February 2002 (TXT).
[SUBMIT] Gellens, R. and J. Klensin, “Message Submission for Mail,” RFC 4409, April 2006 (TXT).
[TLS-COMP] Hollenbeck, S., “Transport Layer Security Protocol Compression Methods,” RFC 3749, May 2004 (TXT).
[UNICODE-CASEMAP] Crispin, M., “i;unicode-casemap - Simple Unicode Collation Algorithm,” RFC 5051, October 2007 (TXT).


 TOC 

14.2. Informative References

[ESMTP] Klensin, J., “Simple Mail Transfer Protocol,” RFC 2821, April 2001 (TXT).
[FINGER-HACK] Gellens, R., “Simple New Mail Notification,” RFC 4146, August 2005 (TXT).
[IMAP-FILTERS] Melnikov, A. and C. King, “IMAP4 extension for named searches (filters),” draft-melnikov-imapext-filters-06 (work in progress), September 2008 (TXT).
[IMAP-SYNC-HOWTO] Melnikov, A., “Synchronization Operations for Disconnected IMAP4 Clients,” RFC 4549, June 2006 (TXT).
[LEMONADE-DEPLOYMENTS] Gellens, R., “Deployment Considerations for lemonade-compliant Mobile Email,” draft-ietf-lemonade-deployments-09 (work in progress), June 2007 (TXT).
[MANAGESIEVE] Melnikov, A. and T. Martin, “A Protocol for Remotely Managing Sieve Scripts,” draft-martin-managesieve-12 (work in progress), September 2008 (TXT).
[METADATA] Daboo, C., “IMAP METADATA Extension,” draft-daboo-imap-annotatemore-14 (work in progress), July 2008 (TXT).
[OMA-EMN] Open Mobile Alliance, “Open Mobile Alliance Email Notification Version 1.0,” OMA http://www.openmobilealliance.org/tech/docs/EmailNot/OMA-Push-EMN-V1_0-20020830-C.pdf, August 2002.
[OMA-MEM-ARCH] Open Mobile Alliance, “Mobile Email Architecture Document,” OMA (Work in Progress), http://www.openmobilealliance.org/, October 2005.
[OMA-MEM-REQ] Open Mobile Alliance, “Mobile Email Requirements Document,” OMA http://www.openmobilealliance.org/release_program/docs/RD/OMA-RD-MobileEmail-V1_0_20051018-C.pdf, Oct 2005.


 TOC 

Authors' Addresses

  Dave Cridland (editor)
  Isode Limited
  5 Castle Business Village
  36 Station Road
  Hampton, Middlesex TW12 2BX
  UK
Email:  dave.cridland@isode.com
  
  Alexey Melnikov (editor)
  Isode Limited
  5 Castle Business Village
  36 Station Road
  Hampton, Middlesex TW12 2BX
  UK
Email:  Alexey.Melnikov@isode.com
  
  Stephane H. Maes (editor)
  Oracle
  MS 4op634, 500 Oracle Parkway
  Redwood Shores, CA 94539
  USA
Phone:  +1-203-300-7786
Email:  stephane.maes@oracle.com


 TOC 

Full Copyright Statement

Intellectual Property