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

  1.  
  2.  
  3. RFC 754                                                        J. Postel
  4.                                                                      ISI
  5.                                                             6 April 1979
  6.  
  7.  
  8.  
  9.                    Out-of-Net Host Addresses for Mail
  10.  
  11. There is now interest in sustantially extending the scope of the
  12. computer mail system used in the ARPANET to allow communication of
  13. voice, fax, graphics, as well as text information between users in
  14. different networks as wells as within the ARPANET.
  15.  
  16. The discussion of a transition from the current ARPANET sndmsg
  17. environment and mechanisms to a more general internet environment and
  18. richer mechanisms must consider techniques for continued activity during
  19. the transition.  In addition, there is a current need for a mechanism to
  20. support the interaction of the several already existing NSW-like message
  21. environments with the ARPANET message environment.
  22.  
  23. This memo discusses some possible alternatives for computer mail
  24. addressing for hosts outside the ARPANET in the short term.  This memo
  25. is hopelessly Tenex oriented in its descriptions and examples.
  26.  
  27. It helps to keep a few goals in mind while considering the alternative
  28. solutions:
  29.  
  30. Goals:
  31.  
  32.    1) Minimum Change to Existing Software.
  33.  
  34.    2) Maximum User Acceptance.
  35.  
  36.    3) Maximum Compatibility with the future Internet Message
  37.    Environment.
  38.  
  39.    4) Minimum Special Transition Software.
  40.  
  41. These goals are to some degree incompatible, so the evaluation should be
  42. expected to involve a trade off.
  43.  
  44. At this point, it would be good to have a model of the current situation
  45. and mechanisms of the ARPANET message environment.  It is assumed the
  46. reader understands it well enough to dispense with a long description of
  47. how a message gets from A to B.  The important thing is to note the
  48. types of players in the picture.  There are:
  49.  
  50.    message composition (or sending) programs (e.g., Hermes, SNDMSG), in
  51.    general there are several message composition programs for each type
  52.    of operating system or host in the network,
  53.  
  54.  
  55.  
  56.  
  57. Postel                                                          [page 1]
  58.  
  59.  
  60. RFC 754                                                     6 April 1979
  61. Out-of-Net Host Addresses for Mail
  62.  
  63.  
  64.  
  65.    mailers,
  66.  
  67.    mail servers (i.e., FTP servers) that receive the mail coming into at
  68.    host and deposit it in mailboxes,
  69.  
  70.    message processing (or reading) programs (e.g., Hermes, MSG, RD), in
  71.    general there are several message processing programs for each type
  72.    of operating system or host in the network,  and note that the more
  73.    developed mail are both reading and sending programs.
  74.  
  75. Messages are transmitted as a character string to an address which is
  76. specified "outside" the message.  The destination host ("YYY") is
  77. specified to the sending (or user) FTP as the argument of the "open
  78. connection" command, and the destination user ("XXX") is specified to
  79. the receiving (or server) FTP as the argument of the "MAIL" (or "MLFL")
  80. command.  In Tenex, when mail is queued this outside information is
  81. saved in the file name ("[---].XXX@YYY").
  82.  
  83. The proposed solutions are briefly characterized.
  84.  
  85. Proposed Solutions:
  86.  
  87.    This first pass at describing the solutions is rather brief and
  88.    intended to set the scene for a subsequent discussion based on
  89.    examples.
  90.  
  91.    A) SINGLE MAILBOX
  92.  
  93.       This solution suggests that all mail for another network be routed
  94.       to a single mailbox on a forwarding host on the ARPANET.  The FTP
  95.       server would naturally put all the mail for this mailbox into a
  96.       single file to be examined by a routing deamon process.  The
  97.       routing deamon process would use information in new header lines
  98.       to determine the actual destination.
  99.  
  100.       Format:
  101.  
  102.          Outside:  [---].NSW-MAIL@FWDR
  103.  
  104.          Inside:   To:       NSW-MAIL@FWDR
  105.                    From:     Sam@ISIB
  106.                    NSW-User: Joe
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115. Postel                                                          [page 2]
  116.  
  117.  
  118. RFC 754                                                     6 April 1979
  119. Out-of-Net Host Addresses for Mail
  120.  
  121.  
  122.  
  123.    B) GLOBAL NAMES INSIDE
  124.  
  125.       This proposal suggests that all mail for users in another network
  126.       be sent to a single mailbox on a forwarding host.  The FTP server
  127.       would naturally put all the mail for this mailbox into a single
  128.       file to be examined by a routing deamon process.  The routing
  129.       deamon process would use information in existing header lines to
  130.       determine the actual destination.
  131.  
  132.       Format:
  133.  
  134.          Outside: [---].NSW-MAIL@FWDR
  135.  
  136.          Inside:  To:   Joe@NSW
  137.                   From: Sam@ISIB
  138.  
  139.    C) GLOBAL NAMES OUTSIDE
  140.  
  141.       This proposal suggests that mail for users in another network be
  142.       sent to distinct per user mailbox names on a forwarding host.  The
  143.       FTP server would somehow put all the mail for these mailboxes into
  144.       a single file to be examined by a routing deamon process.  The
  145.       routing deamon process would use information in existing header
  146.       lines to determine the actual destination.
  147.  
  148.       Format:
  149.  
  150.          Outside: [---].Joe@FWDR or [---].Joe@NSW
  151.  
  152.          Inside:  To:   Joe@NSW
  153.                   From: Sam@ISIB
  154.  
  155.    D) STRUCTURED NAMES
  156.  
  157.       This proposal suggests that mail for users in another network be
  158.       sent to distinct per user mailbox names on a forwarding host,
  159.       however, these mailbox names would have a common "network" part
  160.       and a unique "user" part.  By recognizing the common part the FTP
  161.       server would put the mail and the mailbox name into a single file
  162.       to be examined by a routing deamon process.  The routing deamon
  163.       process would use mailbox name information to determine the actual
  164.       destination.
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173. Postel                                                          [page 3]
  174.  
  175.  
  176. RFC 754                                                     6 April 1979
  177. Out-of-Net Host Addresses for Mail
  178.  
  179.  
  180.  
  181.       Format:
  182.  
  183.          Outside:  [---].NSW-Joe@FWDR
  184.  
  185.          Inside:  To:   NSW-Joe@FWDR
  186.                   From: Sam@ISIB
  187.  
  188. Before further examination of the advantages and disadvantages of these
  189. proposals, it would be well to have some more detailed criteria in mind
  190. to help expose the degree to which the goals are met.
  191.  
  192. Criteria:
  193.  
  194.    1) What changes are needed?
  195.  
  196.    2) How many instances of the change need to be implemented?
  197.  
  198.    3) What information does the routing deamon use?
  199.  
  200.    4) How does the "answer" command work?
  201.  
  202.    5) How is the name space used?
  203.  
  204.    It is particularly instructive to work through examples with a
  205.    mixture of mailbox destinations in the ARPANET and other networks in
  206.    each of the "To:" and "CC:" fields and to see what happens when one
  207.    wants to send an answer to all, just the "To:", or just the "CC:", or
  208.    just the "From:" or "Sender:" mailboxes.
  209.  
  210. Solutions Reconsidered:
  211.  
  212.    It is easier to talk about these things in terms of examples.  In the
  213.    following "NSW" is an example of a network name.  "FWDR" is a host
  214.    name, or nickname for the forwarding host.  Also note that for all of
  215.    these solutions it is assumed that host tables can have alternate or
  216.    nicknames for hosts, e.g., FWDR could map to 86 while ISI also maps
  217.    to 86, although this is not essential.
  218.  
  219.    In addition, all these solutions provide a single forwarding point
  220.    from the ARPANET into the destination net.
  221.  
  222.    All forwarded messages are handled by a routing deamon which lives in
  223.    the FWDR host.
  224.  
  225.    Also note that the information shown as the "outside" information is
  226.    the Tenex representation.  The key thing is the mailbox argument
  227.    value that is passed to the FTP server is the one in the string
  228.  
  229.  
  230.  
  231. Postel                                                          [page 4]
  232.  
  233.  
  234. RFC 754                                                     6 April 1979
  235. Out-of-Net Host Addresses for Mail
  236.  
  237.  
  238.  
  239.    "[---].XXX@YYY", not anything from the header.  Only the string "XXX"
  240.    is passed to the FTP server.
  241.  
  242.    A) SINGLE MAILBOX
  243.  
  244.       Example:
  245.  
  246.          Outside:  [---].NSW-MAIL@FWDR
  247.  
  248.          Inside:   To:       NSW-MAIL@FWDR,Bill@ISIA
  249.                    CC:       Jeff@ISIB
  250.                    From:     Joe@ISIB
  251.                    NSW-User-To: SAM,Fred
  252.                    NSW-User-CC: Bob,Mike
  253.  
  254.          or
  255.  
  256.          Outside:  [---].NSW-MAIL@FWDR
  257.  
  258.          Inside:   To:       NSW-MAIL@FWDR,Bill@ISIA
  259.                    CC:       Jeff@ISIB
  260.                    From:     NSW-MAIL@FWDR
  261.                    NSW-User-To: SAM,Fred
  262.                    NSW-User-CC: Bob,Mike
  263.                    NSW-User-From: Paul
  264.  
  265.       Every mail composition program has to change to make it easy for
  266.       users to put the "NSW-User:" line in the header.  Every mail
  267.       reading program has to change to notice and make use of this line.
  268.       In an "answer" command the mail processing program has to know to
  269.       copy this line into the answer message.  The deamon has to examine
  270.       the inside message header to find the "NSW-User:" line and forward
  271.       the message to the users listed there.  If there is a message that
  272.       has both NSW and ARPANET mailboxes in both the "To:" and "CC:"
  273.       lines, then it seems there must be both a "NSW-Users-To:" and a
  274.       "NSW-Users-CC:" lines if it is to be possible to send an answer to
  275.       just the users in the "To:" lines.  If there is another network,
  276.       e.g. PRNET, then another set of header lines must be introduced,
  277.       e.g. PRNET-USER-To: etc., that is up to four new lines per network
  278.       (To, CC, From, Sender).
  279.  
  280.       This solution has the advantage of saving some transmissions:
  281.       when several of the destination mailboxes are in NSW, the sending
  282.       program sends just one copy to the FWDR and routing deamon, the
  283.       routing deamon sends copies to all NSW users it finds.  If this is
  284.       not done, the deamon would have difficulty avoiding sending
  285.       multiple copies to each destination user.
  286.  
  287.  
  288.  
  289. Postel                                                          [page 5]
  290.  
  291.  
  292. RFC 754                                                     6 April 1979
  293. Out-of-Net Host Addresses for Mail
  294.  
  295.  
  296.  
  297.       A problem arises about acknowledgements of mail receipt.  First
  298.       the normal ARPANET message delivery mechanisms will say the mail
  299.       is delivered when the FTP server puts the mail in the file for the
  300.       routing deamon to examine.  Second if the routing deamon discovers
  301.       an message is to be forwarded to a nonexistent user, care must be
  302.       used to notify the original sender unambiguously.
  303.  
  304.       Changes:
  305.  
  306.          all composition programs
  307.  
  308.    B) GLOBAL NAMES INSIDE
  309.  
  310.       Example:
  311.  
  312.          Outside:  [---].NSW-MAIL@FWDR
  313.  
  314.          Inside:   To:       Joe@NSW, Bill@ISIA, Fred@NSW
  315.                    CC:       Mike@NSW, Paul@NSW, John@ISIB
  316.                    From:     Sam@ISIB
  317.  
  318.       Every mail composition program has to know that NSW is a very
  319.       special host name, for which it uses a different mailbox argument
  320.       and sends to the FWDR host.  The FTP server naturally puts all the
  321.       NSW mail into a single mailbox file which the routing deamon
  322.       examines.  The "answer" command works fine.  The routing deamon
  323.       has to look at the inside header to determine where to forward the
  324.       messages.  It has to check the "To:" and "CC:" lines.
  325.  
  326.       The sending programs must also send just one copy to the FWDR and
  327.       routing deamon, the routing deamon will send copies to all NSW
  328.       users it finds.  If this is not done, the deamon would have
  329.       difficulty avoiding sending multiple copies to each destination
  330.       user.  This is an advantage in terms of number of transmissions.
  331.  
  332.       A problem arises about acknowledgements of mail receipt.  First
  333.       the normal ARPANET message delivery mechanisms will say the mail
  334.       is delivered when the FTP server puts the mail in the file for the
  335.       routing deamon to examine.  Second if the routing deamon discovers
  336.       an message is to be forwarded to a nonexistent user, care must be
  337.       used to notify the original sender unambiguously.
  338.  
  339.       Changes:
  340.  
  341.          all sending programs
  342.  
  343.  
  344.  
  345.  
  346.  
  347. Postel                                                          [page 6]
  348.  
  349.  
  350. RFC 754                                                     6 April 1979
  351. Out-of-Net Host Addresses for Mail
  352.  
  353.  
  354.  
  355.    C) GLOBAL NAMES OUTSIDE
  356.  
  357.       Example:
  358.  
  359.          Outside:  [---].Joe@NSW
  360.  
  361.          Inside:   To:       Joe@NSW, Bill@ISIA, Fred@NSW
  362.                    CC:       Mike@NSW, Paul@NSW, John@ISIB
  363.                    From:     Sam@ISIB
  364.  
  365.       No changes to mail composition or processing programs are needed.
  366.       The FTP server has to put all the NSW users mail into a single
  367.       mailbox file which the routing deamon examines.  The cheapest way
  368.       to do this is to put all the names of the NSW users in the ARPANET
  369.       user forwarding file with the same destination ARPANET mailbox.
  370.       This means the local users of the FWDR host and the users in the
  371.       destination networks share the name space for user names.  The
  372.       routing deamon has to look at the inside header to determine where
  373.       to forward the messages.  It has to check the "To:" and "CC:"
  374.       lines.
  375.  
  376.       This appears to be the solution with the minimum change to
  377.       existing software.  The "answer" command works fine.
  378.  
  379.       There is a problem with the name space, for example, if ISIA
  380.       serves as FWDR host, then Fred@ISI and Fred@NSW cannot co-exist.
  381.       Further, there is the database update problem.  Every time a new
  382.       user is added to NSW or any of the hosts in any of the nets that
  383.       the FWDR host serves the forwarding file at the FWDR host has to
  384.       be updated.  The names added have to be unique so all user names
  385.       assigned in NSW and all the hosts on all the networks served by
  386.       the same FWDR host have to be oked by the "forwarding file data
  387.       base administrator" before they can actually be used.  Also note
  388.       that Fred@NSW and Fred@PRNET cannot be routed through the same
  389.       FWDR host.
  390.  
  391.       This doesn't work too well, if the sending programs are not
  392.       changed they will send one copy of this message for each NSW user
  393.       and all these copies will end up in the file to be examined by the
  394.       routing deamon.  If the FTP server code is not changed the outside
  395.       information will be lost and the routing deamon will have no idea
  396.       which NSW user this copy is for.  To do the job right with the
  397.       information available the routing deamon would have to keep a
  398.       substantial record about each message it handled checking to see
  399.       if it received for, and send a copy to, each intended destination
  400.       user.
  401.  
  402.  
  403.  
  404.  
  405. Postel                                                          [page 7]
  406.  
  407.  
  408. RFC 754                                                     6 April 1979
  409. Out-of-Net Host Addresses for Mail
  410.  
  411.  
  412.  
  413.       A problem arises about acknowledgements of mail receipt.  First
  414.       the normal ARPANET message delivery mechanisms will say the mail
  415.       is delivered when the FTP server puts the mail in the file for the
  416.       routing deamon to examine.  Second if the routing deamon discovers
  417.       an message is to be forwarded to a nonexistent user, care must be
  418.       used to notify the original sender unambiguously.
  419.  
  420.       Changes:
  421.  
  422.          ARPANET user forwarding file at FWDR host
  423.  
  424.    D) STRUCTURED NAMES
  425.  
  426.       Example:
  427.  
  428.          Outside:  [---].NSW-Joe@NSW
  429.  
  430.          Inside:   To:       NSW-Joe@NSW, Bill@ISIA, NSW-Fred@NSW
  431.                    CC:       NSW-Mike@NSW, NSW-Paul@NSW, John@ISIB
  432.                    From:     Sam@ISIB
  433.  
  434.       No changes to mail composition or processing programs are needed.
  435.       The FTP server has to put all the NSW-x users mail into a single
  436.       file which the routing deamon examines.  The FTP server can do
  437.       this on the recognition of the "NSW-" prefix without knowing all
  438.       the legal individual users.  In addition the FTP server puts the
  439.       mailbox argument into the file with the message.  This is
  440.       necessary to avoid the loss of the "outside" information.  The
  441.       routing deamon can then look at the mailbox argument to determine
  442.       where to forward the messages.  It need not look at the inside of
  443.       the message at all.  The "answer" command works fine.
  444.  
  445.       A problem arises about acknowledgements of mail receipt.  First
  446.       the normal ARPANET message delivery mechanisms will say the mail
  447.       is delivered when the FTP server puts the mail in the file for the
  448.       routing deamon to examine.  However, if the routing deamon
  449.       discovers an message is to be forwarded to a nonexistent user, the
  450.       deamon can easily tell the original sender the exact destination
  451.       user that is unreachable.
  452.  
  453.       Changes:
  454.  
  455.          FTP server at FWDR host
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. Postel                                                          [page 8]
  464.  
  465.  
  466. RFC 754                                                     6 April 1979
  467. Out-of-Net Host Addresses for Mail
  468.  
  469.  
  470.  
  471. Summary:
  472.  
  473.                                  A         B        C        D
  474.                                Single    Global   Global   Structured
  475.                                Mailbox   Names    Names    Names
  476.                                          Inside   Outside
  477.  
  478.    Criteria:
  479.  
  480.       1) What changes?         Composer  Composer None      FTP server
  481.  
  482.       2) How many?             100       100      0         1
  483.  
  484.       3) Routing information?  New       Old      Old       Old
  485.                                Inside    Inside   Inside    Outside
  486.  
  487.       4) "Answer" command?     Changes   Same     Same      Same
  488.  
  489.       5) ARPANET name space    1 per     1 per    1 per     1 per
  490.          use?                  FWDR      FWDR     user      user
  491.  
  492.    Goals:
  493.  
  494.       1) Software Change       Bad       Bad      Good      Good
  495.  
  496.       2) User Acceptance       Bad       Good     Good      Poor
  497.  
  498.       3) Future Compatibility  Bad       Poor     Poor      Fair
  499.  
  500.       4) Transition Software   Fair      Good     Bad       Good
  501.  
  502.    Conclusions:
  503.  
  504.       Solution D is recommended.
  505.  
  506.       Only solution D is based on the use of strictly "outside"
  507.       information.  Please note that the existing ARPANET message
  508.       DELIVERY system is based strictly on the use of "outside"
  509.       information only.  Also note that the problems that keep coming up
  510.       in ARPANET message processing & composition programs have to do
  511.       with the different possibilities for syntax (and semanitcs) of the
  512.       "inside" information.  This is a major advantage of solution D.
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521. Postel                                                          [page 9]
  522.  
  523.  
  524. RFC 754                                                     6 April 1979
  525. Out-of-Net Host Addresses for Mail
  526.  
  527.  
  528.  
  529.       Please note that the syntax NET-USER@FWDR in the examples is not
  530.       the only form that could be used.  Any of the following (or even
  531.       others) would be fine:
  532.  
  533.          Net-User@FWDR       User-Net@FWDR
  534.          Net/User@FWDR       User/Net@FWDR
  535.          Net.User@FWDR       User.Net@FWDR
  536.          Net.and.User@FWDR   User.on.Net@FWDR
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579. Postel                                                         [page 10]
  580.