📄 rfc1891.txt
字号:
<<< 354 send message>>> (message goes here)>>> .<<< 250 message accepted>>> MAIL FROM:<><<< 250 okMoore Standards Track [Page 25]RFC 1891 SMTP Delivery Status Notifications January 1996>>> RCPT TO:<Fred@Bombs.AF.MIL><<< 250 ok>>> DATA<<< 354 send message>>> (message goes here)>>> .<<< 250 message accepted>>> QUIT<<< 221 Bombs.AF.MIL closing connection10.5 Forward from George@Tax-ME.GOV to Sam@Boondoggle.GOV The SMTP at Pure-Heart.ORG relays the message to Tax-ME.GOV. (this step is not shown). MTA Tax-ME.GOV then forwards the message to Sam@Boondoggle.GOV (shown below). Both Tax-ME.GOV and Pure-Heart.ORG support the SMTP DSN extension. Note that RET, ENVID, and ORCPT all retain their original values.<<< 220 BoonDoggle.GOV says hello>>> EHLO Pure-Heart.ORG<<< 250-mail.Big-Bucks.COM<<< 250 DSN>>> MAIL FROM:<Alice@Pure-Heart.ORG> RET=HDRS ENVID=QQ314159<<< 250 sender okay>>> RCPT TO:<Sam@Boondoggle.GOV> NOTIFY=SUCCESS \ ORCPT=rfc822;George@Tax-ME.GOV<<< 250 recipient okay>>> DATA<<< 354 send message>>> (message goes here)>>> .<<< 250 message received>>> QUIT<<< 221 bcnuMoore Standards Track [Page 26]RFC 1891 SMTP Delivery Status Notifications January 199610.6 "Delivered" DSN for Bob@Big-Bucks.COM MTA mail.Big-Bucks.COM successfully delivers the message to Bob@Big- Bucks.COM. Because the sender specified NOTIFY=SUCCESS, mail.Big- Bucks.COM issues the following DSN, and sends it to Alice@Pure- Heart.ORG.To: Alice@Pure-Heart.ORGFrom: postmaster@mail.Big-Bucks.COMSubject: Delivery Notification (success) for Bob@Big-Bucks.COMContent-Type: multipart/report; report-type=delivery-status; boundary=abcdeMIME-Version: 1.0--abcdeContent-type: text/plain; charset=us-asciiYour message (id QQ314159) was successfully delivered toBob@Big-Bucks.COM.--abcdeContent-type: message/delivery-statusReporting-MTA: dns; mail.Big-Bucks.COMOriginal-Envelope-ID: QQ314159Original-Recipient: rfc822;Bob@Big-Bucks.COMFinal-Recipient: rfc822;Bob@Big-Bucks.COMAction: deliveredStatus: 2.0.0--abcdeContent-type: message/rfc822(headers of returned message go here)--abcde--Moore Standards Track [Page 27]RFC 1891 SMTP Delivery Status Notifications January 199610.7 Failed DSN for Carol@Ivory.EDU Because delivery to Carol failed and the sender specified NOTIFY=FAILURE for Carol@Ivory.EDU, MTA Pure-Heart.ORG (the SMTP client to which the failure was reported via SMTP) issues the following DSN.To: Alice@Pure-Heart.ORGFrom: postmaster@Pure-Heart.ORGSubject: Delivery Notification (failure) for Carol@Ivory.EDUContent-Type: multipart/report; report-type=delivery-status; boundary=bcdefMIME-Version: 1.0--bcdefContent-type: text/plain; charset=us-asciiYour message (id QQ314159) could not be delivered toCarol@Ivory.EDU.A transcript of the session follows:(while talking to Ivory.EDU)>>> RCPT TO:<Carol@Ivory.EDU> NOTIFY=FAILURE<<< 550 error - no such recipient--bcdefContent-type: message/delivery-statusReporting-MTA: dns; Pure-Heart.ORGOriginal-Envelope-ID: QQ314159Original-Recipient: rfc822;Carol@Ivory.EDUFinal-Recipient: rfc822;Carol@Ivory.EDUSMTP-Remote-Recipient: Carol@Ivory.EDUDiagnostic-Code: smtp; 550 error - no such recipientAction: failedStatus: 5.0.0--bcdefContent-type: message/rfc822(headers of returned message go here)--bcdef--Moore Standards Track [Page 28]RFC 1891 SMTP Delivery Status Notifications January 199610.8 Relayed DSN For Dana@Ivory.EDU Although the mail gateway Ivory.EDU supports the DSN SMTP extension, the LAN mail system attached to its other side does not generate positive delivery confirmations. So Ivory.EDU issues a "relayed" DSN:To: Alice@Pure-Heart.ORGFrom: postmaster@Ivory.EDUSubject: mail relayed for Dana@Ivory.EDUContent-Type: multipart/report; report-type=delivery-status; boundary=cdefgMIME-Version: 1.0--cdefgContent-type: text/plain; charset=us-asciiYour message (addressed to Dana@Ivory.EDU) was successfullyrelayed to:ymail!Danaby the FooMail gateway at Ivory.EDU.Unfortunately, the remote mail system does not supportconfirmation of actual delivery. Unless delivery to ymail!Danafails, this will be the only delivery status notification sent.--cdefgContent-type: message/delivery-statusReporting-MTA: dns; Ivory.EDUOriginal-Envelope-ID: QQ314159Original-Recipient: rfc822;Dana@Ivory.EDUFinal-Recipient: rfc822;Dana@Ivory.EDUAction: relayedStatus: 2.0.0--cdefgContent-type: message/rfc822(headers of returned message go here)--cdefg--Moore Standards Track [Page 29]RFC 1891 SMTP Delivery Status Notifications January 199610.9 Failure notification for Sam@Boondoggle.GOV The message originally addressed to George@Tax-ME.GOV was forwarded to Sam@Boondoggle.GOV, but the MTA for Boondoggle.GOV was unable to deliver the message due to a lack of disk space in Sam's mailbox. After trying for several days, Boondoggle.GOV returned the following DSN:To: Alice@BigHeart.ORGFrom: Postmaster@Boondoggle.GOVSubject: Delivery failure for Sam@Boondoggle.GOVContent-Type: multipart/report; report-type=delivery-status; boundary=defghMIME-Version: 1.0--defghYour message, originally addressed to George@Tax-ME.GOV, and forwardedfrom there to Sam@Boondoggle.GOV could not be delivered, for thefollowing reason:write error to mailbox, disk quota exceeded--defghContent-type: message/delivery-statusReporting-MTA: Boondoggle.GOVOriginal-Envelope-ID: QQ314159Original-Recipient: rfc822;George@Tax-ME.GOVFinal-Recipient: rfc822;Sam@Boondoggle.GOVAction: failedStatus: 4.2.2 (disk quota exceeded)--defghContent-type: message/rfc822(headers of returned message go here)--defgh--Moore Standards Track [Page 30]RFC 1891 SMTP Delivery Status Notifications January 199611. References [1] Postel, J., "Simple Mail Transfer Protocol", STD 10, RFC 821, USC/Information Sciences Institute, August 1982. [2] Crocker, D., "Standard for the Format of ARPA Internet Text Messages", STD 11, RFC 822, UDEL, August 1982. [3] Westine, A., and J. Postel, "Problems with the Maintenance of Large Mailing Lists.", RFC 1211, USC/Information Sciences Institute, March 1991. [4] Klensin, J., Freed, N., Rose, M., Stefferud, E., and D. Crocker, "SMTP Service Extensions", RFC 1651, MCI, Innosoft, Dover Beach Consulting, Inc., Network Management Associates, Inc., Silicon Graphics, Inc., July 1994. [5] Moore, K., and G. Vaudreuil, "An Extensible Message Format for Delivery Status Notifications", RFC 1894, University of Tennessee, Octel Network Services, January 1996. [6] Crispin, M., "Internet Message Access Protocol - Version 4", RFC 1730, University of Washington, 20 December 1994. [7] Myers, J., and M. Rose, "Post Office Protocol - Version 3", RFC 1725, Carnegie Mellon, Dover Beach Consulting, November 1994. [8] Vaudreuil, G., "The Multipart/Report Content Type for the Reporting of Mail System Administrative Messages", RFC 1892, Octel Network Services, January 1996. [9] Braden, R., Editor, "Requirements for Internet Hosts - Application and Support", STD 3, RFC 1123, IETF, October 1989. [10] Vaudreuil, G., "Enhanced Mail System Status Codes", RFC 1893, Octel Network Services, January 1996.12. Author's Address Keith Moore University of Tennessee 107 Ayres Hall Knoxville, TN 37996-1301 USA EMail: moore@cs.utk.eduMoore Standards Track [Page 31]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -