Network Working Group S. Kille Request for Comments: 1137 University College London Updates: RFC 976 December 1989Mapping Between Full RFC 822 and RFC 822 with Restricted Encoding
1. Introduction
Some mail networks which use RFC 822 cannot support the full character set required by all aspects of RFC 822. This document describes a symmetrical mapping between full RFC 822 addressing, and a form for use on these networks. Any addresses within the networks will not use the full RFC 822 addressing, and so any addresses encoded according to this standard will always represent remote addresses. This document derives from a mapping originally specified in RFC 987 [Kille86a], where the domain of application was more restricted. Two terms are now defined:
Kille [Page 1]
RFC 1137 E-Mail Address and Quoted Strings December 1989
Restricted RFC 822
2. Encoding
The RFC 822 EBNF meta notation is used. Any EBNF definitions taken from RFC 822 are prefixed by the string "822.".
atom-encoded = *( a-char / a-encoded-char )
a-char = <any CHAR except specials (other than "@"
and "."), SPACE,
CTL, "_", and "#">
Kille [Page 2]
RFC 1137 E-Mail Address and Quoted Strings December 1989
To decode (restricted RFC 822 -> full RFC 822): if the address can be parsed as EBNF.encoded-atom reverse the previous mapping. If it cannot be so parsed, map the characters directly.
3. Application
This mapping should be used for all addresses, at the MTS or Header level. It is applied to the 822.local-part of the addresses. For example: