<?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>MCB Systems &#187; spam</title>
	<atom:link href="http://www.mcbsys.com/techblog/tag/spam/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcbsys.com/techblog</link>
	<description>Custom Software and I.T. Services</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:53:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Testing SMTP Using Telnet</title>
		<link>http://www.mcbsys.com/techblog/2007/08/testing-smtp-using-telnet/</link>
		<comments>http://www.mcbsys.com/techblog/2007/08/testing-smtp-using-telnet/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 08:17:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[telnet]]></category>

		<guid isPermaLink="false">/mark/post/Testing-SMTP-Using-Telnet.aspx</guid>
		<description><![CDATA[I&#8217;m trying out a hosted anti-spam solution. This service works by becoming my public-facing mail server (DNS MX record), and relaying non-spam mail to the mail server in my office.
Due to a configuration error, I lost about 15 hours of email&#8211;the host wasn&#8217;t relaying for my domain. Email was bouncing with the message &#8220;553 Relaying [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying out a hosted anti-spam solution. This service works by becoming my public-facing mail server (DNS MX record), and relaying non-spam mail to the mail server in my office.</p>
<p>Due to a configuration error, I lost about 15 hours of email&#8211;the host wasn&#8217;t relaying for my domain. Email was bouncing with the message &#8220;553 Relaying is not supported&#8221;.</p>
<p>Lesson learned (with thanks to Ezra Herman):&nbsp; <em>before</em> switching DNS, use Telnet to test the connection to the host and make sure it is accepting email for my domain. Here&#8217;s how to do it:</p>
<p><strong>XFOR: Telnet to Port 25 to Test SMTP Communication</strong><br />
<a title="XFOR: Telnet to Port 25 to Test SMTP Communication" href="http://support.microsoft.com/kb/153119" target="_blank">http://support.microsoft.com/kb/153119</a></p>
<p>The configuration is fixed, I sent myself an email using a Telnet session to the anti-spam host, so <em>now</em> I can update my DNS!</p>
<p><span style="color: red;">Update 4/28/2009:</span>&nbsp; This TechNet article explains testing SMTP with Telnet when authentication (but not SSL encryption) is needed:</p>
<p><strong>How to Use Telnet to Test SMTP Communication</strong><br />
<a href="http://technet.microsoft.com/en-us/library/aa995718(EXCHG.65).aspx" target="_blank">http://technet.microsoft.com/en-us/library/aa995718(EXCHG.65).aspx</a></p>
<p><span style="color: red;">Update 12/18/2009:</span>&nbsp; I tried to use Telnet to test sending a message to Go Daddy&#8217;s email server (smtp.secureserver.net). But whenever I typed</p>
<p><code>MAIL FROM:Admin@test.com</code></p>
<p>as described in KB 153119, I got this message:</p>
<p><code>501 #5.5.2 syntax error 'MAIL FROM:Admin@test.com'</code></p>
<p>I noticed in a <a href="http://www.mailenable.com" target="_blank">MailEnable</a> SMTP log that it encloses email addresses in angle brackets. Sure enough, when I typed</p>
<p><code>MAIL FROM:</code><code>&lt;Admin@test.com</code>&gt;</p>
<p>I got the expected response:</p>
<p><code>250 sender </code><code>&lt;Admin@test.com&gt; ok</code></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 316px; width: 1px; height: 1px; overflow: hidden;"><code>&lt;Admin@test.com</code>&gt;</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2007/08/testing-smtp-using-telnet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

