RFC 6532 - 国际化电子邮件头部
- 状态: Proposed Standard
- 发布日期: 2012 年 2 月
- Stream: IETF
- Updates: RFC2045
- Obsoletes: RFC5335
- 勘误: 无勘误
文档信息
- RFC Number: 6532
- Title: Internationalized Email Headers
- Authors: A. Yang, S. Steele, N. Freed
- Date: February 2012
- Category: Standards Track
- Obsoletes: RFC 5335
- ISSN: 2070-1721
摘要
本规范在 RFC 5322 所描述的电子邮件头部语法之上进行扩展, 以支持 UTF-8 编码. 它还将 "message/global" 的规则更新为与 "message/rfc822" 类似的规则, 以处理国际化电子邮件头部.
本备忘录状态
这是一份 Internet Standards Track 文档.
本文档是 Internet Engineering Task Force (IETF) 的产物. 它代表 IETF 社区的共识. 它已经过公开审查, 并已由 Internet Engineering Steering Group (IESG) 批准发布. 关于 Internet 标准的更多信息, 见 RFC 5741 第 2 节.
关于本文档当前状态, 任何勘误以及如何提供反馈的信息, 可从 http://www.rfc-editor.org/info/rfc6532 获取.
版权声明
Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved.
本文档受 BCP 78 以及 IETF Trust 在本文档发布之日有效的 Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) 约束. 请仔细阅读这些文件, 因为它们说明了您对本文件的权利和限制. 从本文档提取的代码组件必须包含 Trust Legal Provisions 第 4.e 节所述的 Simplified BSD License 文本, 并按 Simplified BSD License 所述在无保证的情况下提供.
本文档可能包含在 2008 年 11 月 10 日之前发布或公开提供的 IETF Documents 或 IETF Contributions 中的材料. 控制其中部分材料版权的人员可能尚未授予 IETF Trust 允许在 IETF Standards Process 之外修改此类材料的权利. 在未从控制此类材料版权的人员处获得适当许可的情况下, 本文档不得在 IETF Standards Process 之外进行修改, 也不得在 IETF Standards Process 之外创建其衍生作品, 但为将其格式化为 RFC 发布或翻译成英语以外的语言除外.
目录
- 引言
- 术语
- 对 RFC 5322 的变更
- 3.1. UTF-8 语法与规范化
- 3.2. 对 RFC 5322 的语法扩展
- 3.3. 在头部中使用 8-bit MIME
- 3.4. 地址语法
- 3.5. 跟踪字段语法
- 3.6. 消息头部体语法
- 安全考虑
- IANA 考虑
- 致谢
- 参考文献
1. Introduction
本文档规定对 Internet Message Format [RFC5322] 的扩展, 以允许传输包含非 ASCII 字符的电子邮件头部. 本规范允许在大多数电子邮件头部字段中使用 UTF-8 [RFC3629] 字符, 包括 Subject 头部字段, From 头部字段和 To 头部字段.
本文档废止 RFC 5335 [RFC5335].
2. Terminology
本文档中的关键词 "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY" 和 "OPTIONAL" 应按照 RFC 2119 [RFC2119] 解释.
术语 "UTF-8 string" 或 "UTF-8 character" 用于指代以 UTF-8 [RFC3629] (一种标准 Unicode Encoding Form) 表示的 Unicode 字符, 这些字符可能属于或不属于 ASCII 子集.
3. Changes to RFC 5322
本规范扩展 RFC 5322 [RFC5322] 中定义的头部语法, 以允许 UTF-8 字符.
3.1. UTF-8 Syntax and Normalization
可在以下各节定义的头部字段中使用 UTF-8 字符. 所有 UTF-8 字符串 MUST 为有效的 UTF-8.
3.2. Syntax Extensions to RFC 5322
以下规则在 ABNF [RFC5234] 中被扩展, 以允许 UTF-8 字符.
VCHAR =/ UTF8-non-ascii
ctext =/ UTF8-non-ascii
atext =/ UTF8-non-ascii
qtext =/ UTF8-non-ascii
text =/ UTF8-non-ascii
dtext =/ UTF8-non-ascii
其中 UTF8-non-ascii 定义为任何非 ASCII 字符的 UTF-8 字符.
3.3. Use of 8-bit MIME in Headers
8-bit MIME 扩展 [RFC6152] 用于允许在消息体中使用 8-bit 数据. 本规范将其扩展为也允许在头部中使用 8-bit 数据.
3.4. Address Syntax
电子邮件地址的语法被扩展, 以允许在 local-part 和 domain 部分中使用 UTF-8 字符.
3.5. Trace Field Syntax
跟踪字段 (例如 Received) 被扩展, 以允许 UTF-8 字符.
3.6. Message Header Body Syntax
消息头部的语法被扩展, 以允许在字段名和字段体中使用 UTF-8 字符.
4. Security Considerations
RFC 5322 [RFC5322] 和 RFC 6530 [RFC6530] 的安全考虑适用于本规范.
5. IANA Considerations
IANA 已更新 "message/global" 媒体类型的注册, 以引用本文档.
6. Acknowledgements
作者感谢 EAI 工作组成员对本文件的贡献.
7. References
7.1. Normative References
- [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
- [RFC3629] Yergeau, F., "UTF-8, a transformation format of ISO 10646", RFC 3629, November 2003.
- [RFC5234] Crocker, D. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, January 2008.
- [RFC5322] Resnick, P., Ed., "Internet Message Format", RFC 5322, October 2008.
- [RFC6152] Klensin, J., Freed, N., Rose, M., and D. Crocker, "SMTP Service Extension for 8-bit MIME Transport", STD 71, RFC 6152, March 2011.
7.2. Informative References
- [RFC5335] Yang, A., Ed., "Internationalized Email Headers", RFC 5335, September 2008.
- [RFC6530] Klensin, J. and Y. Ko, "Overview and Framework for Internationalized Email", RFC 6530, February 2012.
Authors' Addresses
Abel Yang TWNIC 4F-2, No. 2, Sec. 2, Jinshan S. Rd. Taipei 106 Taiwan
EMail: [email protected]
Shawn Steele Microsoft
EMail: [email protected]
Ned Freed Oracle 800 Royal Oaks Monrovia, CA 91016-6347 USA
EMail: [email protected]