home *** CD-ROM | disk | FTP | other *** search
/ Handbook of Infosec Terms 2.0 / Handbook_of_Infosec_Terms_Version_2.0_ISSO.iso / text / rfcs / rfc1405.txt < prev    next >
Text File  |  1996-05-07  |  35KB  |  707 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                       C. Allocchio Request for Comments: 1405                              I.N.F.N. - Italy                                                             January 1993 
  8.  
  9.         Mapping between X.400(1984/1988) and Mail-11 (DECnet mail) 
  10.  
  11. Status of this Memo 
  12.  
  13.    This memo defines an Experimental Protocol for the Internet    community.  Discussion and suggestions for improvement are requested.    Please refer to the current edition of the "IAB Official Protocol    Standards" for the standardization state and status of this protocol.    Distribution of this memo is unlimited. 
  14.  
  15. Abstract 
  16.  
  17.    This document describes a set of mappings which will enable inter    working between systems operating the CCITT X.400 ( 1984 / 1988 )    Recommendations on Message Handling Systems, and systems running the    Mail-11 (also known as DECnet mail) protocol. The specifications are    valid within DECnet Phase IV addressing and routing scheme. 
  18.  
  19.    The complete scenario of X.400 / RFC822 / Mail-11 is also considered,    in order to cover the possible complex cases arising in multiple    gateway translations. 
  20.  
  21.    This document covers mainly the O/R address to DECnet from/to address    mapping (and vice versa); other mappings are based on RFC 1327 and    its eventual future updates. 
  22.  
  23.    This is a combined effort of COSINE S2.2, the RARE MSG Working Group,    and the IETF X.400 Ops Working Group. 
  24.  
  25. Chapter 1 - Introduction 
  26.  
  27. 1.1. X.400 
  28.  
  29.    The standard referred shortly into this document as "X.400" relates    to the CCITT 1984 and 1988 X.400 Series Recommendations covering the    Message Oriented Text Interchange Service (MOTIS). This document    covers the Inter Personal Messaging System (IPMS) only. 
  30.  
  31. 1.2. Mail-11 
  32.  
  33.    Mail-11, also known as DECnet mail and often improperly referred as    VMSmail, is the proprietary protocol implemented by Digital Equipment    Corporation (DEC) to establish a real-time text messaging system 
  34.  
  35.  
  36.  
  37. Allocchio                                                       [Page 1] 
  38.  RFC 1405                    Mail-11 Mapping                 January 1993 
  39.  
  40.     among systems implementing the DECnet Phase IV networking protocols. 
  41.  
  42. 1.3. RFC822 
  43.  
  44.    RFC822 was defined as a standard for personal messaging systems    within the DARPA Internet and is now diffused on top of many    different message transfer protocols, like SMTP, UUCP, BITNET, JNT    Grey Book, CSnet. Its mapping with X.400 is fully described in    RFC1327. In this document we will try to consider its relations with    Mail-11, too. 
  45.  
  46. 1.4. The user community 
  47.  
  48.    The community using X.400 messaging system is currently growing in    the whole world, but there is still a number of very large    communities using Mail-11 based messaging systems willing to    communicate easily with X.400 based Message Handling Systems. Among    these large DECnet based networks we can include the High Energy    Physics network (HEPnet) and the Space Physics Analysis Network    (SPAN). 
  49.  
  50.    These DECnet communities will in the future possibly migrate to    DECnet Phase V (DECnet-OSI) protocols, converting thus their    messaging systems to OSI specifications, i.e., merging into the X.400    MHS; however the transition period could be long, and there could    always be some DECnet Phase IV communities around. 
  51.  
  52.    For these reasons a set of mapping rules covering conversion between    Mail-11 and X.400 is described in this document. 
  53.  
  54.    This document also covers the case of Mail-11 systems implementing    the "foreign mail protocol" allowing Mail-11 to interface other mail    systems, including RFC822 based system. 
  55.  
  56. Chapter 2 - Message Elements 
  57.  
  58. 2.1. Service Elements 
  59.  
  60.    Mail-11 protocol offers a very restricted set of elements composing a    Inter Personal Message (IPM), whereas X.400 specifications support a    complex and large amount of service elements. Considering the case    where a message is relayed between two X.400 MHS via a DECnet network    this could result in a nearly complete loss of information. To    minimise this inconvenience most of X.400 service elements will be    mapped into Mail-11 text body parts. To consider also the case when a    message originates from a network implementing RFC822 protocols and    is relayed via Mail-11 to and X.400 MHS, the applied mapping from    X.400 service elements into Mail-11 text body part the rules 
  61.  
  62.  
  63.  
  64. Allocchio                                                       [Page 2] 
  65.  RFC 1405                    Mail-11 Mapping                 January 1993 
  66.  
  67.     specified in RFC1327 and their updates will be used, producing an    RFC822-like header. 
  68.  
  69. 2.2. Mail-11 service elements 
  70.  
  71.    All envelope (P1) and header (P2) Mail-11 service elements are    supported in the conversion to X.400. Note that Mail-11 P1 is solely    composed by P1.From and P1.To, and any other Mail-11 element belongs    to Mail-11 P2: 
  72.  
  73.         - P1.From                 maps to P1.Originator 
  74.  
  75.         - P1.To                 maps to P1.Primary Recipient 
  76.  
  77.         - P2.From                 maps to P2.Originator 
  78.  
  79.         - P2.To                 maps to P2.Primary Recipient 
  80.  
  81.         - Cc                 maps to P2.Copy Recipient 
  82.  
  83.         - Date                 maps to Submission Time Stamp 
  84.  
  85.         - Subj                 maps to Subject 
  86.  
  87.    Any eventual RFC822-like text header in Mail-11 body part will be    interpreted as specified into RFC1327 and its updates. 
  88.  
  89. 2.3. X.400 service elements 
  90.  
  91.    The following X.400 service elements are supported directly into    Mail-11 conversion: 
  92.  
  93.         - P1.Originator                 maps to P1.'From' 
  94.  
  95.         - P1.Primary Recipients                 maps to P1.'To' 
  96.  
  97.         - P2.Originator                 maps to P2.'From' 
  98.  
  99.  
  100.  
  101.  Allocchio                                                       [Page 3] 
  102.  RFC 1405                    Mail-11 Mapping                 January 1993 
  103.  
  104.          - P2.Primary Recipients                 maps to P2.'To' 
  105.  
  106.         - Copy Recipients                 maps to 'Cc' 
  107.  
  108.         - Submission Time Stamp                 maps to 'date' 
  109.  
  110.         - Subject                 maps to 'Subj' 
  111.  
  112.    The following X.400 service element is partially supported into    Mail-11 conversion: 
  113.  
  114.         - Blind Copy Recipient                 to ensure the required privacy, when a message contains                 a BCC address, the following actions occurs:                 - a new message is created, containing the body parts;                 - a new envelope is added to the new message, containing                   the originator and the BCC recipient addresses only;                 - a note is added to the message informing the BCC                   recipient about the fact that the message was a BCC;                 - the new message is delivered separately;                 - a note is added to the message delivered to TO and CC                   recipients informing them about the fact that there                   were some BCC recipients, too. 
  115.  
  116.    Any other X.400 service element support is done accordingly to    RFC1327 including the mapped element into the RFC822-like header into    Mail-11 body part. 
  117.  
  118. Chapter 3 - Basic Mappings 
  119.  
  120.    The basic mappings indicated in RFC1327 and its updates should be    fully used. 
  121.  
  122. Chapter 4 - Addressing 
  123.  
  124. 4.1. Mail-11 addressing 
  125.  
  126.    Mail-11 addressing can vary from a very simple case up to complex    ones, if there are other Mail-11 to "something-else" gateways    involved. In any case a Mail-11 address is an ASCII string composed    of different elements. 
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  Allocchio                                                       [Page 4] 
  133.  RFC 1405                    Mail-11 Mapping                 January 1993 
  134.  
  135.  4.2. X.400 addressing 
  136.  
  137.    On the other hand, An X.400 O/R address is a collection of    attributes, which can anyway be presented as an IA5 textual    representation as defined in chapter 4 of RFC1327. 
  138.  
  139. 4.3. Mail-11 address components 
  140.  
  141.    Let us start defining the different parts composing a Mail-11    address. We can consider any Mail-11 address as composed by 3 parts: 
  142.  
  143.         [[route]::] [[node]::] local-part 
  144.  
  145.    where 'route' and 'node' are optional and only 'local-part' is    compulsory. 
  146.  
  147.    Here comes a strict definition of these elements 
  148.  
  149.      node = *(ALPHA/DIGIT) / *DIGIT / *DIGIT "." *DIGIT 
  150.  
  151.      route = *(node "::") 
  152.  
  153.      local-part = username / nickname / for-protocol 
  154.  
  155.      username = *(ALPHA/DIGIT) 
  156.  
  157.      nickname = <printablestring - <" " and HTAB>> 
  158.  
  159.      for-protocol = (f-pref f-sep <">f-address<">) 
  160.  
  161.      f-pref = *(ALPHA/DIGIT) 
  162.  
  163.      f-sep = "%" / "::" 
  164.  
  165.      f-address = printablestring / RFC822-address / X400-text-address 
  166.  
  167.      X400-text-address = <textual representation of an X.400 O/R addr> 
  168.  
  169.    Please note that in x-text-address both the ";" notation and the "/"    notation are equivalent and allowed (see examples in different sect.) 
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181. Allocchio                                                       [Page 5] 
  182.  RFC 1405                    Mail-11 Mapping                 January 1993 
  183.  
  184.     Some examples: 
  185.  
  186.       route           node    local-part       -----------------------------------------------------------                               USER47                       MYNODE::BETTY       BOSTON::CLUS02::GOOFY1::MARY34                               IN%"M.P.Tracy@Dicdum.cc.edu"               UCLA13::MVAX93::MRGATE::"MBOX1::MBX34::MYC3::BOB"                       MIAMI2::George.Rosenthal               CCUBVX::VS3100::Jnet%"IAB3425@IBAX23L"                               MRGATE::"C=xx::A=bbb::P=ppp::S=Joe"                       MAINVX::IN%"path1!path2!user%dom"                       GWX400::gw%"C=xx;ADMD=aaa;PRMD=ppp;S=Lee;"                       GX409A::x400%"/C=xx/A=aaa/P=ppp/S=Lee"                               smtp%"postmast@nodeb.bitnet"               MICKEY::PRFGAT::profs%"NANCY@IBMB"                               edu%"HU427BD%CSUNIB@abc.acme.edu" 
  187.  
  188. Chapter 5 - Mapping 
  189.  
  190. 5.1. Mapping scheme 
  191.  
  192.    DECnet address field is somehow a 'flat land' with some obliged    routes to reach some hidden areas. Thus a truly hierarchical mapping    scheme using mapping tables as suitable for RFC822 is not the    appropriate solution. A fixed set of rules using DDAs support is    defined in order to define the mapping. 
  193.  
  194.    Another important aspect of the problem is the coexistence of many    disjoint DECnet networks, using the same DECnet address space, i.e.,    common X.400 and/or RFC822 mailing system acting as glue to connect    different isolated Mail-11 islands. Thus, to identify uniquely each    DECnet network we must also introduce the concept of 'DECnet network    name', which we will refer shortly as 'net' from now onwards. We    define as 'net' a unique ASCII string identifying the DECnet network    we are connected to. To be more specific, the 'net' element will    identify the DECnet community being served, i.e., it could also    differ from the actual official network name. Aliases are allowed for    the 
  195.  
  196.        net = 'HEPnet'       the High Energy Physics DECnet network        net = 'SPAN'         the Space Physics Analysis Network        net = 'Enet'         the Digital Equipment Corporate Network 
  197.  
  198.    The need of labelling each DECnet network with its name comes also    from the requirement to implement the 'intelligent' gateway, i.e.,    the gateway which is able to understand its ability to connect 
  199.  
  200.  
  201.  
  202. Allocchio                                                       [Page 6] 
  203.  RFC 1405                    Mail-11 Mapping                 January 1993 
  204.  
  205.     directly to the specified DECnet network, even if the O/R address    specify a path to a different gateway. A more detailed discussion of    the problem is in 5.3 and 5.5. 
  206.  
  207.    A registry of 'net' attributes and their correspondent gateways must    also be implemented to insure uniqueness of names. A simple table    coupling 'net' and the gateway address is used, in a syntax similar    to the 'gate' table used in RFC1327. An example: 
  208.  
  209.         HEPnet#OU$Cosine-gw.O$@.PRMD$infn.ADMD$garr.C$IT#         SPAN#OU$Cosine-gw.O$@.PRMD$infn.ADMD$garr.C$IT#         SPAN#O$ESRIN1.PRMD$esa.ADMD$Master400.C$it# 
  210.  
  211.    Ambiguous left entries are allowed. Gateway implementations could    simply choose among one of them, or try them all in cyclic order to    obtain better performances. 
  212.  
  213.    In order to keep the mapping rules very simple, avoiding the need to    analyse Mail-11 addresses to distinguish the 'route', 'node' and    needed to cover the mapping problem. 
  214.  
  215. 5.2. Mail-11 --> X.400 
  216.  
  217.     We define the following Domain Defined Attributes to map a Mail-11    address: 
  218.  
  219.         DD.Dnet         DD.Mail-11 
  220.  
  221.    We thus define the mapping rule 
  222.  
  223.         route::node::localpart 
  224.  
  225.    maps into 
  226.  
  227.         C=xx; ADMD=yyy; PRMD=zzz; O=ooo; OU=uuu; DD.Dnet=net;         DD.Mail-11=route::node::localpart; 
  228.  
  229.    with 
  230.  
  231.         xx  = country code of the gateway performing the conversion         yyy = Admd of the gateway performing the conversion         zzz = Prmd of the gateway performing the conversion         ooo = Organisation of the gateway performing the conversion         uuu = Org. Unit(s) of the gateway performing the conversion         net = name of the DECnet network (e.g., HEPnet, SPAN,...) 
  232.  
  233.    ('zzz','ooo','uuu' being used or dropped appropriately in order to 
  234.  
  235.  
  236.  
  237. Allocchio                                                       [Page 7] 
  238.  RFC 1405                    Mail-11 Mapping                 January 1993 
  239.  
  240.     identify uniquely within the X.400 MHS the gateway performing the    conversion). 
  241.  
  242.    The following defaults also apply: 
  243.  
  244.    if 'node' is missing and we are mapping the Mail-11 originator (From)    then 'node' defaults to the DECnet node name of the gateway (gwnode); 
  245.  
  246.    if 'node' is missing and we are mapping the Mail-11 recipient (To,    Cc) then 'node' defaults to the DECnet node name of the 'From'    address. 
  247.  
  248.    if 'DD.Dnet=net' is missing, then it defaults to a value defined    locally by the gateway: if the gateway is connected to one DECnet    network only, then 'net' will be the name of this unique network; if    the gateway is connected to more than one DECnet network, then the    gateway will establish a 'first choice' DECnet network, and 'net'    will default to this value. 
  249.  
  250.    In case 'local-part' contains 'x400-text-address' see also section    6.4.3; 
  251.  
  252.    In case 'local-part' contains 'RFC822-address' see also section    6.4.4. 
  253.  
  254. 5.2.1. Examples 
  255.  
  256.    Let us suppose that: 
  257.  
  258.      the DECnet network name (net) is 'HEP';      the DECnet node name of the gateway (gwnode) is 'X4TDEC';      the Country Code of the gateway is 'IT' and its ADMD is 'garr'      (and these two fields are enough to identify uniquely the gateway      within the X.400 MHS). 
  259.  
  260.     USER47      C=it; ADMD=garr; DD.Dnet=HEP; DD.Mail-11=X4TDEC::USER47; 
  261.  
  262.     MYNODE::BETTY      C=it; ADMD=garr; DD.Dnet=HEP; DD.Mail-11=MYNODE::BETTY; 
  263.  
  264.     BOSTON::CLUS02::GOOFY1::MARY34      C=it; ADMD=garr; DD.Dnet=HEP; DD.Mail-11=BOSTON::GOOFY1::MARY34; 
  265.  
  266.     UCLA13::MVAX93::MRGATE::"MBOX1::MBX34:MYC3::BOB"      C=it; ADMD=garr; DD.Dnet=HEP;      DD.Mail-11=UCLA13::MVAX93::MRGATE::(q)MBOX1::MBX34::MYC3::BOB(q) 
  267.  
  268.  
  269.  
  270.  Allocchio                                                       [Page 8] 
  271.  RFC 1405                    Mail-11 Mapping                 January 1993 
  272.  
  273.      MIAMI2::George.Rosenthal      C=it; ADMD=garr; DD.Dnet=HEP; DD.Mail-11=MIAMI2::George.Rosenthal; 
  274.  
  275.     MRGATE::"C=xx::A=bbb::P=ppp::S=Joe"      C=it; ADMD=garr; DD.Dnet=HEP;      DD.Mail-11=X4TDEC::MRGATE::(q)C=xx::A=bbb::P=ppp::S=Joe(q) 
  276.  
  277.     MAINVX::In%"path1!path2!user%dom"      C=it; ADMD=garr; DD.Dnet=HEP;      DD.Mail-11=MAINVX::In(p)(q)path1(b)path2(b)user(p)dom(q) 
  278.  
  279. 5.3. X.400 encoding of Mail-11 --> Mail-11 
  280.  
  281.    In order to assure path reversibility in case of multiple Mail-    11/X.400 gateway crossing we must distinguish two cases: 
  282.  
  283.    - DD.Dnet=net is known to the gateway as one of the DECnet networks      it is connected to. In this case the mapping is trivial: 
  284.  
  285.         C=xx; ADMD=yyy; PRMD=zzz; O=ooo; OU=uuu; DD.Dnet=net;         DD.Mail-11=route::node::localpart; 
  286.  
  287.    (see sect. 5.2 for explication of 'xx','yyy','zzz','ooo','uuu','net') 
  288.  
  289.    maps into 
  290.  
  291.         route::node::localpart 
  292.  
  293.    - DD.Dnet=net is NOT known to the gateway as one of the DECnet      networks it is connected to. In this case the mapping rule      described into section 5.4 apply: 
  294.  
  295.         C=xx; ADMD=yyy; PRMD=www; DD.Dnet=net;         DD.Mail-11=route::node::localpart; 
  296.  
  297.    maps into 
  298.  
  299.         gwnode::gw%"C=xx;ADMD=yyy;PRMD=www;DD.Dnet=net;         DD.Mail-11=route::node::localpart;" 
  300.  
  301. 5.3.1. Examples 
  302.  
  303.    Let us suppose that: 
  304.  
  305.      the DECnet network name (net) is 'HEP';      the DECnet node name of the gateway (gwnode) is 'X4TDEC';      the Country Code of the gateway is 'IT' and its ADMD is 'garr';      (and these two fields are enough to identify uniquely the gateway 
  306.  
  307.  
  308.  
  309. Allocchio                                                       [Page 9] 
  310.  RFC 1405                    Mail-11 Mapping                 January 1993 
  311.  
  312.       within the X.400 MHS). 
  313.  
  314.      C=it; ADMD=garr; DD.Dnet=HEP;      DD.Mail-11=X4TDEC::MRGATE::(q)C=ab::A=dsa::P=qwty::OU=mie::S=Cly(q)        MRGATE::"C=ab::A=dsa::P=qwty::OU=mie::S=Cly" 
  315.  
  316.      C=it; ADMD=garr; DD.Dnet=EASYNET; DD.Mail-11=ROM01::CARLO;        X4TDEC::gw%"C=it;ADMD=garr;DD.Dnet=EASYNET;        DD.Mail-11=ROM01::CARLO;" 
  317.  
  318.    (in the above example 'EASYNET' is supposed to be not connected to    our gateway located on X4TDEC DECnet node). 
  319.  
  320. 5.4. X.400 --> Mail-11 
  321.  
  322.    The mapping of an X.400 O/R address into Mail-11 is done encoding the    various attributes into the X400-text-address as defined in chapter 4    of RFC1327, and including this as 'f-address'. A 'f-pref' and a the    DECnet node name of the gateway. 
  323.  
  324.    Thus 
  325.  
  326.       x400-text-address 
  327.  
  328.    will be encoded like 
  329.  
  330.       gwnode::gw%"x400-text-address" 
  331.  
  332.    having spaces dividing attributes as optional. 
  333.  
  334. 5.4.1. Example 
  335.  
  336.    Let us suppose that: 
  337.  
  338.      the DECnet node name of the gateway (gwnode) is 'X4TDEC'; 
  339.  
  340.    Thus 
  341.  
  342.       C=gb; ADMD=Gold 400; PRMD=AC.UK; O=ucl; OU=cs; G=Jim; S=Clay; 
  343.  
  344.    will be encoded like 
  345.  
  346.     X4TDEC::gw%"/C=gb/A=Gold 400/P=AC.UK/O=ucl/OU=cs/G=Jim/S=Clay" 
  347.  
  348.    or its equivalent with the ";" notation 
  349.  
  350.     X4TDEC::gw%"C=gb;ADMD=Gold 400;PRMD=AC.UK;O=ucl;OU=cs;G=Jim;S=Clay;" 
  351.  
  352.  
  353.  
  354.  Allocchio                                                      [Page 10] 
  355.  RFC 1405                    Mail-11 Mapping                 January 1993 
  356.  
  357.  5.5. Mail-11 encoding of X.400 --> X.400 
  358.  
  359.    It can happened that Mail-11 is used to relay messages between X.400    systems; this will mean multiple X.400/Mail-11 gateway crossing and    we will encounter Mail-11 addresses containing embedded X.400    informations. In order to assure path reversibility we must then    distinguish two cases: 
  360.  
  361.    - the embedded X.400 address belongs to a domain whose naming and      routing rules are known to the global X.400 MHS.  In this case the      mapping is trivial: 
  362.  
  363.        route::gwnode::gw%"x400-text-address" 
  364.  
  365.    maps into 
  366.  
  367.        x400-text-address 
  368.  
  369.       'route' and 'gwnode' are mapped into X.400 Trace service elements. 
  370.  
  371.    - the encoded X.400 domain does not belong to the global X.400 name      space. In this case the mapping rule described into section 5.2      apply: 
  372.  
  373.        route::gwnode::gw%"x400-text-address" 
  374.  
  375.    maps into 
  376.  
  377.        C=xx; ADMD=yyy; DD.Dnet=net;        DD.Mail-11=route::gwnode::gw(p)(q)x400-text-address(q); 
  378.  
  379.    The latter case  is deprecated and must be regarded as a possible    temporary solution only, while waiting to include into the global    X.400 MHS also this domain. 
  380.  
  381. 5.5.1. Examples 
  382.  
  383.    Let us suppose that: 
  384.  
  385.      the DECnet network name (net) is 'HEP';      the DECnet node name of the gateway (gwnode) is 'X4TDEC';      the Country Code of the gateway is 'IT' and its ADMD is 'garr';      (and these two fields are enough to identify uniquely the gateway      within the X.400 MHS). 
  386.  
  387.      X4TDEC::gw%"C=fr;ADMD=atlas;PRMD=ifip;O=poly;S=Moreau;"        C=fr; ADMD=atlas; PRMD=ifip; O=poly; S=Moreau; 
  388.  
  389.  
  390.  
  391.  Allocchio                                                      [Page 11] 
  392.  RFC 1405                    Mail-11 Mapping                 January 1993 
  393.  
  394.       X4TDEC::gw%"C=zz;ADMD= ;PRMD=Botwa;O=Miner;S=Chiuaw;"        C=it; ADMD=garr; DD.Dnet=HEP;        DD.Mail-11=X4TDEC::gw(p)(q)C=zz;ADMD= ;        PRMD=Botwa;O=Miner;S=Chiuaw;(q) 
  395.  
  396.    (in the above example  C=zz is unknown to the global X.400 MHS) 
  397.  
  398. Chapter 6 - Complex mapping 
  399.  
  400. 6.1. The protocol triangle 
  401.  
  402.    The bilateral mappings described in chapter 5 must be extended in    order to cover also the case in which also RFC822 addressing is    involved, and the following triangular situation occurs: 
  403.  
  404.                                    x.400                                    /  \                                   /    \                                  /      \                              Mail-11----RFC822 
  405.  
  406.    The X.400 - RFC822 side is fully covered by RFC1327, and the previous    chapters in this document cover the Mail-11 - X.400 side. 
  407.  
  408.    Currently a number of implementations also perform the mapping along    the Mail-11 - RFC822 side. The most important among these de facto    standards are discussed in Appendix A, jointly with a Mail-11 -    RFC822 mapping scheme which covers this side of the triangle. 
  409.  
  410. 6.2. RFC822 mapped in Mail-11 
  411.  
  412.    The 'RFC822-address' is usually included in 'local-part' as 
  413.  
  414.         route::gwnode::gw%"rfc822-address" 
  415.  
  416.    an example 
  417.  
  418.         NVXA23::SMTPGW::in%"M.T.Rose@CS.UCLA.edu" 
  419.  
  420. 6.3. Mail-11 mapped in RFC822 
  421.  
  422.    There are different styles in mapping a Mail-11 address in RFC822;    let's have a short summary. 
  423.  
  424.    - Mail-11 address encoded in "Left Hand Side" (LHS) of RFC822      address, using "%" syntax or "::" syntax; 
  425.  
  426.         route::node::localpart 
  427.  
  428.  
  429.  
  430. Allocchio                                                      [Page 12] 
  431.  RFC 1405                    Mail-11 Mapping                 January 1993 
  432.  
  433.     maps to 
  434.  
  435.         localpart%node%route@gw-domains 
  436.  
  437.    or 
  438.  
  439.         "route::node::localpart"@gw-domains 
  440.  
  441.    where 'gw-domains' identify uniquely the Mail-11 / RFC822 gateway. 
  442.  
  443.    - Mail-11 address maps partly to LHS and partly to 'domain' part of      RFC822 address: 
  444.  
  445.         node::localpart 
  446.  
  447.    maps to 
  448.  
  449.         localpart@node.gw-domains 
  450.  
  451.    - Mail-11 address is completely hidden by a mapping table / directory      and the resultant RFC822 address contains no trace at all of the      original address. 
  452.  
  453.    As you could notice, in any of the quoted cases the resultant RFC822    address is not distinguishable from a genuine RFC822 address. 
  454.  
  455. 6.4. Multiple conversions 
  456.  
  457.    Let us now examine briefly the possible situations which involve    multiple conversions, having one protocol as a relay between the    other two. This summary suggest some possible enhanced solutions to    avoid heavy and unduly mappings, but the 'step by step' approach,    considering blindly one conversion as disjointed to the other, as    described in the previous sections, can always be used. 
  458.  
  459. 6.4.1. X.400 --> RFC822 --> Mail-11 
  460.  
  461.    We apply the RFC1327 rules to the first step, obtaining an RFC822    address which can be mapped in Mail-11 using the 'f-address' field,    as described in section 6.2. 
  462.  
  463.    an example: 
  464.  
  465.       C=gb; ADMD=Gold 400; PRMD=AC.UK; O=UCL; OU=cs; G=Jim; S=Clay; 
  466.  
  467.    maps accordingly to RFC1327 to 
  468.  
  469.       Jim.Clay@cs.UCL.AC.UK 
  470.  
  471.  
  472.  
  473. Allocchio                                                      [Page 13] 
  474.  RFC 1405                    Mail-11 Mapping                 January 1993 
  475.  
  476.     and finally becomes 
  477.  
  478.       SMTPGW::In%"Jim.Clay@cs.UCL.AC.UK" 
  479.  
  480.    where 'SMTPGW' is the DECnet node name of the machine running the    RFC822 to Mail-11 gateway. 
  481.  
  482. 6.4.2. Mail-11 --> RFC822 --> X.400 
  483.  
  484.    Some of the possible mapping described in section 6.3 apply to the    Mail-11 address, hiding completely its origin. The RFC1327 apply on    the last step. 
  485.  
  486.    an example: 
  487.  
  488.       RELAY::MYNODE::BETTY 
  489.  
  490.    could map into RFC822 as 
  491.  
  492.       BETTY%MYNODE@RELAY.dnet.gw1.it 
  493.  
  494.    and accordingly to RFC1327 
  495.  
  496.       C=it; A=garr; P=dom1; O=gw1; OU=RELAY; S=BETTY(p)MYNODE; 
  497.  
  498.    where 'dnet.gw1.it' is the domain of the machine running the Mail-11    to RFC822 gateway. 
  499.  
  500. 6.4.3. X.400 --> Mail-11 --> RFC822 
  501.  
  502.    The X.400 address is stored into Mail-11 'f-address' element as    described in sections 5.3 and 5.4; then if the Mail-11 to RFC822    gateway is able to understand the presence of a 'x400-text-address'    into the Mail-11 address, then it applies RFC1327 to it, and encodes    header. Otherwise it applies the rules described in 6.3 
  503.  
  504.    an example: 
  505.  
  506.      C=gb; ADMD=Gold 400; PRMD=AC.UK; O=UCL; OU=cs; G=Jim; S=Clay; 
  507.  
  508.    will be encoded like 
  509.  
  510.      X4TDEC::gw%"/C=gb/A=Gold 400/P=AC.UK/O=UCL/OU=cs/G=Jim/S=Clay" 
  511.  
  512.    If the Mail-11 to RFC822 gateway recognise the x400-text-address,    then the address becomes, accordingly to RFC1327 
  513.  
  514.      Jim.Clay@cs.UCL.AC.UK 
  515.  
  516.  
  517.  
  518. Allocchio                                                      [Page 14] 
  519.  RFC 1405                    Mail-11 Mapping                 January 1993 
  520.  
  521.     and the following RFC822 header line is added 
  522.  
  523.      Received: from X4TDEC with DECnet (Mail-11) on xx-xxx-xxxx. 
  524.  
  525.    Otherwise one of the dumb rules could produce 
  526.  
  527.     gw%"/C=gb/A=Gold 400/P=AC.UK/O=UCL/OU=cs/G=Jim/S=Clay"@X4TDEC.doms 
  528.  
  529. 6.4.4. RFC822 --> Mail-11 --> X.400 
  530.  
  531.    The RFC822 address is encoded in Mail-11 f-address element as    described in sect. 6.2; then if the Mail-11 to X.400 gateway is able    to understand the presence of an 'RFC822-address' into the Mail-11    address, then it applies RFC1327 to it, and encodes 'route' and    applies the rules described in 5.2 and 5.5. 
  532.  
  533.    an example: 
  534.  
  535.       Jim.Clay@cs.UCL.AC.UK 
  536.  
  537.    will be encoded like 
  538.  
  539.       SMTPGW::In%"Jim.Clay@cs.UCL.AC.UK" 
  540.  
  541.    If the Mail-11 to X.400 gateway recognise the RFC822-address, then    the address becomes, accordingly to RFC1327 
  542.  
  543.       C=gb; ADMD=Gold 400; PRMD=AC.UK; O=UCL; OU=cs; G=Jim; S=Clay; 
  544.  
  545.    and a 'trace' record is added into the X.400 P1 data, stating that a    node named SMTPGW was crossed. 
  546.  
  547.    Otherwise dumb rule produces 
  548.  
  549.       C=it; ADMD=garr; DD.Dnet=HEP;       DD.Mail-11=SMTPGW::In(p)(q)Jim.Clay(a)cs.UCL.AC.UK(q) 
  550.  
  551. 6.4.5. RFC822 --> X.400 --> Mail-11 
  552.  
  553.    We apply RFC1327 to the first conversion, obtaining an X.400 address.    Then the rules described in sections 5.3 and 5.4 are used to store    the X.400 address as 'x400-text-address' into the Mail-11 
  554.  
  555.    an example: 
  556.  
  557.       Jim.Clay@cs.UCL.AC.UK 
  558.  
  559.    maps accordingly to RFC1327 to 
  560.  
  561.  
  562.  
  563. Allocchio                                                      [Page 15] 
  564.  RFC 1405                    Mail-11 Mapping                 January 1993 
  565.  
  566.        C=gb; ADMD=Gold 400; PRMD=AC.UK; O=UCL; OU=cs; G=Jim; S=Clay; 
  567.  
  568.    and finally becomes 
  569.  
  570.       SMTPGW::gw%"/C=gb/A=Gold 400/P=AC.UK/O=UCL/OU=cs/G=Jim/S=Clay" 
  571.  
  572.    where 'SMTPGW' is the DECnet node name of the machine running the    X.400 to Mail-11 gateway. 
  573.  
  574. 6.4.6. Mail-11 --> X.400 --> RFC822 
  575.  
  576.    The Mail-11 address is encoded as specified in sections 5.2 and 5.5;    then RFC1327 is used to convert the address in RFC822. 
  577.  
  578.    an example: 
  579.  
  580.       RELAY::MYNODE::BETTY 
  581.  
  582.    maps into X.400 as 
  583.  
  584.       C=it; ADMD=garr; DD.Dnet=HEP; DD.Mail-11=RELAY::MYNODE::BETTY; 
  585.  
  586.    and accordingly to RFC1327 
  587.  
  588.       "/C=it/A=garr/DD.Dnet=HEP/DD.Mail-11=RELAY::MYNODE::BETTY"@gw2.it 
  589.  
  590.    where 'gw2.it' is the domain of the machine running the RFC1327    gateway. 
  591.  
  592. Appendix A Mail-11 - RFC822 mapping 
  593.  
  594. A.1 Introduction 
  595.  
  596.    The implementation of a Mail-11 - RFC822 gateway was faced by many    software developers independently, and was included in many mail    products which were running on both VAX/VMS and UNIX systems. As    there was not a unique standard mapping way, the implementations    resulted into a number of possible variant methods to map a Mail-11    address into an RFC822 one. Some of these products became then    largely widespread, starting to create a number of de facto mapping    methods. 
  597.  
  598.    In this small appendix some sort of standardisation of the mapping    problem is considered, trying to be compatible with the existing    installed software. We must also remind that, in some cases, only    simple Mail-11 addresses could be mapped into RFC822, having complex    ones producing all sort of quite strange results. 
  599.  
  600.  
  601.  
  602.  Allocchio                                                      [Page 16] 
  603.  RFC 1405                    Mail-11 Mapping                 January 1993 
  604.  
  605.     On the other hand, the mapping of an RFC822 address in Mail-11 was    quite straightforward, resulting in a common definition which uses    "Mail-11 foreign mail protocol" to design an RFC822 address: 
  606.  
  607.       [[node::][node::]...]prot%"rfc-822-address" 
  608.  
  609.    or 
  610.  
  611.       [node::][node::]...]::"rfc-822-address" 
  612.  
  613. A.2 De facto implementations 
  614.  
  615.    A considerable number of de-facto implementations of Mail-11/RFC822    gateways is existing. As said in the introduction, the mapping of    RFC822 addresses in Mail-11 is accomplished using the foreign mail    protocol syntax and is thus unique. 
  616.  
  617.    On the other hand, Mail-11 addresses are encoded in RFC822 syntax in    various ways. Here are the most common ones: 
  618.  
  619.         a) "node::user"@gateway-address         b) user%node@gateway-address         c) user@node.decnet.domains         d) user%node.dnet@gateway-address 
  620.  
  621.    Let's have a quick look to these different choices. 
  622.  
  623.    a - This form simply encloses as quoted Left Hand Side string the        original Mail-11 address into the RFC822 address of the        Mail-11/RFC822 gateway. This method is fully conformant with        RFC822 syntax, and the Mail-11 address is left untouched; thus        no encoding rules need to applied to it. 
  624.  
  625.    b - As one will immediately notice, this form has nothing in it        indicating the address is a Mail-11 one; this makes the encoding        indistinguishable from a similar encoding of RSCS (BITnet)        addresses used by some IBM VM Mailer systems. It should thus be        deprecated. 
  626.  
  627.    c - In this case a sort of 'reserved word' (decnet)  embedded into        the address itself identifies the presence of a Mail-11 original        address preceding it. The decoding is possible, dropping        'domains' and extracting 'user' and 'node' parts. However complex        Mail-11 addresses cannot be mapped properly in this syntax, and        there is no specific rule for adding the 'domains' part of the        address. 
  628.  
  629.  
  630.  
  631.  
  632.  
  633. Allocchio                                                      [Page 17] 
  634.  RFC 1405                    Mail-11 Mapping                 January 1993 
  635.  
  636.     d - In this case again there is a 'reserved word' (dnet)  which make        possible the identification of the original Mail-11 address;        'gateway-address' points to the Mail-11/RFC822 gateway and 'node'        and 'user' information can be easily drawn from the address.        However complex Mail-11 addresses cannot be embedded easily into        this syntax. 
  637.  
  638. A.3 Recommended mappings 
  639.  
  640.    From the examples seen in the previous paragraphs we can derive a    canonical form for representing the mapping between Mail-11 and    RFC822. 
  641.  
  642. A3.1 RFC822 mapped in Mail-11 
  643.  
  644.    The mapping of an RFC822 address in Mail-11 is straightforward, using    the "Mail-11 foreign mail protocol" syntax. The two possible variants    are: 
  645.  
  646.       [[node::][node::]...]prot%"rfc-822-address" 
  647.  
  648.    or 
  649.  
  650.       [node::][node::]...]::"rfc-822-address" 
  651.  
  652. A3.2 Mail-11 mapped in RFC822 
  653.  
  654.    RFC822 foresee a canonical form for representing non-RFC822    addresses: put the foreign address in local part (Left Hand Side,    LHS) is a form as similar as possible to its original syntax. Thus    the suggested mapping is: 
  655.  
  656.       "Mail-11-address"@gateway-address 
  657.  
  658.    This format assures also the return path via the appropriate gateway. 
  659.  
  660. A.4 Conclusions 
  661.  
  662.    A standard way of mapping Mail-11 addresses into RFC822 and vice    versa is feasible. A suggestion is thus made to unify all existing    and future implementations. It should be noted, however, that there    is no way to specify in these mappings the name of the decnet    community owning the encoded address, as it was done for X.400, thus    the implementation of the 'intelligent' gateway in this case is    impossible. 
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  Allocchio                                                      [Page 18] 
  669.  RFC 1405                    Mail-11 Mapping                 January 1993 
  670.  
  671.  Acknowledgements 
  672.  
  673.    I wish to thank all those people who read the first draft and    contributed a lot with their useful suggestions to the revision of    this document, in particular RARE WG1 and IETF X.400 ops group    members and S. Hardcastle-Kille. 
  674.  
  675. References 
  676.  
  677.    [1]  CCITT, "CCITT Recommendations X.400-X.430", Message Handling         Systems: Red Book, October 1984. 
  678.  
  679.    [2]  CCITT, "CCITT Recommendations X.400-X.420", Message Handling         Systems: Blue Book, November 1988. 
  680.  
  681.    [3]  Crocker, D., "Standard of the Format of ARPA Internet Text         Messages", STD 11, RFC 822, UDel, August 1982. 
  682.  
  683.    [4]  Kille, S., "Mapping Between X.400 and RFC 822", UK Academic         Community Report (MG.19) / RFC 987, June 1986. 
  684.  
  685.    [5]  Kille, S., "Mapping Between X.400(1988) / ISO 10021 and RFC         822", RFC 1327, March 1992. 
  686.  
  687.    [6]  Digital Equipment Corp.;, "VAX/VMS Mail Utility". 
  688.  
  689.    [7]  Joiner Associates Inc., "Jnet User's Manual". 
  690.  
  691.    [8]  PMDF User's Guide. 
  692.  
  693. Security Considerations 
  694.  
  695.    Security issues are not discussed in this memo. 
  696.  
  697. Author's Address 
  698.  
  699.    Claudio Allocchio    Cosine S2.2    Sincrotrone Trieste    Area di Ricerca    Padriciano 99    I 34012 Trieste    Italy 
  700.  
  701.    Phone:   +39 40 3758523    Fax:     +39 40 226338    EMail:  Claudio.Allocchio@elettra.Trieste.it            C=it; A=garr; P=Trieste; O=Elettra; S=Allocchio; G=Claudio; 
  702.  
  703.  
  704.  
  705. Allocchio                                                      [Page 19] 
  706.  
  707.