<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dingobytes &#187; 550 Banned</title>
	<atom:link href="http://www.dingobytes.com/tag/550-banned/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dingobytes.com</link>
	<description>what your nephew can't make you</description>
	<lastBuildDate>Tue, 17 Jan 2012 22:24:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dealing with sendmail errors</title>
		<link>http://www.dingobytes.com/linux/dealing-with-sendmail-errors</link>
		<comments>http://www.dingobytes.com/linux/dealing-with-sendmail-errors#comments</comments>
		<pubDate>Tue, 19 Aug 2008 07:18:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[550 Banned]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[Service unavailable]]></category>
		<category><![CDATA[smtp auth]]></category>

		<guid isPermaLink="false">http://www.dingobytes.com/?p=9</guid>
		<description><![CDATA[UPDATE: Please disregard all that is below (I was talking out my arse). All was good for some time and then I began getting this error again. After some extensive google searching, I found a lot of articles that indicated that using localhost.localdomain for host would cause the mail to be rejected. I changed my [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #0000ff;"><strong>UPDATE</strong></span>: Please disregard all that is below (I was talking out my arse). All was good for some time and then I began getting this error again. After some extensive google searching, I found a lot of articles that indicated that using localhost.localdomain for host would cause the mail to be rejected. I changed my hosts file (keeping localhost.localdomain localhost of course) and rebooted. Still didn&#8217;t have much luck so I installed sendmail from scratch again using the following instructions from howtoforge and all was good.</p>
<p>http://www.howtoforge.com/configuring-sendmail-to-act-as-a-smarthost-and-to-rewrite-from-address</p>
<p><span style="color: #ff0000;"><strong>Again DO NOT USE THE DESTRUCTIONS BELOW</strong></span></p>
<p>I noticed last week that my emails were not being delivered properly. After taking a look at when the issue started, I realized that it was about the same time I updated my box.</p>
<p>My email was being returned with the reason: 550 Banned rcpt apache@localhost.localdomain. There was also another error 554 5.0.0 Service unavailable. Both of these errors on their own were not to helpful. I asked a friend (the one who sold me the box) to help and he gave me some good advice, but I was unable to resolve the issue and several Google searches didn&#8217;t reveal any solution.</p>
<p><span id="more-9"></span>I checked the maillog in /var/log/ and found that the mail was being sent internally, but I have to use my ISP mail server to actually deliver the messages and this was not happening. The error I found in the mail log that helped was &#8220;stat=Deferred: Temporary AUTH failure&#8221;. I was able to find the resolution to the issue right on the Sendmail.org site.</p>
<p>I use my sendmail as a client and up until last week I never had any issue with the setup I was using. I am still not sure if I began having an issue with sendmail because it was updated or if it was just my ISP found the security issue with the way I was using it, but eithr way, it stopped working correctly.</p>
<p>Here is the error:</p>
<p><code>----- The following addresses had permanent fatal errors -----<br />
&lt;apache@localhost.localdomain&gt;<br />
(reason: 550 Banned rcpt apache@localhost.localdomain *@localhost.localdomain)</code></p>
<p><code>----- Transcript of session follows -----<br />
... while talking to mail.cableone.net.:<br />
&gt;&gt;&gt; RCPT To:&lt;apache@localhost.localdomain&gt;<br />
&lt;&lt;&lt; 550 Banned rcpt apache@localhost.localdomain *@localhost.localdomain<br />
550 5.1.1 &lt;apache@localhost.localdomain&gt;... User unknown</code></p>
<p><code>Final-Recipient: RFC822; apache@localhost.localdomain<br />
Action: failed<br />
Status: 5.1.1<br />
Remote-MTA: DNS; mail.cableone.net<br />
Diagnostic-Code: SMTP; 550 Banned rcpt apache@localhost.localdomain *@localhost.localdomain<br />
Last-Attempt-Date: Mon, 18 Aug 2008 21:45:23 -0500</code></p>
<p><code>---------- Forwarded message ----------<br />
From: Mail Delivery Subsystem &lt;MAILER-DAEMON&gt;<br />
To: &lt;apache@localhost.localdomain&gt;<br />
Date: Mon, 18 Aug 2008 20:45:31 -0500<br />
Subject: Returned mail: see transcript for details<br />
----- The following addresses had permanent fatal errors -----<br />
&lt;support@cityofdilworth.com&gt;<br />
(reason: 550 Banned from (apache@localhost.localdomain) (*@localhost.localdomain))</code></p>
<p><code>----- Transcript of session follows -----<br />
... while talking to mail.cableone.net.:<br />
&gt;&gt;&gt; MAIL From:&lt;apache@localhost.localdomain&gt; SIZE=1521<br />
&lt;&lt;&lt; 550 Banned from (apache@localhost.localdomain) (*@localhost.localdomain)<br />
554 5.0.0 Service unavailable</code></p>
<p><code>Final-Recipient: RFC822; support@cityofdilworth.com<br />
Action: failed<br />
Status: 5.0.0<br />
Diagnostic-Code: SMTP; 550 Banned from (apache@localhost.localdomain) (*@localhost.localdomain)<br />
Last-Attempt-Date: Mon, 18 Aug 2008 20:45:31 -0500</code></p>
<p><code>---------- Forwarded message ----------</code></p>
<p>To resolve the issue, simply follow the instructions to setup SMTP AUTH that were provided by Benji Fisher. To start, log onto your machine as <code>root</code>.</p>
<ol>
<li>Change directory to where your sendmail configuration files <code>(sendmail.mc</code> and <code>sendmail.cf</code>) are located, usually<code> /etc/mail/</code></li>
<li>Create a safe subdirectory (suggested name <code>auth/</code>):<code># mkdir auth<br />
# chmod 700 auth</code></li>
<li>Create a file with your authentication information (suggested name <code>auth/client-info</code>):<br />
<code>AuthInfo:your.isp.net "U:root" "I:user" "P:password"</code></p>
<p>filling in your ISP&#8217;s mail server, your user name, and your password. (Note: Earthlink, and perhaps other ISP&#8217;s, requires your full e-mail address as a user name.)</li>
<li>Generate the authentication database and make both files readable only by <code>root</code>:<br />
<code># cd auth<br />
# makemap hash client-info &lt; client-info<br />
# chmod 600 client-info*<br />
# cd ..</code></li>
<li>Add the following lines to your <code>sendmail.mc</code> file, filling in your ISP&#8217;s mail server:<code>define(`SMART_HOST',`your.isp.net')dnl<br />
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl<br />
FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl</code></li>
<li>Generate <code>sendmail.cf</code>:<code># m4 sendmail.mc &gt; sendmail.cf</code></li>
<li>Restart the sendmail daemon, e.g., (this depends on your OS):<code># service sendmail restart</code> or <code># /etc/init.d/sendmail restart</code></li>
</ol>
<p>That should take care of the issue!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dingobytes.com/linux/dealing-with-sendmail-errors/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.dingobytes.com @ 2012-02-05 21:43:32 -->
