Discussion
In this section, the terminology and the MTP model are discussed. The terms defined in this section are only those that have special significance in MTP. Some of the terminology is very specific to the MTP model; some readers may wish to turn to the section on the MTP model while reviewing the terminology.
TERMINOLOGY
ASCII
The ASCII character set as defined in the ARPA Internet Protocol Handbook. In MTP, ASCII characters are defined to be the lower half of an eight-bit code set (i.e., the most significant bit is zero) and is called NVT-ASCII.
control connection
The TCP full-duplex communication path or two NCP simplex communication paths between a sender-MTP and a receiver-MTP for the exchange of commands, replies, and mail text. The control connection operates according to the TELNET Protocol.
data mode
The mail is transmitted over the control connection as a stream of octets. (In FTP terminology this is called stream mode.)
data structure
The internal structure of mail is considered to be a continuous sequence of data octets. (In FTP terminology this is called file-structure.)
data representation
The internal representation of all data (i.e., mail) is in NVT-ASCII.
host
A computer in the internetwork environment on which mailboxes reside.
MTP commands
A set of commands which comprise the control information flowing from the sender-MTP to the receiver-MTP.
An ordered set of computer data of arbitrary length, which conforms to the standard set in RFC 733 (Standard for the Format of ARPA Network Text Messages).
mailbox
A character string (address) which identifies a user to whom mail is to be sent. Mailbox normally consists of the host and user specifications. The standard mailbox naming convention is defined to be "user@host". Additionally, the "container" in which mail is stored.
NVT
The Network Virtual Terminal as defined in the TELNET Protocol.
octet
Bytes in MTP are octets (8 bits). This is not necessarily the same byte size in which data is stored in a host.
reply
A reply is an acknowledgment (positive or negative) sent from receiver to sender via the control connection in response to a MTP command. The general form of a reply is a completion code (including error codes) followed by a text string. The codes are for use by programs and the text is usually intended for human users.
receiver-MTP process
A process which transfers mail in cooperation with a sender-MTP process. It "listens" on its port/socket L for a connection from a sender-MTP and establishes a control connection using the TELNET Protocol. It receives MTP commands from the sender-MTP, sends replies, and governs the transfer of mail.
sender-MTP process
A process which transfers mail in cooperation with a receiver-MTP process. A local language may be used in the user interface command/reply dialogue. The sender-MTP initiates the control connection from its port/socket U to the receiver-MTP process. It initiates MTP commands, receives replies, and governs the transfer of mail.
user
A human being (or a process on behalf of a human being) wishing to obtain mail transfer service. In addition, a recipient of computer mail.
THE MTP MODEL
With the above definitions in mind, the following model (shown in Figure 1) may be diagrammed for an MTP service.
------------ ------------
| | | | --------
| | MTP | |<-->| User |
| Receiver-|Commands/Replies| Sender- | --------
-------- | MTP |<-------------->| MTP | --------
| Mail |<-->| | Mail | |<-->| Mail |
|System| | | | | |System|
-------- ------------ ------------ --------
Receiver-MTP Sender-MTP
Model for MTP Use
Figure 1
In the model described in Figure 1, the sender-MTP initiates the TCP/NCP control connection which follows the TELNET Protocol. At the initiation of the user, standard MTP commands are generated by the sender-MTP and transmitted to the receiver-MTP via the control connection. Standard replies are sent from the receiver-MTP to the sender-MTP over the control connection in response to the commands. In addition, mail is sent over the control connection.