TOC |
|
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 September 14, 2008.
Traditional mail systems handle only ASCII characters in SMTP envelope and mail header fields. The Email Address Internationalization (UTF8SMTP) extension allows UTF-8 characters in SMTP envelope and mail header fields. To avoid bouncing internationalized Email messages when a server in the delivery path does not support the UTF8SMTP extension, some sort of converting mechanism is required. This document describes a downgrading mechanism for Email Address Internationalization. Note that this is a way to downgrade, not tunnel. There is no associated up-conversion mechanism, although internationalized email clients might use original internationalized addresses or other data when displaying or replying to downgraded messages.
1.
Introduction
2.
Terminology
3.
New header fields definition
3.1.
Envelope information preservation headers
3.2.
Address header field preservation headers
3.3.
Unknown header fields preservation headers
4.
SMTP Downgrading
5.
Email header fields downgrading
5.1.
Downgrading method for each header field
6.
MIME body part headers downgrading
7.
Security considerations
8.
Implementation notes
8.1.
Trivial downgrading
8.2.
7bit transport consideration
9.
IANA Considerations
10.
Acknowledgements
11.
Change History
11.1.
draft-yoneya-ima-downgrade: Version 00
11.2.
draft-yoneya-ima-downgrade: Version 01
11.3.
draft-ietf-eai-downgrade: Version 00
11.4.
draft-ietf-eai-downgrade: Version 01
11.5.
draft-ietf-eai-downgrade: Version 02
11.6.
draft-ietf-eai-downgrade: Version 03
11.7.
draft-ietf-eai-downgrade: Version 04
11.8.
draft-ietf-eai-downgrade: Version 05
11.9.
draft-ietf-eai-downgrade: Version 06
11.10.
draft-ietf-eai-downgrade: Version 07
12.
Normative References
Appendix A.
Examples
A.1.
Downgrading example 1
A.2.
Downgrading example 2
§
Authors' Addresses
§
Intellectual Property and Copyright Statements
TOC |
Traditional mail systems which are defined by [RFC2821] (Klensin, J., “Simple Mail Transfer Protocol,” April 2001.) and [RFC2822] (Resnick, P., “Internet Message Format,” April 2001.) allow ASCII characters in SMTP envelope and mail header field values. The UTF8SMTP extension [RFC4952] (Klensin, J. and Y. Ko, “Overview and Framework for Internationalized Email,” July 2007.), [I‑D.ietf‑eai‑utf8headers] (Yeh, J., “Internationalized Email Headers,” February 2008.) and [I‑D.ietf‑eai‑smtpext] (Yao, J. and W. MAO, “SMTP extension for internationalized email address,” January 2008.) allows UTF-8 characters in SMTP envelope and mail header field values.
If an envelope address or header field contains non-ASCII characters, the message cannot be delivered unless every system in the delivery path supports UTF8SMTP. To avoid bouncing such messages when a server is encountered which does not support the UTF8SMTP extension, this document describes a downgrading mechanism. Downgrading a message converts envelope and header fields to an all-ASCII representation.
[I‑D.ietf‑eai‑utf8headers] (Yeh, J., “Internationalized Email Headers,” February 2008.) allows UTF-8 characters to be used in mail header fields and MIME header fields. The downgrading mechanism specified here converts mail header fields and MIME header fields to ASCII.
This document does not change any protocols except by defining new header fields. It describes the conversion method from the internationalized email envelopes/messages which are defined in [RFC4952] (Klensin, J. and Y. Ko, “Overview and Framework for Internationalized Email,” July 2007.) [I‑D.ietf‑eai‑utf8headers] (Yeh, J., “Internationalized Email Headers,” February 2008.) [I‑D.ietf‑eai‑smtpext] (Yao, J. and W. MAO, “SMTP extension for internationalized email address,” January 2008.) to the traditional email envelopes/messages which are defined in [RFC2821] (Klensin, J., “Simple Mail Transfer Protocol,” April 2001.) [RFC2822] (Resnick, P., “Internet Message Format,” April 2001.).
[I‑D.ietf‑eai‑smtpext] (Yao, J. and W. MAO, “SMTP extension for internationalized email address,” January 2008.) section 2.2 defines when downgrading occurs. If the SMTP client has an UTF8SMTP envelope or an internationalized message and the SMTP server doesn't support the UTF8SMTP SMTP extension, then the SMTP client MUST NOT send a UTF8SMTP envelope or an internationalized message to the SMTP server. The section shows 4 choices. The fourth choice is downgrading, as described here.
Downgrading may be implemented in MUAs, MSAs, MTAs which act as the SMTP client, or in MDAs, POP servers, IMAP servers which store or offer UTF8SMTP envelopes or internationalized messages to non-UTF8SMTP compliant systems which include message stores.
This document tries to define the downgrading process clearly and it preserves the original information as much as possible.
Downgrading in UTF8SMTP consists of the following four parts:
In Section 3 (New header fields definition), many header fields starting with "downgraded" are introduced. They preserve the original envelope information and the original header fields.
The SMTP downgrading is described in Section 4 (SMTP Downgrading). It generates ASCII only envelope information from an UTF8SMTP envelope.
The Email header fields downgrading is described in Section 5 (Email header fields downgrading). It generates ASCII only header fields.
The MIME header fields are expanded in [I‑D.ietf‑eai‑utf8headers] (Yeh, J., “Internationalized Email Headers,” February 2008.). The MIME header fields downgrading is described in Section 6 (MIME body part headers downgrading). It generates ASCII only MIME header fields.
TOC |
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 RFC 2119 [RFC2119] (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.).
All specialized terms used in this specification are defined in the EAI overview [RFC4952] (Klensin, J. and Y. Ko, “Overview and Framework for Internationalized Email,” July 2007.) or in [RFC2821] (Klensin, J., “Simple Mail Transfer Protocol,” April 2001.)[RFC2822] (Resnick, P., “Internet Message Format,” April 2001.), MIME documents [RFC2045] (Freed, N. and N. Borenstein, “Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies,” November 1996.) [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.) [RFC2183] (Troost, R., Dorner, S., and K. Moore, “Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field,” August 1997.) [RFC2231] (Freed, N. and K. Moore, “MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations,” November 1997.). The terms "ASCII address", "internationalized email address", "non-ASCII address", "i18mail address", "UTF8SMTP", "message" and "mailing list" are used with the definitions from [RFC4952] (Klensin, J. and Y. Ko, “Overview and Framework for Internationalized Email,” July 2007.) document.
This document depends on [I‑D.ietf‑eai‑smtpext] (Yao, J. and W. MAO, “SMTP extension for internationalized email address,” January 2008.), [I‑D.ietf‑eai‑utf8headers] (Yeh, J., “Internationalized Email Headers,” February 2008.), and [I‑D.ietf‑eai‑dsn] (Newman, C. and A. Melnikov, “Internationalized Delivery Status and Disposition Notifications,” January 2008.). Key words used in these document are used in this document, too.
The term "non-ASCII" is an UTF-8 string which contains at least one non-ASCII character.
An "UTF8SMTP envelope" has Email originator/recipient addresses expanded by [I‑D.ietf‑eai‑smtpext] (Yao, J. and W. MAO, “SMTP extension for internationalized email address,” January 2008.) and [I‑D.ietf‑eai‑dsn] (Newman, C. and A. Melnikov, “Internationalized Delivery Status and Disposition Notifications,” January 2008.).
An "UTF8SMTP message" is Email messages expanded by [I‑D.ietf‑eai‑utf8headers] (Yeh, J., “Internationalized Email Headers,” February 2008.).
TOC |
New header fields starting with "Downgraded-" are defined here to preserve those original envelope and header values which contain UTF-8 characters. During downgrading, one new "Downgraded-" header field is added for each original envelope or header field which cannot be passed as-is to a server which does not support UTF8SMTP. The original envelope or header field is removed or rewritten. Only those envelope and header fields which contain non-ASCII characters are affected. The result of this process is a message which is compliant with existing email specifications [RFC2821] (Klensin, J., “Simple Mail Transfer Protocol,” April 2001.) and [RFC2822] (Resnick, P., “Internet Message Format,” April 2001.). The original internationalized information can be retrieved by examining the "Downgraded-" header fields which were added. Even though the information is not lost, the original message cannot be perfectly reconstructed. Hence, downgrading is a one-way process. However, an internationalized client might use the information in the "Downgraded-" header fields when processing a downgraded message, for example, such as displaying or composing a reply.
TOC |
Two headers "Downgraded-Mail-From:" and "Downgraded-Rcpt-To:" are defined to preserve SMTP envelope downgraded information. SMTP envelope downgraded information consists of the original non-ASCII address and the downgraded all-ASCII address. The header field syntax is specified as follows:
fields =/ downgradedmailfrom / downgradedrcptto downgradedmailfrom = "Downgraded-Mail-From:" [FWS] "<" uPath ">" 1*[FWS] "<" Mailbox ">" [FWS] CRLF downgradedrcptto = "Downgraded-Rcpt-To:" [FWS] "<" uPath ">" 1*[FWS] "<" Mailbox ">" [FWS] CRLF
Original non-ASCII address <uPath> is defined in [I‑D.ietf‑eai‑smtpext] (Yao, J. and W. MAO, “SMTP extension for internationalized email address,” January 2008.); it is treated as unstructured in this header and it is encoded according to [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.). <Mailbox> is defined in [RFC2821] (Klensin, J., “Simple Mail Transfer Protocol,” April 2001.), section 4.1.2.
TOC |
The address header fields preservation headers are defined to preserve the original header field. Their value field holds the original header field value. Any original header field value is treated as an <unstructured> and it MUST be encoded according to [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.) with charset='UTF-8'. The header field syntax is specified as follows:
fields =/ known-downgraded-headers ":" unstructued CRLF known-downgraded-headers = "Downgraded-" original-headers original-headers = "From" / "To" / "Cc" / "Bcc" / "Sender" / "Reply-To" / "Resent-From" / "Resent-Sender" / "Resent-To" / "Resent-Cc" / "Return-Path"
Preserving a header field in a downgraded header field is defined as:
TOC |
The unknown header fields preservation headers are defined to encapsulate those original header field which contains non-ASCII characters and are not otherwise provided for in the this specification. The encapsulation header field name is the concatenation of "Downgraded-" and the original name. The value field holds the original header field value.
Any original header field value is treated as an unstructured value and it MUST be encoded according to [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.) with charset='UTF-8'. The header field syntax is specified as follows:
fields =/ unknown-downgraded-headers ":" unstructued CRLF unknown-downgraded-headers = "Downgraded-" original-header-field-name original-header-field-name = field-name field-name = 1*ftext ftext = %d33-57 / ; Any character except %d59-126 ; controls, SP, and ; ":".
Encapsulating a header field in a "Downgraded-" header field is defined as:
TOC |
Target of downgrading elements in SMTP envelope are below:
Downgrading the SMTP envelope uses ALT-ADDRESS parameter defined in [I‑D.ietf‑eai‑smtpext] (Yao, J. and W. MAO, “SMTP extension for internationalized email address,” January 2008.). An address is downgradable if the address is non-ASCII address and has ASCII address specified by ALT-ADDRESS parameter. Since only non-ASCII addresses are downgradable, specifying an ALT-ADDRESS value for an all-ASCII address is invalid for use with this specification, and no interpretation is assigned to it. This restriction allows for future extension of the specification even though no such extensions are currently anticipated.
Note that even if no downgrading is performed on the envelope, message header fields and message body MIME header fields that contain non-ASCII characters MUST be downgraded. This is described in Section 5 (Email header fields downgrading) and Section 6 (MIME body part headers downgrading).
When downgrading, replace each non-ASCII mail address in the envelope with its specified alternative ASCII address and preserve the original information using "Downgraded-Mail-From" and "Downgraded-Rcpt-To" header fields as defined in Section 3 (New header fields definition). Before replacing, decode the ALT-ADDRESS parameter value because it is encoded as xtext [RFC3461] (Moore, K., “Simple Mail Transfer Protocol (SMTP) Service Extension for Delivery Status Notifications (DSNs),” January 2003.).
To avoid disclosing recipient addresses, the downgrading process MUST NOT add "Downgraded-Rcpt-To:" header if the SMTP downgrading targets multiple recipients. See Section 7 (Security considerations) for more detail.
The "RCPT TO" command may have an ORCPT parameter when the recipient address is downgraded. The ORCPT parameter is used for DSN [RFC3461] (Moore, K., “Simple Mail Transfer Protocol (SMTP) Service Extension for Delivery Status Notifications (DSNs),” January 2003.). If the ORCPT parameter contains an "utf-8" address and the address contains non-ASCII characters, the ORCPT parameter MUST be converted to utf-8-addr-xtext form or utf-8-addr-unitext form which are described in [I‑D.ietf‑eai‑dsn] (Newman, C. and A. Melnikov, “Internationalized Delivery Status and Disposition Notifications,” January 2008.).
As a result of the recipient address replacement, the domain part of the original recipient address may not equal to the domain part of the new recipient address. If the result of address resolution for the domain part of the new recipient address contains the server at the connection destination of the SMTP session for the original recipient address, the SMTP connection is valid for the new recipient address. Otherwise, the downgrading process MUST NOT send the downgraded message to the new recipient address via the connection and MUST try to send the downgraded message to the new recipient address.
TOC |
This section defines the conversion method to ASCII for each header field which may contain non-ASCII characters.
[I‑D.ietf‑eai‑utf8headers] (Yeh, J., “Internationalized Email Headers,” February 2008.) expands Received: header fields, [RFC2822] (Resnick, P., “Internet Message Format,” April 2001.) ABNF elements <mailbox>, <word>, <comment>, <unstructured>, [RFC2045] (Freed, N. and N. Borenstein, “Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies,” November 1996.) ABNF element <value>.
Header field downgrading is defined below for each ABNF element. Downgrading an unknown header field is also defined as ENCAPSULATION downgrading. Converting the header field terminates when no non-ASCII characters remain in the header field.
- RECEIVED downgrading:
- If the header field name is "Received:" and the FOR clause contains a non-ASCII addresses, remove the FOR clause from the header field. The other part does not contain non-ASCII values.
- UNSTRUCTURED downgrading:
- If the header field has an <unstructured> field which contains non-ASCII characters, encode the field according to [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.) with charset='UTF-8'. To preserve space characters, the whole header field value which include space characters SHOULD be encoded.
- WORD downgrading:
- If the header field has any <word> fields which contains non-ASCII characters, encode the fields according to [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.) with charset='UTF-8'.
- COMMENT downgrading:
- If the header field has any <comment> fields which contains non-ASCII characters, encode the fields according to [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.) with charset='UTF-8'.
- MIME-VALUE downgrading:
- If the header field has any <value> elements defined by [RFC2045] (Freed, N. and N. Borenstein, “Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies,” November 1996.) and the elements contain non-ASCII characters, encode the <value> elements by [RFC2231] (Freed, N. and K. Moore, “MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations,” November 1997.) with charset='UTF-8' and the Language information empty. If the <value> element is <quoted-string> and it contains <CFWS> outside the DQUOTE, remove the <CFWS> before this conversion.
- DISPLAY-NAME downgrading:
- If the header field has any <mailbox> elements and they have <display-name> elements which contain non-ASCII characters, encode the <display-name> elements according to [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.) with charset='UTF-8'.
- MAILBOX downgrading:
- The <mailbox> elements have no equivalent format for non-ASCII addresses. If the header field has any <mailbox> elements which contain non-ASCII characters, preserve the header field in each Address header field preservation header defined in Section 3.2 (Address header field preservation headers), and rewrite each <mailbox> element to ASCII only format. The <mailbox> element which contains non-ASCII characters is one of three formats.
- [ Display-name ] "<" Utf8-addr-spec 1*FCS "<" Addr-spec ">>"
Rewrite it as
[ Display-name ] "<" Addr-spec ">"
- [ Display-name ] "<" Utf8-addr-spec ">"
- Utf8-addr-spec
Rewrite both as
[ Display-name ] "Internationalized Address " Encoded-word
" Removed:;"
where the <Encoded-word> is the original <Utf8-addr-spec> encoded according to [RFC2047] (Moore, K., “MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text,” November 1996.).
- ENCAPSULATION downgrading:
- if the header field contains non-ASCII characters and for which no rule is given above, encapsulate it in a Downgraded header field described in Section 3.3 (Unknown header fields preservation headers) as a last resort.
TOC |
Header fields are listed in [RFC4021] (Klyne, G. and J. Palme, “Registration of Mail and MIME Header Fields,” March 2005.). This section describes the downgrading method for each header field.
If the whole mail header field does not contain non-ASCII characters, email header field downgrading is not required. Each header field's downgrading method is described below.
- From:
- Sender:
- Reply-To:
- To:
- Cc:
- Bcc:
- Resent-From:
- Resent-Sender:
- Resent-To:
- Resent-Cc:
- Return-Path:
- Date:
- Message-ID:
- In-Reply-To:
- References:
- Resent-Date:
- Resent-Message-ID:
- MIME-Version:
- Content-ID:
- Received:
- Content-Type:
- Content-Disposition:
- Subject:
- Comments:
- Content-Description:
- Keywords:
TOC |
MIME body part header fields may contain non-ASCII characters
[I‑D.ietf‑eai‑utf8headers] (Yeh, J., “Internationalized Email Headers,” February 2008.).
This section defines the conversion method to ASCII only header fields
for each MIME header field which contains non-ASCII characters.
Parse the message body's MIME structure for all levels and
check each MIME header field whether it contains non-ASCII characters.
If the header field contains non-ASCII characters in the header value,
the header is a target of the MIME body part headers downgrading.
Each MIME header field's downgrading method is described below.
COMMENT downgrading, MIME-VALUE downgrading, UNSTRUCTURED downgrading
are described in Section 5 (Email header fields downgrading).
- Content-ID:
- The Content-ID: header does not contain non-ASCII characters except in comments. If the header contains UTF-8 characters in comments, perform COMMENT downgrading.
- Content-Type:
- Content-Disposition:
- Perform MIME-VALUE downgrading.
- Content-Description:
- Perform UNSTRUCTURED downgrading.
TOC |
See "Security considerations" section in [RFC4952] (Klensin, J. and Y. Ko, “Overview and Framework for Internationalized Email,” July 2007.) for more discussion.
TOC |
TOC |
Downgrading is an alternative to rejection for delivering messages which require UTF8SMTP support to a server which does not provide this. Implementing the full specification of this document is desirable, but a partial implementation is also possible.
If a partial downgrading implementation confronts an unsupported downgrading target, the implementation MUST NOT send the message to server which does not support UTF8SMTP. Instead, it MUST reject the message or generate a notification of non-deliverability.
A partial downgrading, Trivial downgrading is discussed. It does not support non-ASCII addresses in SMTP envelope and address header fields, unknown header fields downgrading, the MIME body part headers downgrading. It supports
Otherwise, the downgrading fails.
Trivial downgrading targets mail messages which are generated by UTF8SMTP aware MUAs and contain non-ASCII characters in comments, display names, unstructured parts without using non-ASCII E-mail addresses. This E-mail message does not contain non-ASCII addresses in SMTP Envelope and its header fields. But it is not deliverable via UTF8SMTP un-aware MTA. Implementing full spec downgrading may be hard, but trivial downgrading saves mail messages without using non-ASCII addresses.
TOC |
The SMTP client may confront a SMTP server which does not support the 8BITMIME SMTP extension [RFC1652] (Klensin, J., Freed, N., Rose, M., Stefferud, E., and D. Crocker, “SMTP Service Extension for 8bit-MIMEtransport,” July 1994.). The server does not support "8bit" or "binary" data. Implementers need to consider to replace "8bit" data to be "base64" or "quoted-printable" encoded form and reflect it to "Content-Transfer-Encoding" header field. If the body contains multiple MIME parts, this conversion must be performed for each MIME part according to [RFC2045] (Freed, N. and N. Borenstein, “Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies,” November 1996.).
TOC |
IANA is requested to register the following header fields in the
Permanent Message Header Field Repository, in accordance with the
procedures set out in [RFC3864] (Klyne, G., Nottingham, M., and J. Mogul, “Registration Procedures for Message Header Fields,” September 2004.).
- Header field name:
- Downgraded-Mail-From
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Rcpt-To
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-From
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Sender
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-To
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Cc
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Reply-To
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Bcc
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Resent-From
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Resent-To
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Resent-Cc
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Resent-Sender
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
- Header field name:
- Downgraded-Return-Path
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
And more, IANA is requested to reserve all the field names
that start by "Downgraded-" for unknown header fields downgrading
described in Section 3.3 (Unknown header fields preservation headers),
in accordance with the procedures set out in [RFC3864] (Klyne, G., Nottingham, M., and J. Mogul, “Registration Procedures for Message Header Fields,” September 2004.).
- Header field name:
- Names which starts by "Downgraded-"
- Applicable protocol:
- Status:
- experimental
- Author/change controller:
- IETF
- Specification document(s):
- This document (Section 3 (New header fields definition))
TOC |
Significant comments and suggestions were received from John Klensin, Harald Alvestrand, Chris Newman, Randall Gellens, Charles Lindsey, Marcos Sanz, Alexey Melnikov, Frank Ellermann, Edward Lewis, S. Moonesamy and JET members.
TOC |
This section is used for tracking the update of this document. Will be removed after finalize.
TOC |
TOC |
TOC |
TOC |
TOC |
TOC |
TOC |
TOC |
TOC |
TOC |
TOC |
TOC |
TOC |
This section shows an SMTP Downgrading example. Consider a mail message.
The example SMTP envelope/message is shown in Figure 1 (Original envelope/message (example 1)). In this example, the To: recipient's session is focused.
MAIL FROM: <NON-ASCII-local@example.com> ALT-ADDRESS=ASCII-local@example.com RCPT TO: <NON-ASCII-remote1@example.net> ALT-ADDRESS=ASCII-remote1@example.net RCPT TO: <NON-ASCII-remote2@example.org> ------------------------------------------------------------- Message-Id: MESSAGE_ID Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: NON-ASCII-SUBJECT From: DISPLAY-local <NON-ASCII-local@example.com <ASCII-local@example.com>> To: DISPLAY-remote1 <NON-ASCII-remote1@example.net <ASCII-remote1@example.net>> CC: DISPLAY-remote2 <NON-ASCII-remote2@example.org> Date: DATE MAIL_BODY
Figure 1: Original envelope/message (example 1) |
In this example, there are two SMTP recipients, one is To:, the other is CC:. The SMTP downgrading treats To: session downgrading. Figure 2 (SMTP Downgraded envelope/message (example 1)) shows SMTP downgraded example.
MAIL FROM: <ASCII-local@example.com> RCPT TO: <ASCII-remote1@example.net> ------------------------------------------------------------- Downgraded-Mail-From: =?UTF-8?Q?<NON-ASCII-local@example.com>_?= =?UTF-8?Q?<ASCII-local@example.com>?= Downgraded-Rcpt-To: =?UTF-8?Q?<NON-ASCII-remote1@example.net>_?= =?UTF-8?Q?<ASCII-remote1@example.net>?= Message-Id: MESSAGE_ID Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: NON-ASCII-SUBJECT From: DISPLAY-local <NON-ASCII-local@example.com <ASCII-local@example.com>> To: DISPLAY-remote1 <NON-ASCII-remote1@example.net <ASCII-remote1@example.net>> CC: DISPLAY-remote2 <NON-ASCII-remote2@example.org> Date: DATE MAIL_BODY
Figure 2: SMTP Downgraded envelope/message (example 1) |
After SMTP downgrading, header fields downgrading is performed.
Final downgraded message is shown in Figure 3 (Downgraded message (example 1)).
Return-Path header will be added by the final destination MTA.
Return-Path: <ASCII-local@example.com> Downgraded-Mail-From: =?UTF-8?Q?<NON-ASCII-local@example.com>_?= =?UTF-8?Q?<ASCII-local@example.com>?= Downgraded-Rcpt-To: =?UTF-8?Q?<NON-ASCII-remote1@example.net>_?= =?UTF-8?Q?<ASCII-remote1@example.net>?= Message-Id: MESSAGE_ID Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: =?UTF-8?Q?NON-ASCII-SUBJECT?= From: =?UTF-8?Q?DISPLAY-local?= <ASCII-local@example.com> Downgraded-From: =?UTF-8?Q?DISPLAY-local_<NON-ASCII-local@example.com_?= =?UTF-8?Q?<ASCII-local@example.com>>?= To: =?UTF-8?Q?DISPLAY-remote1?= <ASCII-remote1@example.net> Downgraded-To: =?UTF-8?Q?DISPLAY-remote1_?= =?UTF-8?Q?<NON-ASCII-remote1@example.net_<ASCII-remote1@example.net>>?= CC: =?UTF-8?Q?DISPLAY-remote2?= Internationalized address =?UTF-8?Q?NON-ASCII-remote2@example.org?= removed:; Downgraded-CC: =?UTF-8?Q?DISPLAY-remote2_?= =?UTF-8?Q?<NON-ASCII-remote2@example.org>?= Date: DATE MAIL_BODY
Figure 3: Downgraded message (example 1) |
TOC |
In many cases, the sender wants to use non-ASCII address, the recipient does not support UTF8SMTP and does not have non-ASCII address.
The second example envelope/message is shown in Figure 4 (Original message (example 2)).
MAIL From: <NON-ASCII-local@example.com> ALT-ADDRESS=ASCII-local@example.com RCPT TO: <ASCII-remote1@example.net> ------------------------------------------------------------- Message-Id: MESSAGE_ID Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: NON-ASCII-SUBJECT From: DISPLAY-local <NON-ASCII-local@example.com <ASCII-local@example.com>> To: DISPLAY-remote1 <ASCII-remote1@example.net> Date: DATE MAIL_BODY
Figure 4: Original message (example 2) |
In this example, SMTP session is downgradable. Figure 5 (SMTP Downgraded envelope/message (example 2)) shows SMTP downgraded envelope/message.
MAIL From: <ASCII-local@example.com> RCPT TO: <ASCII-remote1@example.net> ------------------------------------------------------------- Downgraded-Mail-From: =?UTF-8?Q?<NON-ASCII-local@example.com>_?= ?=UTF8?Q?<ASCII-local@example.com>?= Message-Id: MESSAGE_ID Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: NON-ASCII-SUBJECT From: DISPLAY-local <NON-ASCII-local@example.com <ASCII-local@example.com>> To: DISPLAY-remote1 <ASCII-remote1@example.net> Date: DATE MAIL_BODY
Figure 5: SMTP Downgraded envelope/message (example 2) |
After SMTP downgrading, header fields downgrading is performed.
The downgraded example is shown in Figure 6 (Downgraded message (example 2)).
Return-Path: <ASCII-local@example.com> Downgraded-Mail-From: =?UTF-8?Q?<NON-ASCII-local@example.com>_?= =?UTF8?Q?<ASCII-local@example.com>?= Message-Id: MESSAGE_ID Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: =?UTF-8?Q?NON-ASCII-SUBJECT?= Downgraded-From: =?UTF-8?Q?DISPLAY-local_<NON-ASCII-local@example.com_?= =?UTF-8?Q?<ASCII-local@example.com>>?= From: =?UTF-8?Q?DISPLAY-local?= <ASCII-local@example.com> To: =?UTF-8?Q?DISPLAY-remote1?= <ASCII-remote1@example.net> Date: DATE MAIL_BODY
Figure 6: Downgraded message (example 2) |
TOC |
Kazunori Fujiwara (editor) | |
JPRS | |
Chiyoda First Bldg. East 13F, 3-8-1 Nishi-Kanda | |
Chiyoda-ku, Tokyo 101-0065 | |
Japan | |
Phone: | +81 3 5215 8451 |
Email: | fujiwara@jprs.co.jp |
Yoshiro YONEYA (editor) | |
JPRS | |
Chiyoda First Bldg. East 13F, 3-8-1 Nishi-Kanda | |
Chiyoda-ku, Tokyo 101-0065 | |
Japan | |
Phone: | +81 3 5215 8451 |
Email: | yone@jprs.co.jp |
TOC |
Copyright © The IETF Trust (2008).
This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.
This document and the information contained herein are provided on an “AS IS” basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org.