<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="../../rfc2629.xslt"?><!DOCTYPE rfc SYSTEM 'rfc2629.dtd' [<!ENTITY rfc2119 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml'><!ENTITY rfc3864 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3864.xml'><!ENTITY rfc5228 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5228.xml'><!ENTITY rfc5234 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5234.xml'><!ENTITY rfc5322 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5322.xml'><!ENTITY rfc5545 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5545.xml'><!ENTITY rfc5546 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5546.xml'><!ENTITY rfc6047 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6047.xml'><!ENTITY rfc6376 PUBLIC '' 'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6376.xml'>]> <?rfc toc="yes"?><?rfc comments="yes"?><?rfc inline="yes"?><?rfc symrefs="yes"?><?rfc sortrefs="yes"?><?rfc compact="yes"?><?rfc subcompact="no"?><?rfc tocdepth="2"?><?rfc strict="yes"?><rfc category="std" ipr='trust200902' docName='draft-daboo-imip-headers-00'>    <front>        <title abbrev="iMIP Email Header">An Email Header for Improved iMIP Interoperability</title>        <author initials="C." surname="Daboo" fullname="Cyrus Daboo">            <organization abbrev="Apple">                Apple Inc.            </organization>            <address>                <postal>                    <street>                        1 Infinite Loop                    </street>                    <city>                        Cupertino                    </city>                    <region>                        CA                    </region>                    <code> 95014 </code>                    <country>                        USA                    </country>                </postal>                <email>                    cyrus@daboo.name                </email>                <uri>                    http://www.apple.com/                </uri>            </address>        </author>        <date />        <area>Applications</area>        <keyword>calendaring</keyword>        <keyword>iCalendar</keyword>        <keyword>iMIP</keyword>        <keyword>EMail</keyword>        <abstract>            <t>                This document defines a new email message header to improve interoperability when the iCalendar Message-Based Interoperability Protocol (iMIP) is being used to send scheduling messages.            </t>        </abstract>    </front>    <middle>        <section title='Introduction'>            <t>                The <xref target="RFC5545">iCalendar</xref> specification defines a standard way to describe calendar data. The <xref target="RFC5546">iTIP</xref> specification defines a transport independent messaging protocol for scheduling messages based on iCalendar. The <xref target="RFC6047">iMIP</xref> specification defines how the iTIP protocol can be used over an <xref target="RFC5322">email</xref> transport by "attaching" iCalendar parts to an email message.            </t>            <t>              Whilst iMIP has been in use for quite some time, there continue to be problems with interoperability between different implementations. In particular, many implementations are sensitive to the exact "structure" of the email message parts. Some clients expect specific headers to be present, or to have specific values (e.g., a "Content-Disposition" header with a value "attachment"). What this means is that an iMIP message sent from one client to another often goes unrecognized as an iMIP message, and the calendar data is never processed as a scheduling message. In some cases, clients generate multiple iCalendar attachments, with different "Content-Type" header values in order to have a greater chance of their message being processed correctly.            </t>            <t>              This specification addresses these problems by introducing a new email message header that can be used by clients to clearly identify that an email message is in fact an iMIP message, as well as clearly identify which part within the email message corresponds to the iCalendar data to be processed as an iMIP message.            </t>        </section>        <section title='Conventions Used in This Document'>            <t>                The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in <xref target='RFC2119' />.            </t>        </section>        <section title="iMIP-Content-ID Email Message Header">            <t>              When a client generates an iMIP email message it includes an "iMIP-Content-ID" header field in the MIME part corresponding to the iCalendar data used for scheduling. There MUST be only one iCalendar part with that header present. The client then includes an "iMIP-Content-ID" header in the top-level email message headers, setting the value of that header to the value used for the "iMIP-Content-ID" header associated with the iCalendar data part.            </t>            <t>              A mail user agent that is capable of processing iMIP messages can do the following:              <list style="numbers">                <t>If a top-level "iMIP-Content-ID" message header is present, the mail user agent can parse the message body and extract the iCalendar data in the message sub-part with the matching "iMIP-Content-ID" header value. This can then be handed off to the appropriate calendar user agent for processing as an iTIP message. If an "iMIP-Content-ID" header is present at the top-level of the message, but no matching iCalendar data is found, then the email message MUST be processed as if the "iMIP-Content-ID" header were not present.</t>                <t>If an "iMIP-Content-ID" header is not present at the top-level of the message, then the client SHOULD look for the presence of that header in a message sub-part and apply the following rules:                  <list style="letters">                    <t>If a single "iMIP-Content-ID" is present in a sub-part of the message and the associated part is a valid iCalendar iMIP message, then the iCalendar data can be handed off to the appropriate calendar user agent for processing as an iTIP message.</t>                    <t>In all other cases (including multiple "iMIP-Content-ID" headers present in different sub-parts), the email message MUST be processed as if the "iMIP-Content-ID" header were not present.                    </t>                  </list>                </t>              </list>            </t>            <t>              The key benefit of this approach is that it allows mail user agents (and automated email processing/filtering systems like <xref target="RFC5228">SIEVE</xref>) to quickly and clearly identify incoming iMIP messages, without the need to do an in-depth examination of the MIME structure of the message to look for suitable iCalendar attachments. In addition, the presence of this header will not impact current processing of iMIP messages and thus provides a backwards compatible, incremental upgrade to a more reliable mechanism.            </t>            <section title="Formal Definition">            <t>              The "iMIP-Content-ID" header field is specified as follows using <xref target="RFC5234">Augmented Backus-Naur Form</xref>, with additional terms from <xref target="RFC5322"/>:      <figure><artwork><![CDATA[imip-content-id = "iMIP-Content-ID:" msg-id]]></artwork></figure>            </t>            </section>        </section>        <section title='Security Considerations'>            <t>              Email message security typically does not cover top-level message headers in signed or encrypted email data. It is therefore possible for an attacker to add, modify or remove an "iMIP-Content-ID" header in the top-level message headers. Such an attack can be mitigated by using a technology such as <xref target="RFC6376">DomainKeys Identified Mail (DKIM)</xref>, and it is RECOMMENDED that the "iMIP-Content-ID" header be included as one of the signed header fields.            </t>        </section>        <section title='IANA Considerations'>            <t>The IANA is asked to register the new header field, using the   template as follows, in accordance with <xref target='RFC3864'/>.              <list style='hanging'>                <t hangText='Header field name:'>iMIP-Content-ID</t>                <t hangText='Applicable protocol:'>mail</t>                <t hangText='Status:'>standard</t>                <t hangText='Author/Change controller:'>IETF</t>                <t hangText='Specification document(s):'>This document</t>                <t hangText='Related information:'><xref target='RFC6047'>iMIP</xref></t>              </list>            </t>        </section>        <section title='Acknowledgments'>            <t>Thanks to the following for feedback:              Ken Murchison.            </t>            <t>                This specification originated from discussions at a Calendaring and Scheduling Consortium interoperability event.            </t>        </section>    </middle>    <back>        <references title='Normative References'>            &rfc2119; &rfc3864; &rfc5234; &rfc5322; &rfc5545; &rfc5546; &rfc6047;&rfc6376;        </references>        <references title='Informative References'>          &rfc5228;        </references>        <!--<section title="Change History (To be removed by RFC Editor before publication)">            <t>                Changes in -01:                <list style='numbers'>                    <t></t>                </list>            </t>        </section>-->        <section title="Example of Common iMIP Message Structures">          <t>TBD</t>        </section>    </back></rfc>