Appendix F - Format of address mapping tables
There is a need to specify the association between the domain and X.400 namespaces described in Chapter 4. The use of this association leads to a better service on both sides of the gateway, and so defining mappings and distributing them in the form defined in this appendix is strongly encouraged.
This syntax defined is initially in table form, 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.
First, an address syntax is defined, which is compatible with the syntax used for 822.domains. It is intended that this syntax may be used in conjunction with systems which support this form of name.
To allow the mapping of null attributes to be represented, the pseudo-value "@" (not a printable string character) is used to indicate omission of a level in the hierarchy. This is distinct from the form including the element with no value, although a correct X.400 implementation will interpret both in the same manner.
This syntax is not intended to be handled by users.
dmn-or-address = dmn-part *( "." dmn-part )
dmn-part = attribute "$" value
attribute = standard-type
/ "~" dmn-printablestring
value = dmn-printablestring
/ "@"
dmn-printablestring =
= *( dmn-char / dmn-pair )
dmn-char = <"{", "}", "*", and any ps-char
except ".">
dmn-pair = "."
An example usage:
~ROLE$Big.Chief.ADMD$ATT.C$US
[email protected]$US
The first example illustrates quoting of a ".", and the second omission of the ADMD level.
Various further restrictions are placed on the usage of dmn-or-address:
-
Only C, ADMD, PRMD, O, and OU may be used.
-
There must be a strict ordering of all components, with the most significant components on the RHS.
-
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-or-address "#"
Note that the trailing "#" is used for clarity, as the dmn-or-address syntax can lead to values with trailing blanks. Lines staring with "#" are comments.
For example:
AC.UK#PRMD$UK.AC.ADMD$GOLD 400.C$GB#
XEROX.COM#O$Xerox.ADMD$ATT.C$US#
GMD.DE#[email protected]$GMD.ADMD$DBP.C$DE#
For X.400 -> domain:
dmn-or-address "#" domain-syntax "#"
For example:
#
# Mapping table
#
PRMD$UK.AC.ADMD$GOLD 400.C$GB#AC.UK#