BLACK LISTS, SMTP ERRORS, SPOOFING

Codes listed below, but you might want to read this first....

SMTP protocol specific response code design provides some useful (numeric) codes used for reporting mail (delivery status) system errors (Protocol–a method of sending and receiving data).

SMTP is a simple ASCII protocol. SMTP is a protocol governing electronic mail transmission and reception (sending and receiving emails between mail servers).

Operational Sequent of:
SMTP
Simple Mail Transfer Protocol

How two MTAs (Message Transfer Agent) communicate with each other using a single TCP connection.

  1. Email is delivered by the source host (sender) establishing a TCP connection to port 25 of the (recipient) destination host and wait...
     
  2. An email daemon speaking SMTP simple ASCII (rfc 821) listening at port 25 on the (recipient) destination hose identify itself and tell the (sender) whether it will accept mail....
     
  3. *If not Server-time-out--the sending mail server terminate the connection and try again later, after a predefined undeliverable attempts--any undeliverable message will be returned (rfc 821) with an error report containing the first part (message headers) to the sender.
     
  4. If the (recipient) mail server is willing to accept the mail, the (sender) mail server send the email address of the recipient...
     
  5. If it is a valid recipient email address, the (recipient) mail server gives a go-ahead signal...
     
  6. Message is sent and acknowledged.

*If not--There are no standard mechanism for reporting mail system errors except for the limited codes consisting of three numbers offered by SMTP with specific text descriptions sent in mail messages.

Because of its limitations, the majority of each code delivery report may indicate several other error conditions as well as different mail server using their own text description.

The first number generally tells whether the server accepted the command and if it could manage it.

2 The server has completed the task successfully.

3 The server has understood the request,
   but requires further information to complete it.

4 The server has encountered a temporary failure.
    If the command is repeated without any change,
    it might be completed.

5 The server has encountered an error.

The second number gives more information.
Its six possible values are:

0 A syntax error has occurred.
1 Indicates a informational reply, for example to a HELP request.
2 Refers to the connection status.
3 Unspecified.
4 Unspecified.
5 Refers to the status of the mail system
   as a whole and the mail server in particular.

The third number shows more graduations of the mail transfer status to return a more detailed report as detailed in the ESMTP server response codes defined in RFC 821 and later extensions.

Example of an older SMTP response text description for the first number.
2.x.x    Success
            
(The server has completed the task successfully).

4.x.x   Persistent Transient Failure
           
(The server has encountered a temporary failure).

5.x.x   Permanent Failure (The server has encountered an error).

The number 5
.x.x at the beginning of the specified SMTP protocol response code is about the only thing you can go by, because different mail server can use their own text description with the second and third number.

 

SMTP Error Codes
for
Windows 95, 98, NT 4.0, 2000 MAC OS 8.0 +

 

ERROR DESCRIPTION
211 System status, or system help reply
214 Help message
(Information on how to use the receiver or the meaning of a particular non-standard command; this reply is useful only to the human user)
220 Service ready
221 Service closing transmission channel
250 Requested mail action okay, completed
251 User not local; will forward to
354 Start mail input; end with .
421 Service not available, closing transmission channel
(This may be a reply to any command if the service knows it must shut down)
450 Requested mail action not taken: mailbox unavailable
(E.g., mailbox busy)
451 Requested action aborted: local error in processing
452 Requested action not taken: insufficient system storage
500 Syntax error, command unrecognized
(This may include errors such as command line too long)
501 Syntax error in parameters or arguments
502 Command not implemented
503 Bad sequence of commands
504 Command parameter not implemented
550 Requested action not taken: mailbox unavailable
(E.g., mailbox not found, no access)
551 User not local; please try
552 Requested mail action aborted: exceeded storage allocation
553 Requested action not taken: mailbox name not allowed
(E.g., mailbox syntax incorrect)
554 Transaction failed