home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 700s / rfc773.txt < prev    next >
Text File  |  1992-10-14  |  22KB  |  638 lines

  1.  
  2.                                                                         
  3. Network Working Group                                            V. Cerf
  4. Request for Comments: 773                                          DARPA
  5.                                                             October 1980
  6.  
  7.           COMMENTS ON NCP/TCP MAIL SERVICE TRANSITION STRATEGY
  8.  
  9.  
  10. INTRODUCTION
  11.  
  12.    This memo reviews and expands on the mail service transition plan
  13.    [20].
  14.  
  15.    The principal aim of the plan is to provide for the orderly support
  16.    of the most commonly used network service (mail) during the period of
  17.    transition from ARPANET to Internet Protocol-based operation.
  18.  
  19.    The goal of the transition is, at the end, to provide in the internet
  20.    environment service which is equivalent to or better than what has
  21.    been available in the ARPANET environment.  During the interim
  22.    period, when both internet and the older ARPANET-based protocols are
  23.    in use, the goal of the transition is to minimize user impact and, to
  24.    the extent possible, to minimize software development or modification
  25.    required to deal with transitional problems.
  26.  
  27.    It is assumed that the reader is familiar with both the ARPANET and
  28.    internet protocol hierarchies [1-17].  The internet hierarchy is
  29.    designed to interface to many different packet networks (e.g., packet
  30.    satellite, packet radio, Ethernet, LCS Ring net, X.25 public
  31.    nets, ...), while the ARPANET hierarchy is limited to ARPANET IMPs
  32.    (This is less true of the levels above NCP, but NCP itself is closely
  33.    bound to ARPANET services).
  34.  
  35.    The objective of the transition plan is to specify means by which the
  36.    ARPANET electronic mail services may be supported across the boundary
  37.    between the purely ARPANET environment and the more general internet
  38.    environment during the period of transition by ARPANET hosts to the
  39.    richer internet world.
  40.  
  41. ELECTRONIC MESSAGE SERVICES
  42.  
  43.    DARPA is beginning a new phase of research into automatic electronic
  44.    message handling systems.  Ultimately, it is intended that electronic
  45.    messages incorporate multiple media such as text, facsimile,
  46.    compressed digitized voice, graphics and so on.  Success in this new
  47.    research will require substantial progress in developing multimode
  48.    user interfaces to computer-based services (voice input/output,
  49.    graphics, tablet/light pen, facsimile input/output, video/bit mapped
  50.    displays, ...).
  51.  
  52.    At the same time, progress must be made towards an environment based
  53.    on internet protocols so as to avoid confining the results of the
  54.  
  55.  
  56.  
  57.                                    1
  58.  
  59.  
  60.                                                                         
  61. October 1980                                                     RFC 773
  62. Comments on NCP/TCP Mail Service Transition Strategy                    
  63.  
  64.  
  65.  
  66.    multimedia effort to any one network.  As a result, DARPA is planning
  67.    to make several transitions over the next few years, from the
  68.    existing, text-based ARPANET electronic message system to an
  69.    internet-based, multimedia electronic message system.
  70.  
  71.    This paper addresses only the first of the transitions from NCP-based
  72.    text mail to TCP-based multimedia mail.  The transition to the new
  73.    multimedia mail system [7,19] lies ahead, but need not be planned in
  74.    detail until we have some experience with the basic concepts.  This
  75.    first step only provides for the transition to TCP-based text mail.
  76.  
  77.    The basic ground rules for transition from ARPANET-based electronic
  78.    mail to internet electronic mail are the following:
  79.  
  80.       1.  ARPANET mailbox names must continue to work correctly.
  81.  
  82.       2.  No change required to mail editors which parse message headers
  83.           to compose replies and the like.
  84.  
  85.       3.  Accommodation of non-ARPANET mailbox designators without
  86.           change to the header parsing and checking mechanisms of mail
  87.           composition programs.
  88.  
  89.       4.  Automatic forwarding of messages between NCP and TCP
  90.           environments without user intervention.
  91.  
  92.       5.  During the transition, old style mail mechanisms must still
  93.           work.
  94.  
  95. ELECTRONIC MESSAGE MECHANISMS
  96.  
  97.    In order to make progress at all, it has been necessary to postulate
  98.    fairly sophisticated changes to the "mailer" function which accepts
  99.    as input an electronic text message and causes it to be delivered to
  100.    the destination (or to an intermediate forwarder).
  101.  
  102.    We also posit the existence of special, well-known mail forwarding
  103.    hosts on the ARPANET which are responsible for accepting messages
  104.    from NCP (TCP)-based message senders and forwarding them to
  105.    TCP (NCP)-based message receivers.
  106.  
  107.    In the ARPANET, electronic messages are transported via special
  108.    procedures of the File Transfer Protocol:  MAIL and MLFL.  The former
  109.    method sends electronic messages via the FTP Telnet command channel
  110.  
  111.  
  112.  
  113.  
  114.  
  115.                                    2
  116.  
  117.  
  118.                                                                         
  119. RFC 773                                                     October 1980
  120.                     Comments on NCP/TCP Mail Service Transition Strategy
  121.  
  122.  
  123.  
  124.    while the latter achieves this by actual file transfer.  In both
  125.    cases, it is generally assumed that the receiving FTP server is
  126.    colocated with the destination mailbox.
  127.  
  128.    Thus, the sending procedure identifies to the receiver the
  129.    destination mailbox identifier, but not the destination host (or
  130.    network) identifier.  For example, messages sent from Postel at
  131.    USC-ISIF to Adams at USC-ISIA would arrive at ISIA with an indicator
  132.    "Adams" but no indication of "ISIA".  This creates some problems when
  133.    messages must be staged at an intermediate host for further
  134.    processing, as is the case when moving from an NCP-based sender to a
  135.    TCP-based receiver, or vice-versa.  Similar considerations arise when
  136.    dealing with compatible, but different, message systems requiring
  137.    re-formatting of messages at intermediate points.
  138.  
  139.    In the following paragraphs, a mechanism is proposed for dealing with
  140.    the naming, addressing and routing [18] of messages between systems.
  141.  
  142.    At the source, it is assumed that the user has prepared the text of
  143.    the message (including "To:" and "CC:" fields) in the conventional
  144.    way [12].  The mailbox identifiers will continue to exhibit the
  145.    format:
  146.  
  147.       User@Host
  148.  
  149.    but "host" may in fact be a compound name (which is not necessarily
  150.    parsed), such as:
  151.  
  152.       USC-ISIA
  153.       ARPANET-ISIA
  154.       SATNET-NDRE
  155.       PPSN-RSRE
  156.       HOST1.SRINET
  157.       LCSNET/MAILROOM
  158.  
  159.    or even the name of an organization, such as:
  160.  
  161.       BBN
  162.       ARPA
  163.       MIT
  164.       SRI
  165.  
  166.    The only restriction is that the "@" not appear in either "user" or
  167.    "host" strings in the mailbox identifier.
  168.  
  169.    During message composition, the "user" or "host" portions of the
  170.  
  171.  
  172.  
  173.                                    3
  174.  
  175.  
  176.                                                                         
  177. October 1980                                                     RFC 773
  178. Comments on NCP/TCP Mail Service Transition Strategy                    
  179.  
  180.  
  181.  
  182.    mailbox identifier may be verified for correctness (or at least for
  183.    validity).  The "user" string may incorporate parenthetical
  184.    information such as
  185.  
  186.       RAK(Richard A. Karp)@SU-AI
  187.  
  188.    as is currently allowed.
  189.  
  190.    After composition, messages are either sent immediately or left as
  191.    "unsent mail" files to be sent later by mailer demons.  The actual
  192.    sending process uses the "host" string to determine where and how to
  193.    send the message.
  194.  
  195. NEW MAIL MECHANISMS
  196.  
  197.    At this point, we encounter the first critical new requirement to
  198.    support the transition plan.  A new table is needed within the mailer
  199.    or in the host supporting the mailer or accessible to the mailer via
  200.    the internet name server (for instance).  This table must provide for
  201.    mapping of the "host" string into an internet destination address
  202.    (i.e., 32 bits: 8 bits of net, 24 bits of host), and must also
  203.    indicate whether the destination is NCP or TCP capable.
  204.  
  205.    In the event that the source and destination hosts do not have a
  206.    compatible host level protocol (e.g. source is NCP only, destination
  207.    is TCP only) then the message must be passed to a "forwarder" which
  208.    can stage the transport by accepting via one protocol and forwarding
  209.    by another.
  210.  
  211.    This leads to a problem for the forwarding host since the basic FTP
  212.    mail mechanism sends only the "user" portion of the mailbox
  213.    identifier ("user@host") because the assumption is that the "host" is
  214.    the destination.  In the case of forwarding, the "host" is not the
  215.    forwarder.  Even if we cleverly arrange for "host" to translate into
  216.    the internet address of a forwarder, we will have two problems.
  217.    First, the forwarder may need the "host" information to figure where
  218.    now to forward the message and second, depending on which network the
  219.    source is in, "host" may need to translate into different forwarder
  220.    addresses.  The latter observation raises the spectre of many
  221.    different mappings of a given "host" string which would require
  222.    different tables for different mail sources.  This would lead to
  223.    considerable complexity in the maintenance and distribution of tables
  224.    of forwarder addresses.  Furthermore, a single-entry table mapping
  225.    "host" to forwarder would limit reliability since only one forwarder
  226.    would be bound to serve a giver "host".
  227.  
  228.  
  229.  
  230.  
  231.                                    4
  232.  
  233.  
  234.                                                                         
  235. RFC 773                                                     October 1980
  236.                     Comments on NCP/TCP Mail Service Transition Strategy
  237.  
  238.  
  239.  
  240.    For the NCP/TCP transition, it may be sufficient to declare some set
  241.    of well-known hosts to be NCP/TCP forwarders.  Each mailer, when it
  242.    discovers an incompatible destination, can send the message to any
  243.    forwarder which is available.  In addition, however, the mailer must
  244.    provide full mailbox identifier information "user@host" to the
  245.    forwarding host.
  246.  
  247.    In the present mailers, only the "user" portion of the mailbox
  248.    identifier is sent, so all mailers must change to send "user@host"
  249.    when sending to a forwarder.  The mailers all have to learn how to do
  250.    table look-up a new way, also, to map "host" into internet addresses
  251.    and to interpret the NCP or TCP capability information.
  252.  
  253.    For purposes of this discussion, we postulate three different cases
  254.    of electronic mail service implementation which must be made to
  255.    interoperate during the transition:
  256.  
  257.       1.  Unchanged OLD NCP (RFC733) mail
  258.  
  259.       2.  NCP mail with new internet tables
  260.  
  261.       3.  TCP mail with new internet tables.
  262.  
  263.    The second case assumes that the host has adopted a new host-string
  264.    to address table (including NCP/TCP capability bits) and new mailer -
  265.    mail server programs, but continues to use the old NCP host level
  266.    protocol, modified to send "user@host" when sending to a forwarder.
  267.    For such hosts, the only table entries which result in direct
  268.    source-destination mail delivery are those showing NCP capability.
  269.    If the destination is TCP capable only then the source host selects a
  270.    forwarder address from another table and sends the message to it for
  271.    further processing.
  272.  
  273.    In the third case, the source host has fully transitioned to TCP,
  274.    uses the new internet address tables to translate host-strings into
  275.    internet addresses, and uses the new mailer - mail server.
  276.    Destinations which are NCP-compatible only are reached via NCP/TCP
  277.    forwarders.
  278.  
  279.    Mail composition programs (e.g. SNDMSG, MSG, Hermes, MH,...) which
  280.    today use ARPANET string-to-address tables to verify the legality of
  281.    host names in mailbox entries can continue to use these "old" tables
  282.    as long as these are updated to include internet host names as well
  283.    as ARPANET host names.
  284.  
  285.    Indeed, expanding the old tables is essential to handle the hardest
  286.  
  287.  
  288.  
  289.                                    5
  290.  
  291.  
  292.                                                                         
  293. October 1980                                                     RFC 773
  294. Comments on NCP/TCP Mail Service Transition Strategy                    
  295.  
  296.  
  297.  
  298.    transition case:  OLD NCP to new TCP mail.  The three types of hosts
  299.    lead to a 3 by 3 matrix of cases of mail transfer.  In all but one
  300.    case, mail is either handled directly or explicitly by forwarder.
  301.    The only case needing further explanation is OLD NCP to NEW TCP which
  302.    uses an "implicit forwarder."
  303.  
  304. IMPLICIT FORWARDING VS EXPLICIT FORWARDING
  305.  
  306.    If the source host has adopted the new internet tables, it can tell
  307.    whether the destination host has a compatible mail acceptance
  308.    protocol.  Incompatibility is explicitly resolved by selection of an
  309.    intermediate forwarder.
  310.  
  311.    If, however, the source host is still using pure NCP tables, it will
  312.    not be able to tell that a particular destination host is only
  313.    TCP-capable.  To provide service for this case, it is proposed to
  314.    expand the conventional NCP host table to include internet host
  315.    names, but to map them into the addresses of implicit mail forwarders
  316.    (i.e. Aliases).
  317.  
  318.    Since we are postulating a case in which the NCP host has made no
  319.    change (except for extending the host table). we also assume that the
  320.    source host cannot send the "user@host" information via FTP to the
  321.    intermediate forwarder.
  322.  
  323.    This leaves the intermediate forwarder with the problem of figuring
  324.    out where to forward a message identified by "user" only.  In this
  325.    case, we postulate that internet TCP-only mailboxes are registered at
  326.    implicit forwarders so that incoming mail from conventional NCP
  327.    sources can be forwarded successfully to the destination.
  328.  
  329.    In the reverse direction, the source can use explicit forwarding
  330.    because it is assumed that all TCP hosts use the new internet tables.
  331.  
  332.    The use of registered names in the implicit forwarder raises two
  333.    problems:
  334.  
  335.       1.  How can we deal with ambiguous mailbox names?  (e.g. USERX@BBN
  336.           and USERX@ISI look the same if only the string "USERX" is
  337.           presented to the intermediate forwarder)
  338.  
  339.       2.  How can we collect, update and distribute changes to the
  340.           registries at implicit forwarders?
  341.  
  342.    In the first case, we propose to duck the problem by insisting on
  343.  
  344.  
  345.  
  346.  
  347.                                    6
  348.  
  349.  
  350.                                                                         
  351. RFC 773                                                     October 1980
  352.                     Comments on NCP/TCP Mail Service Transition Strategy
  353.  
  354.  
  355.  
  356.    unambiguous mailbox names everywhere.  This may force some internet
  357.    mail users to change their mailbox names, but we believe this will be
  358.    rare.
  359.  
  360.    The second problem can be solved by collecting information on a
  361.    regular basis from all network mail users and cataloging this data in
  362.    a database which can be accessed automatically (e.g. by mailer
  363.    programs).
  364.  
  365.    One possible mechanism is to make the data available through an
  366.    internet mailbox name server analogous to the internet host name
  367.    server [6].  This data might be collectible as a natural part of the
  368.    TIP LOGIN database which is under development to permit expanded
  369.    access to the ARPANET TIPs by legitimate ARPANET users.
  370.  
  371.    In any case, internet mail users need supply their mailbox
  372.    information to a single collection site which would disseminate it to
  373.    all implicit forwarders on ARPANET.  Note that such forwarders are
  374.    only needed on ARPANET since all other systems are starting with the
  375.    TCP-base.  It is the internet mailbox users who must register,
  376.    however, since they are the ones who cannot otherwise be reached via
  377.    NCP.
  378.  
  379. FORWARDER CHARACTERISTICS
  380.  
  381.    By their definition, NCP/TCP forwarders must be both NCP and TCP
  382.    capable. Consequently, all NCP/TCP forwarders must be ARPANET hosts.
  383.  
  384.    Implicit forwarders must accept conventional NCP/FTP mail [11] and be
  385.    equipped with tables of valid internet user mailbox names which can
  386.    be associated with the proper destination host.  To allow implicit
  387.    forwarders to also accept ordinary mail for users with mailboxes on
  388.    the implicit forwarder, the forwarder should check first whether
  389.    incoming mail is for a local user.
  390.  
  391.    Explicit mail forwarders must be able to accept both conventional
  392.    NCP-FTP mail commands (for local user mail) and both NCP-based and
  393.    TCP-based mail server commands (whose arguments include the full
  394.    destination mailbox strings "user@host").
  395.  
  396.    To prevent potentially anomalous behavior, the NCP-based and
  397.    TCP-based mail servers will offer service on socket/port 57 (71
  398.    octal).  To summarize the communication patterns:
  399.  
  400.       (a)  TCP sends/receives mail via well known port 57.
  401.  
  402.  
  403.  
  404.  
  405.                                    7
  406.  
  407.  
  408.                                                                         
  409. October 1980                                                     RFC 773
  410. Comments on NCP/TCP Mail Service Transition Strategy                    
  411.  
  412.  
  413.  
  414.       (b)  implicit forwarder receives conventional NCP/FTP mail on
  415.            well-known socket 3, and sends TCP mail to port 57.
  416.  
  417.       c)  explicit forwarder receives NCP mail on well-known socket 57,
  418.            but sends NCP mail via NCP/FTP on socket 3.  TCP mail is
  419.            sent/received via port 57.
  420.  
  421. USER HOST CHARACTERISTICS
  422.  
  423.    NCP hosts must at minimum, update host name tables to include aliases
  424.    for internet hosts (i.e. map to NCP implicit forwarder host
  425.    addresses).
  426.  
  427.    The next most useful step is to update NCP hosts to include internet
  428.    address tables and NCP/TCP capability bits so as to make use of
  429.    explicit forwarders.  This requires implementation of the mail server
  430.    and modification of the mailer programs for sending mail to explicit
  431.    forwarders.  This also requires addition of explicit forwarder
  432.    address tables.
  433.  
  434.    Finally, a host can implement full TCP mail services, incorporating
  435.    internet name tables and explicit forwarder address tables as well.
  436.  
  437. DANGLING PARTICIPLES
  438.  
  439.    1.  Error message handling needs to be worked out in detail to assure
  440.        reasonable reporting of problems with the use of forwarders.
  441.  
  442.    2.  Designation of forwarding hosts.
  443.  
  444.    3.  Collection of internet mailbox names for implicit forwarders.
  445.  
  446.    4.  Format and distribution of internet name table and NCP/TCP
  447.        capability information.
  448.  
  449.    5.  Dealing with mail systems not compatible with NCP, TCP or RFC733.
  450.        (e.g. Telemail, On-Tyme, Phonenet, TWX, TELEX,...)
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.                                    8
  464.  
  465.  
  466.                                                                         
  467. RFC 773                                                     October 1980
  468.                     Comments on NCP/TCP Mail Service Transition Strategy
  469.  
  470.  
  471.  
  472. PLANS
  473.  
  474.    To encourage this transition, the following schedule is proposed:
  475.  
  476.       1.  January 1, l981 - implicit and explicit NCP/TCP forwarders
  477.           made available on various service hosts (e.g. TOPS-20).
  478.  
  479.       2.  January 1, l982 - implicit NCP/TCP forwarder service removed;
  480.           explicit forwarding service continues.
  481.  
  482.       3.  January 1, l983 - explicit NCP/TCP forwarding service
  483.           terminated, transition to TCP complete.
  484.  
  485. ACKNOWLEDGEMENTS
  486.  
  487.    A number of people have reviewed and commented on this contribution.
  488.    Particular comments by J. Pickens, J. Postel, J. Haverty, D. Farber
  489.    and D. Adams are gratefully acknowledged.
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.                                    9
  522.  
  523.  
  524.                                                                         
  525. October 1980                                                     RFC 773
  526. Comments on NCP/TCP Mail Service Transition Strategy                    
  527.  
  528.  
  529.  
  530.                                REFERENCES
  531.  
  532.    1.  DoD Standard Internet Protocol, IEN 128, RFC 760, NTIS
  533.        ADA 079730, Jan 1980.
  534.  
  535.    2.  DoD Standard Transmission Control Protocol, IEN 129, RFC 761,
  536.        NTIS ADA 082609, Jan 1980.
  537.  
  538.    3.  Postel, J., Telnet Protocol Specification, IEN 148, RFC 764,
  539.        Jun 1980.
  540.  
  541.    4.  Postel, J., File Transfer Protocol, IEN 149, RFC 765, Jun 1980.
  542.  
  543.    5.  Postel, J., User Datagram Protocol, RFC 768, Aug 1980.
  544.  
  545.    6.  Postel, J., Internet Name Server, IEN 116, Aug 1979.
  546.  
  547.    7.  Postel, J., Internet Message Protocol, IEN 113, RFC 759, Aug
  548.        1980.
  549.  
  550.    8.  Postel, Sunshine, Cohen, The ARPA Internet Protocol, in
  551.        preparation.
  552.  
  553.    9.  NCP:  ARPANET Protocol Handbook, NIC 7104, Jan 1978.
  554.  
  555.    10.  Telnet:  ARPANET Protocol Handbook, NIC 7104, Jan 1978.
  556.  
  557.    11.  FTP:  ARPANET Protocol Handbook, NIC 7104, Jan 1978.
  558.  
  559.    12.  D. Crocker, J. Vittal, K. Pogran, A. Henderson, Standard for the
  560.         Format of ARPA Network Text Messages, RFC 733, Nov 1977.
  561.  
  562.    13.  Crocker, et.al., Function-Oriented Protocols for the ARPA
  563.         Computer Network, SJCC, May, 1972.
  564.  
  565.    14.  Carr, Crocker, Cerf, Host-Host Communication Protocol in the
  566.         ARPA Network, SJCC, May, 1970.
  567.  
  568.    15.  Cerf, V., The Catenet Model for Internetworking, IEN 48,
  569.         DARPA/IPTO, Jul 1978.
  570.  
  571.    16.  BBN 1822:  Specifications for the Interconnection of a Host and
  572.         an IMP, BBN Report No. 1822.
  573.  
  574.    17.  Heart, et.al., The Interface Message Processor for the ARPA
  575.         Computer Network, SJCC, May, 1970.
  576.  
  577.  
  578.  
  579.                                    10
  580.  
  581.  
  582.                                                                         
  583. RFC 773                                                     October 1980
  584.                     Comments on NCP/TCP Mail Service Transition Strategy
  585.  
  586.  
  587.  
  588.    18.  Shoch, J., Inter-Network Naming, Addressing, and Routing,
  589.         COMPCOM, Fall 1978.
  590.  
  591.    19.  Postel, J., A Structured Format for Transmission of Multi-Media
  592.         Documents, RFC 767, Aug 1980.
  593.  
  594.    20.  Cerf, V. and, J. Postel, Mail Transition Plan, RFC 771,
  595.         Sep 1980.
  596.  
  597.    21.  Sluizer, S. and, J. Postel, Mail Transfer Protocol, RFC 772,
  598.         Sep 1980.
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.                                    11
  638.