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

  1.  
  2.                                                                         
  3. Network Working Group                                         S. Sluizer
  4. Request for Comments: 784                                      J. Postel
  5.                                                                      ISI
  6.                                                                July 1981
  7.  
  8.                         MAIL TRANSFER PROTOCOL:
  9.                        ISI TOPS20 IMPLEMENTATION
  10.  
  11.  
  12. We are creating an implementation of MTP for TOPS20.  The programs are
  13. written in BLISS-10.  This implementation supports the MTP user and
  14. server functions using both TCP and NCP transport services, and provides
  15. interfaces to other mail delivery mechanisms.
  16.  
  17. The transport services (NCP, TCP, etc.), are used to establish
  18. communication between MTP sender and MTP receiver programs.  These
  19. communication paths will be called channels in the rest of this memo.
  20.  
  21. Our model of operation is that mail sources will create mail files in
  22. user directories.  The mail sources are both user mail composition
  23. programs (like Hermes, MM, SNDMSG), and system network mail receiving
  24. programs which accept mail from various input channels.  The mail files
  25. are processed by a background program which dispatches mail to various
  26. output channels.  There is also a user version of the dispatcher to send
  27. mail at once (provided the necessary channel is available).
  28.  
  29. To take advantage of MTP's multi-recipient feature, the mail consists of
  30. two files.  The first is a control file which contains the delivery
  31. information and a pointer to the second file.  The second file contains
  32. the mail data (including the RFC 733 header) to be delivered.
  33.  
  34. The reason for using two files is that the control information must be
  35. modified as the mail is processed while the mail data only needs to be
  36. read (although the file is eventually deleted or renamed).  For example,
  37. a message may be sent to different recipients via different channels.
  38. If one of the channels is not available, the control file must be
  39. modified to mark or delete the recipients to whom the mail has been sent
  40. and keep the recipient information available for those recipients not
  41. yet sent.  In a a future implementation of the dispatcher, the control
  42. information may be moved to a master table in its data area to optimally
  43. schedule output channel use.
  44.  
  45. The dispatcher makes its decision about how to send mail to each
  46. recipient by consulting a table that indicates for each host its ability
  47. to accept mail via (1) MTP on TCP, (2) MTP on NCP, or (3) FTP on NCP
  48. (i.e., the old way).  There is also a table for other cases (e.g.,
  49. delivery to hosts in England via another mail transmission system
  50. created by UCL).
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57. Sluizer & Postel                                                Page [1]
  58.  
  59.  
  60.                                                                         
  61. July 1981                                                        RFC 784
  62. ISI TOPS20 Implementation                                               
  63.  
  64.  
  65.  
  66. The individual pieces of this system are:
  67.  
  68.    1.  MTP receiver for TCP.
  69.  
  70.    2.  MTP receiver for NCP.
  71.  
  72.    3.  Dispatcher.
  73.  
  74.    4.  MTP sender for TCP.
  75.  
  76.    5.  MTP sender for NCP.
  77.  
  78.    6.  Mail composition programs (MM, HERMES, MSG, SNDMSG, ...).
  79.  
  80.    7.  User mailbox files.
  81.  
  82.    8.  Pending Mail files.
  83.  
  84.    9.  Other Mail sources.
  85.  
  86.    10. Other Mail sinks.
  87.  
  88.    11. Host Mail Capability table.
  89.  
  90.    12. Host special processing tables.
  91.  
  92. We are building 1 through 5, hope that others will adapt 6 to this
  93. system (a version of MM has been adapted at ISI), using the existing 7,
  94. defining and using 8, providing interfaces for 9 and 10 as requested,
  95. and creating and using 11 and 12.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115. Page [2]                                                Sluizer & Postel
  116.  
  117.  
  118.                                                                         
  119. RFC 784                                                        July 1981
  120.                                                   Mail Transfer Protocol
  121.  
  122.  
  123.  
  124.            +-----+   +-----+   +------+   +------+
  125.            | MTP |   | MTP |   | USER |   |OTHER |
  126.            | TCP |   | NCP |   | MAIL |   |MAIL  |
  127.            | RCV |   | RCV |   | PGM  |   |SOURCE|
  128.            +-----+   +-----+   +------+   +------+
  129.               |         |          |         |
  130.               |         |          |         |
  131.               |         |          |         |
  132.               v         v          v         v
  133.             +----+    +----+     +----+     +----+
  134.             |    |    |    |     |    |     |    |
  135. Pending   +----+ |  +----+ |   +----+ |   +----+ |
  136. Files     |    |-+  |    |-+   |    |-+   |    |-+
  137.           |    |    |    |     |    |     |    |
  138.           +----+    +----+     +----+     +----+
  139.                 \      |         |       /
  140.                  \     |         |      /
  141.                   \    |         |     /
  142.                    v   v         v    v
  143.  
  144.                     +------------------+       TABLES
  145.                     |                  |       +----+
  146.                     |    DISPATCHER    |<----->|    |---+
  147.                     |                  |       |    |   |
  148.                     +------------------+       +----+   |
  149.                     /      /     \      \          +----+
  150.                    /      /       \      \
  151.                   /      /         \      \
  152.                  v      v           v      v
  153.            +-----+   +-----+   +-------+   +-----+
  154.            | MTP |   | MTP |   | LOCAL |   |OTHER|
  155.            | TCP |   | NCP |   |MAILBOX|   |MAIL |
  156.            | SND |   | SND |   | FILES |   |SINK |
  157.            +-----+   +-----+   +-------+   +-----+
  158.  
  159. Note that current implementation the dispatcher and the senders for
  160. MTP-on-TCP and MTP-on-TCP are combined in one program.
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173. Sluizer & Postel                                                Page [3]
  174.  
  175.