MAIL (MAIL)This command is used to initiate a mail transaction in whichthe mail data is delivered to one or more mailboxes. Theargument field contains a reverse-path.The reverse-path consists of an optional list of hosts andthe sender mailbox. When the list of hosts is present, itis a "reverse" source route and indicates that the mail wasrelayed through each host on the list (the first host in thelist was the most recent relay). This list is used as asource route to return non-delivery notices to the sender.As each relay host adds itself to the beginning of the list,it must use its name as known in the IPCE to which it isrelaying the mail rather than the IPCE from which the mailcame (if they are different). In some types of errorreporting messages (for example, undeliverable mailnotifications) the reverse-path may be null (see Example 7).This command clears the reverse-path buffer, theforward-path buffer, and the mail data buffer; and insertsthe reverse-path information from this command into thereverse-path buffer.RECIPIENT (RCPT)This command is used to identify an individual recipient ofthe mail data; multiple recipients are specified by multipleuse of this command.The forward-path consists of an optional list of hosts and arequired destination mailbox. When the list of hosts ispresent, it is a source route and indicates that the mailmust be relayed to the next host on the list. If thereceiver-SMTP does not implement the relay function it may
user the same reply it would for an unknown local user
(550).
When mail is relayed, the relay host must remove itself from
the beginning forward-path and put itself at the beginning
of the reverse-path. When mail reaches its ultimate
destination (the forward-path contains only a destination
mailbox), the receiver-SMTP inserts it into the destination
mailbox in accordance with its host mail conventions.
đang được dịch, vui lòng đợi..
