X.400 to RFC 822: Addendum to RFC 987: (Mapping between X.400 and RFC-822)
Adds ordering rules and omitted-component support to the X.400 and RFC 822 mapping.
Kille, S.E., "Addendum to RFC 987: (Mapping between X.400 and RFC-822)", RFC 1026, DOI 10.17487/RFC1026, September 1987, <https://www.rfc-editor.org/info/rfc1026>.
@misc{rfc1026,
series = {Request for Comments},
number = 1026,
howpublished = {RFC 1026},
publisher = {RFC Editor},
doi = {10.17487/RFC1026},
url = {https://www.rfc-editor.org/info/rfc1026},
author = {S.E. Kille},
title = {{Addendum to RFC 987: (Mapping between X.400 and RFC-822)}},
pagetotal = 4,
year = 1987,
month = sep,
} RFC text
Contents
Network Working Group S.E. Kille
Request for Comments 1026 University College London
September 1987
Addendum to RFC 987
(Mapping between X.400 and RFC-822)
Status of this Memo
This RFC suggest a proposed protocol for the Internet community, and
requests discussion and suggestions for improvements. Distribution
of this memo is unlimited.
This document specifies a number of additions and corrections to
RFC-987, aka Mailgroup Note 19.
The addendum carries equal weight to the original specification,
which must be used when this mapping is performed on the Internet or
in the UK Academic Community. This mapping may also be used within
the RARE community in Europe. This specification may be modified in
the light of implementation experience, but no substantial changes
are expected.
1. Errata
- In section 4.6.4, replace ".." with ".".
- In section 4.2.4, replace three references to 4.3.1 by
4.2.1, and one reference to 4.2.2 by 4.1.2.
- In section 5.2, replace "1 mailbox" with "1#mailbox",
"1 msg-id" with "1#msg-id" and "1 encoded-type" with
"1#encoded-type".
2. Component Ordering
In most cases, ordering of O/R name components is not significant for
the mappings specified by this document. However, Organisational
Units and Domain Defined Attributes are specified as SEQUENCE, in
P1.ORName, and so their order may be significant. This specification
needs to take account of this in two ways:
1) To allow consistent mapping into the domain hierarchy
2) To ensure preservation of order over multiple mappings.
There are three places where an order must be specified:
1) On the text encoding (std-orname) of P1.ORName as used in the
local-part of an RFC-822 address, the most significant component
must be on the RHS. This applies only to those components which
may have multiple values (Organisational Unit, and Domain
Defined Attributes). Other attributes may be presented in any
order. Note that in dmn-orname specified in Appendix F, this
ordering is already implied by the current ordering
requirements.
2) For the Organisational Units (OU) in P1.ORName, the first OU in
the SEQUENCE is the most signicicant. This follows the
"natural" hierarchy of the specification of P1.ORName, where the
most significant components are defined first.
3) For the Domain Defined Attributes in P1.ORName, the First Domain
Defined Attribute in the SEQUENCE is the most significant.
Note that although the ordering defined in 2) and 3) is mandatory for
this mapping, there are NO implications on ordering significance
within X.400.
3. Extensions To Deal with Omitted Components
Implementation of RFC-987 has proved to be a little inflexible for
some naming strategies. In particular, there are some difficulties
where Organisation or PRMD is omitted:
The following sentence of RFC-987 should be removed: 4.2.1 (Page 27):
"If one of the hierarchical components is omitted .... tuple).".
The strategy proposed is to introduce the concept of explicit missing
components to the symmetrical mapping described in 4.2.1.
Essentially, a domain may be associated with an omitted attribute in
conjuction with several present ones. When performing the
algorithmic insertion of components lower in the hierarchy, the
omitted value should be skipped. For example, if "GMD.DFN" is
associated with "C=DE", "ADMD=DBP", "PRMD=GMD", and omitted
organisation, then "ZI.GMD.DFN" is mapped with "C=DE", "ADMD=DBP",
"PRMD=GMD", "OU=ZI". It should be noted that attributes may have
null values, and that this is treated separately from omitted
attributes (whilst it would be bad practice to treat these two cases
differently, they must be allowed for in practice).
To allow the mapping of null organisations to be represented in the
specification of Appendix F, the dmn-orname syntax is extended, so
that values may be given the symbol "@" (not a printable string
character). This corresponds to an omitted attribute. The new
definition is:
dmn-orname = dmn-part *( "." dmn-part )
dmn-part = attribute "$" value
attribute = standard-type
/ "~" dmn-printablestring
value = dmn-printablestring
/ "@"
dmn-printablestring
= *( dmn-char / dmn-pair )
dmn-char = <ps-delim, and any ps-char except ".">
dmn-pair = "."
Appendix F - Format of address mapping tables
A new Appendix F is defined as follows:
There is a need to specify the association between the domain and
X.400 namespaces described in 4.2.1. This is defined as a table
syntax, but the syntax is defined in a manner which makes it suitable
for use with domain nameservices (such as the Internet Domain
nameservers or the UK NRS). The mapping is not symmetric, and so a
separate table is specified for each direction. If multiple matches
are possible, the longest possible match should be used.
Various restrictions are placed on the usage of dmn-orname:
1) Only C, ADMD, PRMD, O, and OU may be used.
2) There must be a strict ordering of all components, with the most
significant components on the RHS.
3) No components may be omitted from the hierarchy, although the
hierarchy may terminate at any level. If the mapping is to an
omitted component, the "@" syntax is used.
For domain -> X.400:
domain-syntax "#" dmn-orname "#"
Note that the trailing "#" is used for clarity, as the dmn-orname
syntax can lead to values with trailing blanks.
For example:
AC.UK#PRMD$DES.ADMD$BT.C$UK#
XEROX.COM#O$Xerox.ADMD$ATT.C$US#
HMI.DBP.DFN#O$@.PRMD$HMI.ADMD.DBP.C$DE#
For X.400 -> domain:
dmn-orname "#" domain-syntax "#"
ISO Plain Language
On this page
§1Corrections to RFC 987
RFC 1026 lists additions and corrections to RFC 987, also called Mailgroup Note 19. It says the addendum carries equal weight to the original specification for the stated mapping communities.
The errata include replacing a doubled period with a single period, correcting section references and changing several grammar forms to use the 1# notation.
The addendum fixes typographical and syntax-reference errors in RFC 987. It says its corrections carry the same weight as the original.
§2Ordering Name Components
Most O/R name component ordering is not significant for the mapping. Organisational Units and Domain Defined Attributes, however, are sequences in P1.ORName, so the mapping needs consistent order and must preserve it across mappings.
For both component types, the first item in the sequence is most significant. In the text encoding used in the local part of an RFC 822 address, the most significant component appears on the right. The RFC says these rules do not imply ordering significance within X.400 itself.
The rules specify which repeated name component is most significant. They also define where that component appears in the text form.
§3Omitted Components and Mapping Tables
The addendum addresses naming cases where Organisation or PRMD is omitted. It introduces an explicit missing component: the value @ in the extended dmn-orname syntax represents an omitted attribute, separately from an attribute with a null value.
A new Appendix F defines separate table formats for domain-to-X.400 and X.400-to-domain mapping because the mapping is not symmetric. It restricts the component types and says to use the longest possible match when several matches apply.
The @ marker says a name component is intentionally omitted. Appendix F defines separate lookup-table forms for each mapping direction.