Skip to main content

Mail, Account and Experimental Commands

  1. Rather than use the append command for sending mail files, a new command 'MLFL' (for mail file) is defined. The syntax of the mail file command is:
MLFL <user>CRLF
where
<user> ::= <empty>| <NIC ident>| <sys ident>

If the user field is empty or blank (one or more spaces), then the mail is destined for a printer or other designated place for site mail. <NIC ident> refers to the standard identification described in the NIC Directory of Network Participant. A serving host may keep a table mapping <NIC ident> into <sys ident>. This would provide for uniform convenient usage. <sys ident> is the user's normal identification at the serving HOST. The use of <sys ident> would allow a network user to send mail to other users who do not have NIC identification but whose <sys ident> is known.

The intent of this command is to enable a user at the user site to mail data (in form of a file) to another user at the server site. It should be noted that the files to be mailed are transmitted via the data connection in ASCII type. These files should be appended to the destination user's mail by the server in accordance with serving Host mail conventions. The mail my be marked as sent from the particular using HOST and the user specified by the 'USER' command. The reply codes for the "MLFL" command are identical to that in the "APPE" command, as shown below:

COMMAND         SUCCESS         FAIL
------- ------- ----
MLFL 250 451,454,500-506
Sec. reply 252 452,453
  1. The 'MLFL' command for network mail, though a useful and essential addition to the FTP command repertoire, does not allow TIP users to send mail conveniently without using third hosts. It would be more convenient for TIP users to send mail over the TELNET connection instead of the data connection as provided by the 'MLFL' command. The following 'MAIL' command is therefore defined to send mail via the TELNET connection:
MAIL <user>CRLF

the syntax of <user> is identical to that in the MLFL command described above. After the 'MAIL' command is received, the server is to treat the following lines as text of the mail sent by the user. The mail text is to be terminated by a line containing only a single period, that is the character sequence ".CRLF" in a new line. The following new reply codes are defined to handle the mail command:

350 Enter mail, terminate by a line with only a '.'
256 Mail completed.

The reply codes are:

COMMAND         SUCCESS         FAIL
------- ------- ----
MAIL 350 450,451,500-506
Sec Reply 256
  1. An additional access control command called account (ACCT) is now defined to facilitate accounting in systems such as TENEX which require in addition to user and password, a separate account specification. The 'ACCT' command is different from the 'PASS' command in that it is not necessarily related to the 'USER' command and may arrive at any time. For example, a user may transfer different files using different accounts. The 'ACCT' command has the same reply codes as the 'PASS' command (230 for success and 430-432,500-506 for fail). Some servers may require that an account command must be sent before the user is "logged in". For suchcases the success reply to the 'PASS' command could be '330 Enter account'.

  2. Since password information is quite sensitive, it is desirable in general to "mask" it or suppress type out. It appears that the server has really no fool-proof effective way to achieve this. It is therefore the user-FTP process responsibility to hide the sensitive password information.

  3. The FTP is an open-ended protocol designed for easy expandability. Experimental commands may be defined by sites wishing to implement such commands. These experimental commands should begin with the alphabetic character 'X'. Standard reply codes may be used with these commands. If new reply codes need to assigned, these should be chosen between 900 and 999. If the experimental command is useful and of general interest, it shall be included in the FTP command repertoire.

[ This RFC was put into machine readable form for entry ]
[ into the online RFC archives by BBN Corp. under the ]
[ direction of Alex McKenzie. 1/97 ]