Article ID: 306043 - View products that this article applies to.
This article was previously published under Q306043
This article describes the supported methods that you can use to replay the outgoing Simple Mail Transfer Protocol (SMTP) messages on a computer that is running Microsoft Exchange Server 2003 or Microsoft Exchange 2000 Server.
The SMTP envelope of a message contains information about the sender and the recipient or the recipients of that particular SMTP message. The SMTP envelope is also known as the P1 or the RFC 2821 envelope.
The information in the SMTP envelope does not always match the information that appears in the message headers. The message headers are also known as the P2 or the RFC 2822 headers.
Examples of where this information does not match include all the following:
Supported methods to replay messagesWe support the following methods to replay SMTP messages.
Note Other methods to replay messages could cause one or both of the following situations to occur:
Drop folder to Pickup folderThe Pickup folder processes outgoing messages that are created as text files and then copied to the Pickup folder. When Request for Comments (RFC) 822 messages that are correctly formatted are copied to the Pickup folder, the SMTP service initiates delivery. In this replay method, the X-Sender envelope field and the X-Receiver envelope field are written to the e-mail message when the SMTP service puts the e-mail message into the Drop folder.
Note The SMTP service puts the e-mail message into the Drop folder for local delivery on a computer where Exchange is not installed.
In this scenario, the Pickup operation honors the envelope fields that are written to the e-mail message.
Queue folder to Queue folderThe Queue folder holds messages for delivery. If a message cannot be delivered because the connection is busy or is down, the message is stored in the Queue folder. Subsequent delivery attempts occur at designated intervals. To use this method to replay e-mail messages, you must first stop the SMTP service. Additionally, the e-mail messages must remain on volumes that are formatted with the NTFS file system. In this replay method, the message envelope is retained in RAM on the computer and is written to the hard disk as an alternate file stream. As long as this file stream is intact, the SMTP service can read the message envelope.
Badmail folder to Pickup folderWhen an e-mail message cannot be delivered, Exchange generates a non-delivery report (NDR) delivery status notification message and then delivers this NDR message to the original message sender. If the NDR message cannot be successfully delivered, the NDR message is put in the Badmail folder.
Note The Badmail folder feature must be enabled for this process to occur. By default, the Badmail folder is disabled in Exchange Server 2003 Service Pack 1 (SP1). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
884068If the problem that stopped the NDR message from being successfully delivered is resolved, you may want to resend the NDR message to the sender of the corresponding original e-mail message.
(http://support.microsoft.com/kb/884068/ )The Badmail folder is disabled in Exchange Server 2003 Service Pack 1
Note You may want to replay only the message delivery failure delivery status notification messages and not also the message delivery delay delivery status notification messages.
Important We recommend that you do not resend the original messages to the original recipients. Instead, let the original sender resend the original message to the original recipient or recipients. The original message is generally included with the NDR message as an attachment.
To replay the messages that are located in the Badmail folder, follow these steps:
File types that may appear in the Badmail folder
For more information about RFC 822, visit the following Web site:
Article ID: 306043 - Last Review: October 25, 2007 - Revision: 2.3