Forwarder Operations
This section describes a likely scenario involving hosts, relays and forwarders and typical internet routes. When a forwarder receives a message for <user>.<host>@<domain>, it transforms <host> if necessary and forwards the message to its address found in the name-address table for <domain>. Note that a single host can be a forwarder for several independent domains in this model and that these domains can intersect. Thus, the names Mills@USC-ISIE, Mills.USC-ISIE@ARPA and Mills.USC-ISIE@COMSAT can all refer to the same mailbox and the names USC-ISIE, ARPA and COMSAT can, conceivably, all be known in the same domain. Such use would be permissable only in case the name USC-ISIE did not conflict with other names in this domain.
In order for this scheme to work efficiently, it is desireable that messages transiting forwarders always contain standard internet mailbox names. When this is not feasible, as in the current ARPANET mail system, the forwarder must be able to determine which domain the message came from and edit the names accordingly. This would be necessary in order to compose a reply to the message in any case.
In the RFC-780 model a message arriving at a forwarder is processed by the MTP server there. The server extracts the first entry in the recipient-route field of an MRCP command. There are two cases, depending on whether this entry specifies a domain name or a host name. If a domain name, as determined by a search of a universal table, it refers to one of the domains the server represents. If not, it must a name or nickname of the server's host relative to ooe of the domains to which the sender belongs. This allows a distinction to be made between the domains COMSAT and INTELPOST on one hand and the COMSAT host COMSAT-PLA on the other, all of which might be represented by the same internet address, and implies that domain names must be unique in all domains.
The server next extracts the second entry in the recipient-route field of the MRCP command and resolves its address relative to the domain established by the first entry. If the second entry specifies an explicit domain, then that overrides the first entry. If not and the first entry specifies a domain, then that domain is effective. However, if the first entry specifies the server's host, it may not be apparent which domain is intended. For instance, consider the following two MRCP commands:
MRCP to:<@COMSAT,Mills@HOST> and
MRCP to:<@INTELPOST,Mills@HOST> ,
where Mills.HOST@COMSAT and Mills.HOST@INTELPOST are distinct mailboxes on different hosts. A receiving host supporting forwarders for both COMSAT and INTELPOST can then preserve this distinction and forward correctly using the above rules.
Now let the forwarder host have the name FORWARDER in both the COMSAT and INTELPOST domains and consider its options when receiving the command
MRCP to:<@FORWARDER,Mills@HOST> .
The forwarder is being asked simply to relay within the domain of the sender; however, it belongs to more than one domain! The obvious way to resolve this issue would be to forbid the use of implicit domains, as represented by Mills@HOST, and require the full internet mailbox names Mills.HOST@COMSAT or Mills.HOST@INTELPOST. It is also possible to dis-ambiguate the domain by inspecting the first entry of the sender-route field of the MAIL command (see below).