|
||||||||||||||
| ISBN: 3827243866 ISBN: 3827243866 ISBN: 3827243866 ISBN: 3827243866 | ||||||||||||||
|
Wir empfehlen: | |||||||||||||
The PASS command is used to inform the message posting server about the password associated with the username previously specified. The required argument for the PASS command is a string specifying the message sender's password. The PASS command can only be used under two conditions: - right after a USER command that gets the reply code 250; - right after a PASS command that gets the reply code 501. List of possible reply codes for the PASS command: - 250 The password has been accepted and verified to be correctly associated with the username previously specified. - 451 Internal error has occurred in the message posting server. - 501 Syntax error detected in the password argument. - 503 The PASS command has been used under an inappropriate condition (i.e., one that is not specified above). - 530 The password provided is not the one associated with the username previously specified. DATA <CRLF> The DATA command is used to inform the message posting server to get ready to accept a mail message text. No argument is expected. (This command has the same meaning as the DATA command defined in RFC 821.) The DATA command can only be used under two conditions: - right after a PASS command that gets the reply code 250; - right after a mail message text has been successfully accepted from the client. List of possible reply codes for the DATA command: - 354 The message posting server is ready to accept the mail message text. - 451 Internal error has occurred in the message posting server. - 503 The DATA command has been used under an inappropriate condition (i.e., one that is not specified above). Upon receiving the reply code 354 for the DATA command, the client should submit the mail message text to message posting server and terminate the text by the sequence "<CRLF>.<CRLF>" as defined in RFC 821. If the message text includes the "<CRLF>.<CRLF>" sequence, then the sequence is replaced by the "<CRLF>..<CRLF>" sequence as defined in RFC 821. The extra "." token will not be included in the final copy of the submitted message. Upon receiving the mail message text terminated by the "<CRLF>.<CRLF>" sequence, list of possible reply codes is: - 250 The mail message text has been successfully queued for delivery. - 451 Internal error has occurred in the message posting server and the mail message text has not been queued. NOOP <CRLF> The NOOP command does not cause any action to be performed by the message posting server. Instead, it tests the status of the message posting server. No argument is expected. The NOOP command cannot be used under one condition: - right after a DATA command that gets the reply code 354 (i.e., when the message posting server is expecting the client to submit the mail message text). List of possible reply codes for the NOOP command: - 250 The message posting server has not encountered any internal error. - 451 Internal error has occurred in the message posting server during the current session. QUIT <CRLF> The QUIT command is used to terminate the session with the message posting server. No argument is expected. The QUIT command can be used under any condition. The message posting server should always return the reply code 221 for the QUIT command. 3. IMPLEMENTATION OF THE MESSAGE POSTING SERVER There are several issues to be considered when implementing the message posting server: - secured environment 3.1 Secured Environment The message posting server is responsible for authenticating message senders and submitting mail to the message delivery system. Hence, it should be running in a secured environment, such as running on a system (UNIX, VMS, MS-DOS) with well restricted physical and network access. 3.2 Port Number Assignment Port 218 is assigned for the Netix Message Posting Protocol. 3.3 Handling of Idle Client The message posting server should terminate a session if the client has been idle for too long, to release the resource allocated for the session. 3.4 Local/Remote Password Database To take advantage of existing password databases, such as the passwd file in UNIX, the message posting server can use FTP and POP3 to perform the username and password checking with the appropriate server. For network that does not have any password database, the message posting server should let the system administrator specify a local password file on the host that the message posting server is running. 3.5 Message Queuing The message posting server should attempt to submit accepted messages to the message delivery system as soon as possible. 3.6 Handling of Message Delivery Failure Failure in delivering messages should be handled by the message delivery system and the message posting server should not interfere. 4. REFERENCES [1] Postel, J., "Simple Mail Transfer Protocol", RFC 821, USC/Information Sciences Institute, August 1982. [2] Postel, J., and J. Reynolds, "File Transfer Protocol", RFC 959, USC/Information Sciences Institute, October 1985. Security Considerations Security issues are discussed in section 3.1. Authors' Addresses Shannon Yeh Phone: (714) 727-9335 Email: yeh@netix.com
Phone: (714) 727-9335 EMail: dlee@netix.com |
||||||||||||||
| |<< First < Previous Index Next > Last >>| | ||||||||||||||
|
Back to the topic site: ScientificPublication.com/Startseite/Informatik/Spezifikationen External Links to this site are permitted without prior consent. Publication List: Message Posting Protocol | ||||||||||||||
| Home | deutsch | Set bookmark | Send a friend a link | Impressum | ||||||||||||||