Skip to main content

5.5. Details

5.5.1. Minimum Implementation​

In order to make MTP workable, the following minimum implementation is required for all receivers:

COMMANDS -- MAIL
QUIT
NOOP

5.5.2. Transparency​

Without some provision for data transparency the character sequence "<CRLF>.<CRLF>" ends the the mail text and cannot be sent by the user. In general, users are not aware of such "forbidden" sequences. To allow all user composed text to be transmitted transparently the following procedures are used.

  1. Before sending a line of mail text the sender-MTP checks the first character of the line. If it is a period, one additional period is inserted at the beginning of the line.

  2. When a line of mail text is received by the receiver-MTP it checks the the line. If the line is composed of a single period it is the end of mail. If the first character is a period and there are other characters on the line, the first character is deleted.

5.5.3. Sizes​

There are several objects that ought to have defined maximum sizes.

user

The maximum total length of a user name is 40 characters.

host

The maximum total length of a host name or number is 20 characters.

path

The maximum total length of a sender-path or receiver-path is 100 characters.

command line

The maximum total length of a command line including the command word and the <CRLF> is 200 characters.

reply line

The maximum total length of a reply line including the reply code and the <CRLF> is 65 characters.

text line

The maximum total length of a text line including the the <CRLF> is 1000 characters.

To the maximum extent possible implementation techniques which impose no limits at all to the length of these objects should be used.