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

  1.                                                                           Network Working Group                                    V. Cerf  (ARPA) Request for Comments: 771                                J. Postel (ISI)                                                           September 1980 
  2.  
  3.                           MAIL TRANSITION PLAN 
  4.  
  5.  PREFACE 
  6.  
  7.    This is a draft memo and comments are requested. 
  8.  
  9. INTRODUCTION 
  10.  
  11.    The principal aim of the mail service transition plan is to provide    orderly support for computer mail service during the period of    transition from the old ARPANET protocols to the new Internet    protocols. 
  12.  
  13.    This plan covers only the transition from the current text computer    mail in the ARPANET environment to text computer mail in an Internet    environment.  This plan does not address a second transition from    text only mail to multimedia mail [10,11]. 
  14.  
  15.    The goal is to provide equivalent or better service in the new    Internet environment as was available in the ARPANET environment.    During the interim period, when both protocol environments are in    use, the goal is to minimize the impact on users and existing    software, yet to permit the maximum mail exchange connectivity. 
  16.  
  17.    It is assumed that the user is familiar with both the ARPANET and    Internet protocol environments [1-8].  The Internet protocols are    designed to be used in a diverse collection of networks including the    ARPANET, Packet Radio nets, Satellite nets, and local nets (e.g.,    Ethernets, Ring nets); while the ARPANET protocol are, of course,    limited to the ARPANET. 
  18.  
  19.    The Internet protocol environment specifies TCP as the host-to-host    transport protocol.  The ARPANET protocol environment specifies NCP    as the host-to-host transport protocol.  Both TCP and NCP provide    connection type process-to-process communication.  The problem in the    transition is to bridge these two different interprocess    communication systems. 
  20.  
  21.    The objective of this plan is to specify the means by which the    ARPANET computer mail services may be extended into the Internet    system without disruptive changes for the users during the    transition. 
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.                                     1 
  30.  
  31.  
  32.                                                                          September 1980                                                   RFC 771 Mail Transition Plan                                                     
  33.  
  34.  
  35.  
  36. MODEL OF MAIL SERVICE 
  37.  
  38.    The model of the computer mail system taken here separates the mail    composition and reading functions from the mail transport functions.    In the following, the discussion will be hoplessly TOPS20-oriented.    We appologize to users of other systems, but  we feel it is better to    discuss examples we know than to attempt to be abstract. 
  39.  
  40.    In the ARPANET mail service, composition and reading is done with    user programs such as HERMES, MSG, MM, etc., while mail transmission    is done by system programs such as MAILER (sending) and FTPSRV    (receiving). 
  41.  
  42.    One element of the ARPANET mail service is the assumption that every    source of mail can have a direct interprocess communication    connection (via the NCPs) to every destination for mail.  (There are    some cases where special handling and forwarding of mail violates    this assumption.) 
  43.  
  44.    Mailbox names are of the form "MAILBOX@HOST", and it is assumed that    MAILBOX is a destination mailbox on that host. 
  45.  
  46.    The messages are actually transmitted according to the provisions of    the File Transfer Protocol.  Mail may be transimitted via either the    control connection (MAIL command), or via a data connection (MLFL    command).  In either case, the argument specifies only the mailbox    since the destination host is assumed to be the host receiving the    transmission. 
  47.  
  48.       For example:  messages sent from Postel at USC-ISIF to Cerf at       USC-ISIA would arrive at ISIA with the argument "Cerf" but no       indication of the host. 
  49.  
  50. COMPOUND AND ALTERNATE NAMES 
  51.  
  52.    Mailboxes are of the form "mailbox@host" where mailbox is usually a    name like "Postel" and host is a host identifier like "USC-ISIF".  In    some cases it will be useful to allow the host to be a compound name    such as: 
  53.  
  54.       USC-ISIA       ARPANET-ISIA       SATNET-NDRE       PPSN-RSRE       HOST1.SRINET       LSCNET/MAILROOM 
  55.  
  56.  
  57.  
  58.                                     2 
  59.  
  60.  
  61.                                                                          RFC 771                                                   September 1980                                                     Mail Transition Plan 
  62.  
  63.  
  64.  
  65.    or even the name of an organization: 
  66.  
  67.       BBN       ARPA       MIT       SRI 
  68.  
  69.    The only restriction is that "@" not appear in either the "mailbox"    or the "host" strings in the destination address. 
  70.  
  71.    To actually send the message the mailer program must convert the host    string into the physical address to which to transmit the message.    This name-to-address conversion is typically done by looking the name    up in a table and finding the physical address in another field of    that table entry.  This means that all the compound and organization    names (and any other alternate names or synonyms) must also be in the    host table. 
  72.  
  73. HIDDEN HOSTS 
  74.  
  75.    Sometimes the mailbox part of the destination address is a compound    name and is used to mark a set of mailboxes which are not really on    the host at all, but rather on another host which is connected to    this host in a non-standard way. 
  76.  
  77.    It is important to users of computer mail that replies to messages    may be easily composed with automatic assistance from the mail    processing programs.  To preserve this capability it is important    that a host understand the mailbox part of every address in every    message it sends if the host part of the address is itself. 
  78.  
  79.    That is, for every message, in every header field, in every address    "m@h", host h must understand all values of m.  Thus when a host    prepares a message it should check all the addresses that appear in    the header and for any address whose host part is this host the    mailbox part should be verified. 
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.                                     3 
  94.  
  95.  
  96.                                                                          September 1980                                                   RFC 771 Mail Transition Plan                                                     
  97.  
  98.  
  99.  
  100. THE TRANSITION PLAN 
  101.  
  102.    The basic ground rules for the transition are: 
  103.  
  104.       1.  ARPANET mailbox names must continue to work correctly. 
  105.  
  106.       2.  No changes should be required to mail editor software which       parses message headers to compose replies and the like.       Specifically,  non-ARPANET mailbox designators must be       accommodated without change to the parsing and checking mechanisms       of mail processing programs. 
  107.  
  108.       3.  Automatic forwarding of messages between NCP and TCP       environments without user (or operator) intervention. 
  109.  
  110.    For the communication of messages between NCP and TCP hosts a mail    relay service will be provided on a few hosts that implement both TCP    and NCP.  These will be "well known" in the same sense that sockets    or ports for contacting Telnet or FTP servers are well known. 
  111.  
  112.    To make use of these relay servers changes will be made to the mailer    programs.  The mailer program will be responsible for determining if    the destination address of the message is directly reachable via the    interprocess communication system it has available (TCP or NCP or    both), or if the mail must be relayed.  If the mail must be relayed,    the mailer must choose a relay server and transmit the message to it. 
  113.  
  114.    The basis for the decision the mailer must make is an expanded host    name table.  There will be a table which translates host names to    physical addresses.  The physical addresses in this table will be the    32-bit Internet addresses. (This makes sense for even NCP-only hosts,    since after 1 January 1981 even they must use 96-bit leader format    which requires 24-bit ARPANET physical addresses).  Each entry in    this table will also have some flag bits. 
  115.  
  116.    The flag bits will include information to indicate if the host in    this entry is (1) a  NCP host with "old tables", (2) a NCP host with    "new tables", (3) a TCP host, or (4) some other kind of host.  All    TCP hosts are assumed to have "new tables".  "Old tables" are those    without these flag bits, while "new tables" do have these flags. 
  117.  
  118.    A separate table may be useful to list the addresses of the hosts    with relay servers. 
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                    4 
  127.  
  128.  
  129.                                                                          RFC 771                                                   September 1980                                                     Mail Transition Plan 
  130.  
  131.  
  132.  
  133.    When a message is sent to a relay server, the control information (in    the argument of the mail transfer command) must be augmented to    include the destination host identifier. 
  134.  
  135.    The relay server may accept messages to be relayed without knowing    that destination mailbox is actually reachable.  This means that it    may later discover that the destination mailbox does not exist (or    some other condition prevents mail delivery).  To be able to report    the error to the originating user, the mailbox (mailbox@host) of the    originating user must be included in the argument of the mail    transfer command.  If the argument does not contain the address of    the originating user no error response is attempted.  The error    report, which is itself a message, does not carry an originator    address in the command argument to avoid the possibility of a endless    chain of error reports (however, an originator address does appear    the header). 
  136.  
  137.    Since the originating host will act as if the mail was successfully    delivered when it is accepted by the relay server, it deletes any    back up copies of the message it was keeping in case of errors.  For    this reason, the relay server must include the complete message in    any error report it sends to the originator.  The relay server should    parse the addresses in the argument before accepting a message.  If    it does not understand how deliver locally, or both relay and reply    (if the originating address is present) to the message, it should not    accept it. 
  138.  
  139.    There are enough differences in the transmission procedure that the    relay server will use a distinct mail transfer protocol, separate    from the file transfer protocol. 
  140.  
  141. MAIL TRANSFER PROTOCOL 
  142.  
  143.    The mail trasfer protocol to be used by the relay server and all TCP    hosts is documented in reference [9]. 
  144.  
  145. CONNECTIVITY 
  146.  
  147.    There are nine cases of mail exchange, the three by three matrix of    (1) old-table NCP hosts, (2) new-table NCP hosts, (3) TCP hosts.    There are also two transfer mechanisms:  file transfer and mail    transfer.  The diagonal is easy, each type of host can exchange mail    with other hosts of its type.  The other cases are more subtle. 
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.                                    5 
  156.  
  157.  
  158.                                                                          September 1980                                                   RFC 771 Mail Transition Plan                                                     
  159.  
  160.  
  161.  
  162.    An old-table NCP host is assumed to have a table with 32-bit physical    addresses, but no flag bits.  It has NCP and file transfer.  It does    not have the separate mail transfer protocol. 
  163.  
  164.    An new-table NCP host is assumed to have a table with 32-bit physical    addresses, and the flag bits.  It has NCP and file transfer.  It also    has the new separate mail transfer. 
  165.  
  166.    An TCP host is assumed to have a table with 32-bit physical    addresses, and the flag bits.  It has the new separate mail transfer.    It probably has a file transfer, but does not use it for mail. 
  167.  
  168.    1. Old-table NCP to Old-table NCP 
  169.  
  170.       This transfer is direct and uses the old mechanisms -- NCP and       file transfer. 
  171.  
  172.    2. New-table NCP to Old-table NCP 
  173.  
  174.       This transfer is direct and uses the old mechanisms -- NCP and       file transfer. 
  175.  
  176.    3. TCP to Old-table NCP 
  177.  
  178.       This transfer must use a relay server.  The first transfer (from       the TCP host to the relay server) is via TCP and the mail transfer       protocol.  The second transfer (from the relay server to the       old-table NCP) is via NCP and file transfer protocol. 
  179.  
  180.    4. Old-table NCP to New-table NCP 
  181.  
  182.       This transfer is direct and uses the old mechanisms -- NCP and       file transfer. 
  183.  
  184.    5. New-table NCP to New-table NCP 
  185.  
  186.       This transfer is done with the NCP and the mail transfer protocol,       that is, using the old interprocess communication system and the       new mail transmission scheme. 
  187.  
  188.    6. TCP to New-table NCP 
  189.  
  190.       This transfer must use a relay server.  The first transfer (from       the TCP host to the relay server) is via TCP and the mail transfer       protocol.  The second transfer (from the relay server to the       new-table NCP) is via NCP and mail transfer protocol. 
  191.  
  192.  
  193.  
  194.                                     6 
  195.  
  196.  
  197.                                                                          RFC 771                                                   September 1980                                                     Mail Transition Plan 
  198.  
  199.  
  200.  
  201.    7. Old-table NCP to TCP 
  202.  
  203.       This transfer must use a special relay server.  The first transfer       (from the old-table NCP to the relay server) is via NCP and the       file transfer protocol.  The second transfer (from the relay       server to the TCP host) is via TCP and mail transfer protocol.       This relay server must be special because the messages coming from       the old-table NCP host will not have the destination host       information in the command argument.  This relay server must have       a list of registered TCP user mailboxes and their associated TCP       host identifiers.  Since such a registry could be potentially       large and frequently changing (and will grow as more TCP hosts       come into existence) it will be necessary to limit the mailboxes       on the registry. 
  204.  
  205.    8. New-table NCP to TCP 
  206.  
  207.       This transfer must use a relay server.  The first transfer (from       the new-table NCP to the relay server) is via NCP and the mail       transfer protocol.  The second transfer (from the relay server to       the TCP host) is via TCP and mail transfer protocol. 
  208.  
  209.    9. TCP to TCP 
  210.  
  211.       This transfer is direct and uses the new mechanisms -- TCP and the       mail transfer protocol. 
  212.  
  213.    In general, whenever possible the new procedures are to be used. 
  214.  
  215. MULTIPLE RECIPIENTS 
  216.  
  217.    A substantial portion of the mail sent is addressed to multiple    recipients.  It would substantially cut the transmission and    processing costs if such multiple recipient mail were transfered    using the multiple recipient technique available for use in both the    old file transfer protocol [12] and new mail transfer protocol [9]. 
  218.  
  219.    The relay servers will attempt to use a multiple recipient commands    whenever applicable on transmitting messages, and will accept such    commands when revceiving messages. 
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.                                     7 
  230.  
  231.  
  232.                                                                          September 1980                                                   RFC 771 Mail Transition Plan                                                     
  233.  
  234.  
  235.  
  236. COMPOSITION AND READING PROGRAMS 
  237.  
  238.    The impact on the mail composition and reading programs is minimal.    If these programs use a table to recognize, complete, or verify host    identifiers, then they must be modified to use the new table. 
  239.  
  240.    To assist the user in replying to messages it will be important that    all addresses in the header fields (TO:, CC:, etc.) be complete with    both the mailbox and host parts.  In some cases this has not    previously been necessary since the addresses without host parts    could be assumed to be local to the originating host, and the sending    host was recorded by the receiving host.  When the messages were sent    directly the originating host was the sending host, but when messages    are relayed the originating host will not be the host sending the    mail to the destination host. 
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.                                    8 
  277.  
  278.  
  279.                                                                          RFC 771                                                   September 1980                                                     Mail Transition Plan 
  280.  
  281.  
  282.  
  283. REFERENCES 
  284.  
  285.    [1]     Cerf, V., "The Catenet Model for Internetworking," IEN 48,            DARPA/IPTO, July 1978. 
  286.  
  287.    [2]     Postel, J., "Internet Protocol," RFC 760, USC/Information            Sciences Institute, NTIS ADA079730, January 1980. 
  288.  
  289.    [3]     Postel, J., "Transmission Control Protocol," RFC 761,            USC/Information Sciences Institute, NTIS ADA082609,            January 1980. 
  290.  
  291.    [4]     Postel, J., "Telnet Protocol Specification," RFC 764,            USC/Information Sciences Institute, June 1980. 
  292.  
  293.    [4]     Postel, J., "File Transfer Protocol," RFC 765,            USC/Information Sciences Institute, June 1980. 
  294.  
  295.    [5]     Postel, J., "Assigned Numbers," USC/Information Sciences            Institute, RFC 762, January 1980. 
  296.  
  297.    [6]     Postel, J., "Internet Protocol Handbook," USC/Information            Sciences Institute, RFC 766, July 1980. 
  298.  
  299.    [7]     Feinler, E. and, J. Postel, "ARPANET Protocol Handbook,"            NIC 7104, Network Information Center, SRI International,            January 1978. 
  300.  
  301.    [8]     Crocker, D., J. Vittal, K. Pogran, and, D. Henderson,            "Standards for the Format of ARPA Network Text Messages,"            RFC 733 7104, Network Information Center, SRI International,            November 1977. 
  302.  
  303.    [9]     Sluizer, S. and, J. Postel, "Mail Transfer Protocol,"            USC/Information Sciences Institute, RFC rrr, September 1980. 
  304.  
  305.    [10]    Postel, J., "Internet Message Protocol," USC/Information            Sciences Institute, RFC 759, August 1980. 
  306.  
  307.    [11]    Postel, J., "A Structured Format for Transmission of            Multi-Media Documents," USC/Information Sciences Institute,            RFC 767, August 1980. 
  308.  
  309.    [12]    Harrenstien, K., "FTP Extension: XRSQ/XRCP,"            SRI International, RFC 743, December 1977. 
  310.  
  311.  
  312.  
  313.  
  314.  
  315.                                    9 
  316.  
  317.