APPENDIX C. Mail Relay Scenario
Suppose a user on a TCP-only host wishes to send a message to a user on an NCP-only host which has implemented SMTP.
- Use the local mail composition program to prepare the message. Address the message to the recipient at his or her host. Tell the composition program to queue the message.
- The background mailer-daemon finds the queued message. It checks the destination host name in a table to find the internet address. Instead it finds that the destination host is a NCP-only host. The mailer-daemon then checks a list of mail RELAY hosts and selects one. It send the message to the selected mail RELAY host using the SMTP procedure.
- The mail RELAY host accepts the message for relaying. It checks the destination host name and discovers that it is a NCP-only host which has implemented SMTP. The mail RELAY host then sends the message to the destination using the SMTP/NCP procedure.
+---------+ +---------+ +---------+
| | SMTP | | SMTP | |
| Source |<-------->| Relay |<-------->| Dest. |
| Host | TCP | Host | NCP | Host |
+---------+ +---------+ +---------+
Suppose a user on a TCP-only host wishes to send a message to a user on an NCP-only non-SMTP host.
- Use the local mail composition program to prepare the message. Address the message to the recipient at his or her host. Tell the composition program to queue the message.
- The background mailer-daemon finds the queued message. It checks the destination host name in a table to find the internet address. Instead it finds that the destination host is a NCP-only host. The mailer-daemon then checks a list of mail RELAY hosts and selects one. It send the message to the selected mail RELAY host using the SMTP procedure.
- The mail RELAY host accepts the message for relaying. It checks the destination host name and discovers that it is a NCP-only non-SMTP host. The mail RELAY host then sends the message to the destination using the old FTP/NCP mail procedure.
+---------+ +---------+ +---------+
| | SMTP | | FTP | |
| Source |<-------->| Relay |<-------->| Dest. |
| Host | TCP | Host | NCP | Host |
+---------+ +---------+ +---------+
Suppose a user on a NCP-only non-SMTP host wishes to send a message to a user on an TCP-only host. Suppose the destination user is "Smith" and the host is "ABC-X".
- Use the local mail composition program to prepare the message. Address the message to "Smith.ABC-X@FORWARDER". Tell the composition program to queue the message.
- The background mailer-daemon finds my queued message. It sends the message to host FORWARDER using the old FTP/NCP mail procedure.
- The special forwarder host converts the "user name" supplied by the FTP/NCP mail procedure (in the MAIL or MLFL command) to "Smith@ABC-X" (in the SMTP RCTP command) and queues the message to be processed by the SMTP mailer-daemon program on this same host. No conversion of the mailbox addresses in made in thr message header or body.
- The SMTP mailer-daemon program on the forwarder host finds this queued message and checks the destination host name in a table to find the internet address. It finds the destination address and send the mail using the SMTP procedure.
+---------+ +---------+ +---------+
| | FTP | | SMTP | |
| Source |<-------->|Forwarder|<-------->| Dest. |
| Host | NCP | Host | TCP | Host |
+---------+ +---------+ +---------+