|
Home | Contact Us | BounceMail Manager freeware | Art of eMail CRM | <<back to>> eMail Bolts&Nuts Index |
|
|
|
|
|
|
"Although SMTP is widely and robustly deployed, various extensions have been requested by parts of the Internet community. In particular, in the modern, international, and multilingual Internet a need exists to assign codes to specific error conditions that can be translated into different languages."
Definition of extension to the SMTP Page 1
SMTP Service Extension for |
RFC defined SMTP Status Error Codes
rfc 821
SMTP is a simple ASCII
protocol. SMTP is a protocol governing
electronic mail transmission and reception (sending and receiving emails
between mail servers) New enhanced ESMTP Status/Error Codes and descriptions defined by RFC Protocol ESMTP Status Error Codes Command Group The protocols and standards that currently govern RFC are constantly changing
Winsock Error Codes
Mail Object Error Message
|
|
|
|
|
|
|
2 Introduction
Although SMTP is widely and robustly deployed, RFC 1894 www.cis.ohio-state.edu/cgi-bin/rfc/rfc1894.html defines a mechanism to send such coded material to users. However, in many cases the agent creating the RFC 1894 delivery status notification is doing so in response to errors it received from a remote SMTP server.
As such, remote servers need a mechanism Page 2 3 Frameworks for the Enhanced Error Statuses Extension The enhanced error statuses transport extension is laid out as follows: 1) The name of the SMTP service extension defined here is Enhanced-Status-Codes; 2) The EHLO keyword value associated with the extension is ENHANCEDSTATUSCODES;
3) No parameter is used with the
4) The text part of all 2xx, 4xx, and 5xx
5) No additional SMTP verbs are defined by this extension; and,
4 The
Enhanced-Status-Codes service extension
status-code ::= class "." subject "." detail class ::= "2" / "4" / "5" subject ::= 1*3digit detail ::= 1*3digit These codes must appear in all 2xx, 4xx, and 5xx response lines other than initial greeting and any response to HELO or EHLO. Note that 3xx responses are NOT included in this list. All status codes returned by the server must agree with the primary response code, that is, a 2xx response must incorporate a 2.X.X code, a 4xx response must incorporate a 4.X.X code, and a 5xx response must incorporate a 5.X.X code. Page 3 When responses are continued across multiple lines the same status code must appear at the beginning of the text in each line of the response. Servers supporting this extension must attach enhanced status codes to their responses regardless of whether or not EHLO is employed by the client.
5 Status Codes and
Negotiation
This is somewhat different from most other SMTP extensions, where generally speaking a client must specifically make a request before the extended server behaves any differently than an un-extended server. The omission of client negotiation in this case is entirely intentional: Given the generally poor state of SMTP server error code implementation it is felt that any step taken towards more comprehensible error codes is something that all clients, extended or not, should benefit from.
IMPORTANT NOTE:
6 Usage Example S: <wait for connection on TCP port 25> C: <open connection to server> S: 220 dbc.mtview.ca.us SMTP service ready C: EHLO ymir.claremont.edu S: 250-dbc.mtview.ca.us says hello S: 250 ENHANCEDSTATUSCODES C: MAIL FROM:<ned@ymir.claremont.edu> S: 250 2.1.0 Originator <ned@ymir.claremont.edu> ok C: RCPT TO:<mrose@dbc.mtview.ca.us> S: 250 2.1.5 Recipient <mrose@dbc.mtview.ca.us> ok C: RCPT TO:<nosuchuser@dbc.mtview.ca.us> S: 550 5.1.1 Mailbox "nosuchuser" does not exist C: RCPT TO:<remoteuser@isi.edu> S: 551-5.7.1 Forwarding to remote hosts disabled
S: 551 5.7.1
Select another host to act as your forwarder Page 4 & 5 The client that
receives these responses might then send a nondelivery notification of
the general form: |
|
| Date: Mon, 11 Mar 1996 09:21:47 -0400 --JAA13167.773673707/YMIR.CLAREMONT.EDU content-type: text/plain; charset=us-ascii ----- Mail was successfully relayed to the following addresses ----- <mrose@dbc.mtview.ca.us> -- The following addresses had delivery problems -- <nosuchuser@dbc.mtview.ca.us> (Mailbox "nosuchuser" does not exist) <remoteuser@isi.edu> (Forwarding to remote hosts disabled) --JAA13167.773673707/YMIR.CLAREMONT.EDU content-type: message/delivery-status Reporting-MTA: dns; ymir.claremont.edu
Original-Recipient: rfc822;mrose@dbc.mtview.ca.us Original-Recipient: rfc822;nosuchuser@dbc.mtview.ca.us Final-Recipient: rfc822;nosuchuser@dbc.mtview.ca.us Original-Recipient: rfc822;remoteuser@isi.edu --JAA13167.773673707/YMIR.CLAREMONT.EDU content-type: message/rfc822 [original message goes here] --JAA13167.773673707/YMIR.CLAREMONT.EDU--
Note that in order to reduce clutter the reporting MTA
|
|
7 Security Considerations Additional detail in server responses axiomatically provides additional information about the server. It is conceivable that additional information of this sort may be of assistance in circumventing server security. The advantages of provides additional information must always be weighed against the security implications of doing so.
Page 6 8 References
[RFC-821]
www.cis.ohio-state.edu/cgi-bin/rfc/rfc0821.html
[RFC-1869]
www.cis.ohio-state.edu/cgi-bin/rfc/rfc1869.html
[RFC-1893]
www.cis.ohio-state.edu/cgi-bin/rfc/rfc1893.html
[RFC-1894] www.cis.ohio-state.edu/cgi-bin/rfc/rfc1894.html
9 Author Address |
|
<<back to>>
eMail Bolts&Nuts Index Support | Purchase | Product Info | Download Bounce eMail Manager Freeware Home | Contact Us | Privacy Policy | Guest Book | Useful Sites | Art of eMail CRM Any feed-back or suggestions? Please Drop us a note |