<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - SMTP and mail server error codes</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>SMTP and mail server error codes</h1>
</div>
<div id="content">



<div class="wikitext"><h3>SMTP and mail server error codes</h3>
<hr />
<h4>Short description of SMTP/ESMTP error codes and error messages</h4>
<p class="tightenable">How often do you get <i>&quot;FATAL ERROR: Could not send your message. Error #550&quot;</i> when sending email?
What does &quot;Error #550&quot; mean?
Ordinary users may only understand that their e-mail was not sent.</p>
<ul><li class="tightenable"><i>Why and what to do?</i></li>
</ul>
<p class="tightenable">You need to know the structure of these error codes. A mail server will reply to every request a client (such as your email program, like Outlook Express, Eudora, Atomic Mail Sender) makes with a return code. This code consists of three numbers. First digit tells whether the server accepted the command and if it could handle it. There are five possible values:</p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable bottom"><th>1</th>
<td>Mail server has accepted the command, but does not yet take any action. A confirmation message is required.</td>
</tr>
<tr class="tightenable top bottom"><th>2</th>
<td>Mail server has completed the task successfully without errors.</td>
</tr>
<tr class="tightenable top bottom"><th>3</th>
<td>Mail server has understood the request, but requires further information to complete it.</td>
</tr>
<tr class="tightenable top bottom"><th>4</th>
<td>Mail server has encountered a temporary failure. If the command is repeated without any change, it might be completed. Try again, it may help!</td>
</tr>
<tr class="tightenable top"><th>5</th>
<td>Mail server has encountered a fatal error. Your request can't be processed.</td>
</tr>
</table>
<p class="tightenable">Second digit tells more. There are six possible values:</p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable bottom"><th>0</th>
<td>Syntax error</td>
</tr>
<tr class="tightenable top bottom"><th>1</th>
<td>Information reply (for example to HELP request)</td>
</tr>
<tr class="tightenable top bottom"><th>2</th>
<td>This digit refers to the status of connection</td>
</tr>
<tr class="tightenable top bottom"><th>3</th>
<td>non-used</td>
</tr>
<tr class="tightenable top bottom"><th>4</th>
<td>non-used</td>
</tr>
<tr class="tightenable top"><th>5</th>
<td>This digit refers to the status of the mail server</td>
</tr>
</table>
<p class="tightenable">The third digit tells more than the second again. It shows more graduations of the mail transferring status. Combination of these three digits gives us detailed list of ESMTP server response codes, as layed down in RFC 821 and later extensions.</p>
<p class="tightenable">Error code SMTP/ESMTP error message description:</p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable"><th>211</th>
<td>System status, or system help reply</td>
</tr>
<tr class="tightenable"><th>214</th>
<td>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)</td>
</tr>
<tr class="tightenable"><th>220</th>
<td>Service ready</td>
</tr>
<tr class="tightenable"><th>221</th>
<td>Service closing transmission channel</td>
</tr>
<tr class="tightenable"><th>250</th>
<td>Requested mail action okay, completed</td>
</tr>
<tr class="tightenable"><th>251</th>
<td>User not local; will forward to</td>
</tr>
<tr class="tightenable"><th>354</th>
<td>Start mail input; end with .</td>
</tr>
<tr class="tightenable"><th>421</th>
<td>Service not available, closing transmission channel (This may be a reply to any command if the *service knows it must shut down)</td>
</tr>
<tr class="tightenable"><th>450</th>
<td>Requested mail action not taken: mailbox unavailable (E.g., mailbox busy)</td>
</tr>
<tr class="tightenable"><th>451</th>
<td>Requested action aborted: local error in processing</td>
</tr>
<tr class="tightenable"><th>452</th>
<td>Requested action not taken: insufficient system storage</td>
</tr>
<tr class="tightenable"><th>500</th>
<td>Syntax error, command unrecognized (This may include errors such as command line too long)</td>
</tr>
<tr class="tightenable"><th>501</th>
<td>Syntax error in parameters or arguments</td>
</tr>
<tr class="tightenable"><th>502</th>
<td>Command not implemented</td>
</tr>
<tr class="tightenable"><th>503</th>
<td>Bad sequence of commands</td>
</tr>
<tr class="tightenable"><th>504</th>
<td>Command parameter not implemented</td>
</tr>
<tr class="tightenable"><th>550</th>
<td>Requested action not taken: mailbox unavailable(E.g., mailbox not found, no access)</td>
</tr>
<tr class="tightenable"><th>551</th>
<td>User not local; please try</td>
</tr>
<tr class="tightenable"><th>552</th>
<td>Requested mail action aborted: exceeded storage allocation</td>
</tr>
<tr class="tightenable"><th>553</th>
<td>Requested action not taken: mailbox name not allowed (E.g., mailbox syntax incorrect)</td>
</tr>
<tr class="tightenable"><th>554</th>
<td>Transaction failed</td>
</tr>
</table>
<hr />
<p class="tightenable top bottom">Back to <a href="General%20Linux%20documentation.html" class="wiki">General Linux documentation</a></p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: <a href="hfwang.html" class="wiki">hfwang</a>  Last edited on January 20, 2004  1:06 am by <a href="hfwang.html" class="wiki">hfwang</a></p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
