<?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>Email management, storage and security for business email admins &#187; SMTP</title>
	<atom:link href="http://www.theemailadmin.com/tag/smtp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theemailadmin.com</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 14:00:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using Office 365 Plan P with your Company&#8217;s Domain Name</title>
		<link>http://www.theemailadmin.com/2011/08/using-office-365-plan-p-with-your-companys-domain-name/</link>
		<comments>http://www.theemailadmin.com/2011/08/using-office-365-plan-p-with-your-companys-domain-name/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 14:00:23 +0000</pubDate>
		<dc:creator>Paul Mah</dc:creator>
				<category><![CDATA[Exchange server]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[email management]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=4376</guid>
		<description><![CDATA[You must have heard about Office 365 by now, the newly launched cloud service by Microsoft that offers Exchange Online and other Microsoft-hosted services such as SharePoint Online, Lync Online and Office Web Apps.  Before being dismayed however, Exchange administrators may want to first check out my arguments as to Why Office 365 is good [...]<p><a href="http://www.theemailadmin.com/2011/08/using-office-365-plan-p-with-your-companys-domain-name/">Using Office 365 Plan P with your Company&#8217;s Domain Name</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F08%2Fusing-office-365-plan-p-with-your-companys-domain-name%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2011_2F08_2Fusing-office-365-plan-p-with-your-companys-domain-name_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F08%2Fusing-office-365-plan-p-with-your-companys-domain-name%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a target="_blank" href="http://www.theemailadmin.com/wp-content/uploads/2011/07/DNS.png"><img class="alignright size-full wp-image-4406" style="border-width: 0px; border-color: black; border-style: solid; margin: 10px;" src="http://www.theemailadmin.com/wp-content/uploads/2011/07/DNS.png" alt="" width="300" height="150" /></a>You must have heard about Office 365 by now, the newly launched cloud service by Microsoft that offers Exchange Online and other Microsoft-hosted services such as SharePoint Online, Lync Online and Office Web Apps.  Before being dismayed however, Exchange administrators may want to first check out my arguments as to <a href="http://www.theemailadmin.com/2011/07/why-office-365-is-good-for-exchange-administrators/">Why Office 365 is good for Exchange Administrators</a>. In addition, those who have yet to explore <a href="http://www.microsoft.com/en-sg/office365/online-software.aspx" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/en-sg/office365/online-software.aspx?referer=');">Office 365</a> may want to take some time to read my earlier article on <em>TheEmailAdmin</em> titled <a href="http://www.theemailadmin.com/2011/07/a-closer-look-at-exchange-in-microsofts-office-365/">A Closer Look at Exchange in Microsoft&#8217;s Office 365</a>.<span id="more-4376"></span></p>
<p>Despite its various merits however, I would caution companies to carefully consider their requirements and sign up for Office 365 based solely on their needs &#8211; and not be taken in by the hype.  But let&#8217;s assume for the moment that Microsoft&#8217;s <a target="_blank" href="http://www.microsoft.com/en-sg/office365/plans/small-business/email-calendar.aspx" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/en-sg/office365/plans/small-business/email-calendar.aspx?referer=');">Plan P</a> with its 25GB of mailbox storage per user is a great fit for your small business, and you would like to shift your company&#8217;s Exchange onto Office 365.  Having made the transition to Plan P myself, I want to highlight some possible issues that you may encounter.</p>
<p><strong>Transfer your domain to Microsoft</strong></p>
<p>Businesses considering Plan P may be surprised to learn that it does not support the use of domain names in the same way that Gmail, its web-based email services competitor, does.  Google allows Gmail users to send out emails from multiple domains as long as they have been validated, which means that the Send field of your emails will show: <a target="_blank" href="mailto:yourname@yourcompany.com"><em>yourname@yourcompany.com</em></a> when sent from your Gmail-hosted account.  In Plan P however, businesses will have to transfer the entire domain name to Microsoft before they get the same result.  Failing to do so will see Plan P stuck to the default: <a target="_blank" href="mailto:yourname@yourcompany.onmicrosoft.com">yourname@yourcompany.onmicrosoft.com</a> when sending out email from your Office 365 account &#8211; hardly something a business would want.</p>
<p>Depending on who currently hosts your domain name server and the kind of services hosted on your domain, this may represent a significant problem to some businesses.  This is compounded by the fact that existing companies would already have their own websites with their own hosting arrangements.  Finally, these websites may be running on PHP or other scripting languages not supported by Microsoft.  Thankfully, companies that already have their own web server for their corporate website have a relatively easy way out if they are willing to transfer their domain name hosting over to Microsoft.</p>
<p>The steps are:</p>
<ol>
<li> Transfer  your domain name to Microsoft (Admin: Management -&gt; Domains -&gt; Add a domain)</li>
<li>Use the DNS Manager and set the appropriate A record (www) back to your company&#8217;s web server</li>
</ol>
<p>According to forum postings that I came across, this strange state of affairs came about because Microsoft did not consider Plan P businesses to require a &#8220;vanity&#8221; domain (yourcompany.com).  I have not tried Plan E yet, though it is my understanding that it does not compel the transfer of your domain name to Microsoft in this manner.</p>
<p><strong>Configuring Plan P to host your own domain</strong></p>
<p>As highlighted above, transferring their entire domain name hosting to Microsoft may not necessarily be an option for some businesses for various reasons.  For example, there may be a need to pipe emails through a spam filtering appliance or online service, or you may find Microsoft&#8217;s functional but rudimentary DNS manager (A and CNAME records only) inadequate for your needs.</p>
<p>Or like me, you may want to forward your emails through an archival service before channeling it into your inbox.  In this scenario, it is possible to forward your incoming messages to: <a target="_blank" href="mailto:yourname@yourcompany.onmicrosoft.com">yourname@yourcompany.onmicrosoft.com</a> and still receive your mails.  When it comes to outgoing emails however, it would be more professional to have your email aliased as: <a target="_blank" href="mailto:yourname@yourcompany.com">yourname@yourcompany.com</a>.  There is another way around it, though be warned that it is a more involved task than the earlier method.</p>
<p>The steps are:</p>
<ol>
<li>Initiate the wizard to transfer your domain name to Microsoft (Just like above)</li>
<li>Stop the verification process before it is completed (Don&#8217;t click &#8220;Next&#8221;)</li>
<li>Change the email send address manually using PowerShell to update your Office 365 Exchange Server configuration</li>
</ol>
<p>For the specific steps and PowerShell commands, IT Consultant Peter Meinl does an excellent job outlining the requisite steps his blog entry <a target="_blank" href="http://petermeinl.wordpress.com/2011/07/04/changing-the-email-send-address-in-office-365-without-moving-your-domain/" onclick="pageTracker._trackPageview('/outgoing/petermeinl.wordpress.com/2011/07/04/changing-the-email-send-address-in-office-365-without-moving-your-domain/?referer=');">Changing the email send address in Office 365 without moving your domain</a>.</p>
<p>Administrators new to PowerShell should be cautioned that it has some dependencies on additional software that you may need to install (the PowerShell installation will prompt you on them).  In a nutshell: Don&#8217;t expect a five minute procedure if doing it for the first time; factor in some time to install them.</p>
<p>&nbsp;</p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2011/08/using-office-365-plan-p-with-your-companys-domain-name/">Using Office 365 Plan P with your Company&#8217;s Domain Name</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2011/08/using-office-365-plan-p-with-your-companys-domain-name/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>17 RFCs Every Email Admin should Know About</title>
		<link>http://www.theemailadmin.com/2011/05/17-rfcs-email-admin-should-know/</link>
		<comments>http://www.theemailadmin.com/2011/05/17-rfcs-email-admin-should-know/#comments</comments>
		<pubDate>Tue, 17 May 2011 17:13:00 +0000</pubDate>
		<dc:creator>Ed Fisher</dc:creator>
				<category><![CDATA[email management]]></category>
		<category><![CDATA[email servers]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=4025</guid>
		<description><![CDATA[As an email admin, your daily life is governed by documents that may have been written decades ago by the founders of the Internet. You should be familiar with several of them.<p><a href="http://www.theemailadmin.com/2011/05/17-rfcs-email-admin-should-know/">17 RFCs Every Email Admin should Know About</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F05%2F17-rfcs-email-admin-should-know%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2011_2F05_2F17-rfcs-email-admin-should-know_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F05%2F17-rfcs-email-admin-should-know%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-medium wp-image-4026" style="margin: 10px; border: 0px solid black;" src="http://www.theemailadmin.com/wp-content/uploads/2011/05/the-internet-puzzle-300x174.jpg" alt="the-internet-puzzle" width="166" height="102" />The Internet’s Request For Comment system may be one of the world’s best examples of rule by majority consent, as it is the de facto set of ‘laws’ for how the Internet (and all its associated protocols) works, and is essentially a collection of documents that ask the world ‘what do you think about this?’</p>
<p>With literally thousands of documents in the collection, defining standards, recommendations, best practices, and the occasional joke, anytime you want to know the why behind how something is done, you need look no further than the RFCs. While they are replicated on countless websites, the official repository is found at <a target="_blank" href="http://www.rfc-editor.org/" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/?referer=');">http://www.rfc-editor.org</a>.</p>
<p>RFCs evolve over time, and earlier RFCs can (and often will) be superseded by newer ones. There are several RFCs that address how our email protocols and the associated DNS records should work, and as an email admin, you should be familiar with the lineage of all the major email RFCs. Even those which have been superseded usually contain useful information, as most new ones define enhancements to a protocol, as opposed to completely replacing it. Over 300 of the RFCs have something to do with email; fortunately you won’t need to know them all unless you want to program a new email application. Below you will find a summary of the seventeen RFCs that email admins should have at least a passing familiarity with, and links to the online documents should you wish to read further. All links will open in a new window/tab.</p>
<h3><span id="more-4025"></span>DNS</h3>
<p>The DNS records that support email include MX records, PTR records, SPF and Domain Key records. Each record format is defined within these RFCs. Here are the main RFCs concerned with DNS.</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc974.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc974.txt?referer=');">rfc 974</a> Mail routing and the domain system (MX records)</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc4406.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc4406.txt?referer=');">rfc 4406</a> Sender ID: Authenticating E-Mail</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc4408.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc4408.txt?referer=');">rfc 4408</a> Sender Policy Framework (SPF) for Authorizing Use of Domains in E-Mail, Version 1</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc4871.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc4871.txt?referer=');">rfc 4871</a> DomainKeys Identified Mail (DKIM) Signatures</p>
<h3>SMTP</h3>
<p>The Simple Mail Transfer Protocol has evolved multiple times throughout its history, but each newer RFC ensures backwards compatibility with its predecessor.</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc821.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc821.txt?referer=');">rfc 821</a> Simple Mail Transfer Protocol (SMTP)</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc822.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc822.txt?referer=');">rfc 822</a> Standard for the Format of Internet Messages</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc2821.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc2821.txt?referer=');">rfc 2821</a> Simple Mail Transfer Protocol (SMTP)</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc2822.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc2822.txt?referer=');">rfc 2822</a> Internet Message Format</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc5321.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc5321.txt?referer=');">rfc 5321</a> Simple Mail Transfer Protocol (SMTP)</p>
<h3>POP3</h3>
<p>The Post Office Protocol has gone through a few iterations. Currently we are up to v3. You can review the RFCs for the earlier versions if you’d like to, but here are the ones relevant to the current version.</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc1725.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc1725.txt?referer=');">rfc 1725</a> Post Office Protocol Version 3</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc1939.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc1939.txt?referer=');">rfc 1939</a> Post Office Protocol Version 3</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc2449.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc2449.txt?referer=');">rfc 2449</a> POP3 Extension Mechanism</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc5034.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc5034.txt?referer=');">rfc 5034</a> The Post Office Protocol Simple Authentication Mechanmism</p>
<h3>IMAP</h3>
<p>Like POP, IMAP has gone through several iterations. The current one is IMAPv4.</p>
<p><a target="_blank" href="http://www.faqs.org/rfcs/rfc3501.html" onclick="pageTracker._trackPageview('/outgoing/www.faqs.org/rfcs/rfc3501.html?referer=');">rfc 3501</a> Internet Message Access Protocol v4</p>
<h3>Security</h3>
<p>While there are several RFCs that address various security mechanism within email, here are some of the ones you have probably dealt with or will deal with in your duties.</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc1991.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc1991.txt?referer=');">rfc 1991</a> PGP Message Exchange Formats</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc2246.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc2246.txt?referer=');">rfc 2246</a> TLS Protocol</p>
<p><a target="_blank" href="http://www.rfc-editor.org/rfc/rfc2595.txt" onclick="pageTracker._trackPageview('/outgoing/www.rfc-editor.org/rfc/rfc2595.txt?referer=');">rfc 2595</a> Using TLS with IMAP, POP3 and ACAP</p>
<p>Being familiar with the RFCs helps you understand what goes on between client and server or between server and server, and also reveals just how products from diverse manufacturers, running on many different operating systems, can still interoperate, making the exchange of messages and files possible.</p>
<p><em>There are several others related to email; which have you found most useful?</em></p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2011/05/17-rfcs-email-admin-should-know/">17 RFCs Every Email Admin should Know About</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2011/05/17-rfcs-email-admin-should-know/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>4 Steps in Troubleshooting SharePoint’s outbound SMTP connections</title>
		<link>http://www.theemailadmin.com/2011/04/4-steps-in-troubleshooting-sharepoint%e2%80%99s-outbound-smtp-connections/</link>
		<comments>http://www.theemailadmin.com/2011/04/4-steps-in-troubleshooting-sharepoint%e2%80%99s-outbound-smtp-connections/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 10:00:43 +0000</pubDate>
		<dc:creator>Ed Fisher</dc:creator>
				<category><![CDATA[email management]]></category>
		<category><![CDATA[Microsoft Sharepoint]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=3875</guid>
		<description><![CDATA[SharePoint can generate a lot of email, and email admins may be called in when SharePoint has problems sending those messages. This is a crash course for the email admin who has to troubleshoot SharePoint's messaging.<p><a href="http://www.theemailadmin.com/2011/04/4-steps-in-troubleshooting-sharepoint%e2%80%99s-outbound-smtp-connections/">4 Steps in Troubleshooting SharePoint’s outbound SMTP connections</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F04%2F4-steps-in-troubleshooting-sharepoint%25e2%2580%2599s-outbound-smtp-connections%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2011_2F04_2F4-steps-in-troubleshooting-sharepoint_25e2_2580_2599s-outbound-smtp-connections_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F04%2F4-steps-in-troubleshooting-sharepoint%25e2%2580%2599s-outbound-smtp-connections%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-thumbnail wp-image-3876" style="margin: 10px; border: 0px solid black;" src="http://www.theemailadmin.com/wp-content/uploads/2011/04/SharePointlogo-150x150.jpg" alt="SharePointlogo" width="150" height="150" />This is a blog for email admins, but frequently email admins are called into troubleshoot systems that want to use our email systems to send and/or receive email. One of the more critical services that will want to use our email system, and that can be tricky to troubleshoot, is SharePoint.</p>
<p>Microsoft’s SharePoint server can generate a lot of email. Notifications of group assignments, permissions assignments, workflows, and alerts can all cause SharePoint to send email out, and most companies want this email going through their Exchange or SMTP relay, as opposed to going straight out to the Internet using the IIS SMTP service.</p>
<p><span id="more-3875"></span>If you are engaged to troubleshoot email relaying from SharePoint, you will want to have an idea of where things are configured, how they can go wrong, and how to troubleshoot them. This post will start with the basics on the SharePoint server and work its way outward. Keep the SharePoint admin nearby, as some of these things may require them to show you settings within SharePoint or to make changes and test.</p>
<ol>
<li><strong>Check the basics; name resolution and connectivity</strong><br />
Too many times have I seen hours burned troubleshooting obscure code or script files, only to find that DNS wasn’t set up properly or the firewall ACL that they were absolutely certain was in place, wasn’t. Assuming your company has a designated SMTP relay, get on the SharePoint Web Front End and make sure you can resolve the name, ping it, and connect to it on TCP port 25 using TELNET or <a target="_blank" href="http://retrohack.com/how-to-troubleshoot-networks-with-tcping/" onclick="pageTracker._trackPageview('/outgoing/retrohack.com/how-to-troubleshoot-networks-with-tcping/?referer=');">TCPING</a>.</li>
<li><strong>Make sure the SMTP relay will accept email from the SharePoint server</strong><br />
If you aren’t sure how to do that, you want to have the TELNET executable on your server, and you can follow the steps in <a href="http://www.theemailadmin.com/2010/12/using-telnet-to-test-your-mail-server/">this post</a>. Make sure that you see a 221 after your QUIT. If you are using Exchange as your relay, and it has not be set up to support unauthenticated connections internally, check out <a href="http://www.theemailadmin.com/2011/03/how-to-use-your-exchange-server-as-an-smtp-relay/">this post</a> for the steps to add a listener for your SharePoint server. If you don’t see the 221, then your problem is probably on the SMTP server and not in SharePoint. Assuming you did get the 221, keep going.</li>
<li><strong>Verify that AD is set up correctly</strong><br />
SharePoint depends upon Active Directory for most of the information about users. Make sure that any users who are not receiving email have the correct email address populated in the properties of their email account. If they do not, correct that, ensure that AD replicates to any domain controllers in SharePoint’s site, and then have the SharePoint admin start a new crawl to get the updated information.</li>
<li>There are several ways to configure the SMTP server in SharePoint, but the easiest way to see how it is currently configured is to use SharePoint Central Administration. Have the SharePoint admin launch CA, browse to System Settings, then E-Mail and Tex Messages (SMS), and click Configure outgoing e-mail settings. Verify that the settings there are correct for your environment. Note that there is no place to configure authentication; your SMTP relay will have to accept unauthenticated connections.</li>
</ol>
<p>If the testing in step 2 worked, your users’ email addresses are properly set up in AD, and your SharePoint server is properly set up in step 4, then try to send an email again, and watch the inbound SMTP queue on your mail server. Odds are the messages are making it from SharePoint to the mail server, and then failing. But the basics will solve more problems than not with SharePoint sending email, and the steps above will make sure you cover all of that.</p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2011/04/4-steps-in-troubleshooting-sharepoint%e2%80%99s-outbound-smtp-connections/">4 Steps in Troubleshooting SharePoint’s outbound SMTP connections</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2011/04/4-steps-in-troubleshooting-sharepoint%e2%80%99s-outbound-smtp-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common SMTP Exploits &#8211; Part 1</title>
		<link>http://www.theemailadmin.com/2011/04/common-smtp-exploits-part-1/</link>
		<comments>http://www.theemailadmin.com/2011/04/common-smtp-exploits-part-1/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 10:46:45 +0000</pubDate>
		<dc:creator>Jeff Orloff</dc:creator>
				<category><![CDATA[email management]]></category>
		<category><![CDATA[email security]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[email server]]></category>
		<category><![CDATA[email servers]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=3836</guid>
		<description><![CDATA[Ever since the inclusion of SMTP-AUTH the Simple Mail Transport Protocol was thought to be on its way to a more secure messaging protocol and with Microsoft’s inclusion of Secure Password Authentication that addressed security issues with Microsoft mail clients mail administrators could easily be lulled into a sense of security that truthfully doesn’t exist. [...]<p><a href="http://www.theemailadmin.com/2011/04/common-smtp-exploits-part-1/">Common SMTP Exploits &#8211; Part 1</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F04%2Fcommon-smtp-exploits-part-1%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2011_2F04_2Fcommon-smtp-exploits-part-1_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F04%2Fcommon-smtp-exploits-part-1%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="size-full wp-image-3837 alignleft" style="margin: 10px; border: 0px solid black;" src="http://www.theemailadmin.com/wp-content/uploads/2011/04/Vulnerabilities.jpg" alt="Many are unaware of the vulnerabilities in SMTP email servers" width="180" height="120" /></p>
<p>Ever since the inclusion of SMTP-AUTH the Simple Mail Transport Protocol was thought to be on its way to a more secure messaging protocol and with Microsoft’s inclusion of Secure Password Authentication that addressed security issues with Microsoft mail clients mail administrators could easily be lulled into a sense of security that truthfully doesn’t exist.</p>
<p>Email security is much more than simply protecting credentials and authentication. Though most people associate an attack on an email server with private or confidential messages being compromised, the risks of running an email server are much greater than that.</p>
<p>As email is still one of the most widely used methods of business communication, attackers find this to be an attractive target. Not only because they want to see what is in your company’s emails, but because they know that <em>1) email can open the door to many other resources</em> and <em>2) people tend to let their guard down when it comes to using email</em>.</p>
<p>Below you will see some of the most commonly used attacks against SMTP servers over time. While some may no longer be an effective means of compromising a system or network, they do show the trends in exploits that attackers use and being aware of them will help keep you on your toes when it comes to securing your servers against vulnerabilities.</p>
<p><span id="more-3836"></span><strong></p>
<ul>
<li>Buffer overflow exploits</li>
</ul>
<p></strong></p>
<p>Buffer overflows occur when a program is writing date to a buffer (an area that is used to temporarily hold data while it is being moved) and the size limit set for that buffer is maxed out causing an overflow of data. Usually this will crash the system but it can also be used to breach a system’s security.</p>
<p>A common method of exploiting this vulnerability on an SMTP server is to attack with an extremely long email addresses. In the parameter smtp.maxname, the maximum length of the email address is set. If the maximum is reached, the buffer overflow can allow the attacker to gain control through the MAIL FROM or RCPT TO commands.</p>
<p>Another commonly used buffer overflow attack against SMTP servers is against the HELO command where, depending on the server, a command containing more than the threshold of characters can crash the server and allow the attacker to take control using elevated privileges. Piggy back this with the fact that many admins still use the same administrator name and password on multiple systems and you can see where this type of attack can be far more serious than someone simply snooping through the bosses emails. This can lead to a complete network being compromised.</p>
<p>Of course, these only represent a fraction of the different commands that can be susceptible to a buffer overflow attack. Basically any string that overflows a container’s limit can technically be exploited and new vulnerabilities are found on a constant basis.</p>
<ul>
<li><strong>Scanning the email server</strong></li>
</ul>
<p>When debugging mailing lists, the EXPN command can be quite useful as it shows information about the user accounts on a mail system. Of course the information used can also be quite beneficial to an attacker as well. Likewise, the VRFY does the same thing.</p>
<p>If an attacker is able to run these commands on your mail system then they can be used to map valid usernames and even create a hierarchy of user accounts that can be more productive to later attacks since they can also see who belongs to different mailing lists. If they want the IT accounts, they can look for a mailing list associate with this department. Names and accounts for C-level executives, secretaries, the HR department, etc can all be obtained through this vulnerability.</p>
<p>Not only will this give the attacker an employee directory, but it can also provide information about employees that can later be used in social engineering attacks against more lucrative targets within the organization.</p>
<p>With so many server tasks being automated, many admins may go through their careers never having used the EXPN or VRFY commands so they may be completely unaware that they are available. If these are not things that you use in the day to day operations of you or the IT staff then they should be disabled on any SMTP servers.</p>
<p>The second part of this series will look at abuse and relaying as well as how aliasing can be used to compromise your mail systems.</p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2011/04/common-smtp-exploits-part-1/">Common SMTP Exploits &#8211; Part 1</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2011/04/common-smtp-exploits-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Troubleshooting Email Messages using SMTP Headers</title>
		<link>http://www.theemailadmin.com/2011/03/troubleshooting-email-messages-using-smtp-headers/</link>
		<comments>http://www.theemailadmin.com/2011/03/troubleshooting-email-messages-using-smtp-headers/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 13:34:57 +0000</pubDate>
		<dc:creator>Ed Fisher</dc:creator>
				<category><![CDATA[email management]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=3793</guid>
		<description><![CDATA[Outlook 2010 can reveal the SMTP headers of a message, providing useful troubleshooting information.<p><a href="http://www.theemailadmin.com/2011/03/troubleshooting-email-messages-using-smtp-headers/">Troubleshooting Email Messages using SMTP Headers</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F03%2Ftroubleshooting-email-messages-using-smtp-headers%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2011_2F03_2Ftroubleshooting-email-messages-using-smtp-headers_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F03%2Ftroubleshooting-email-messages-using-smtp-headers%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-thumbnail wp-image-3795" style="margin: 10px; border: 0px solid black;" src="http://www.theemailadmin.com/wp-content/uploads/2011/03/email-150x150.jpg" alt="email" width="150" height="150" />If you’ve been using Exchange and Outlook long enough to have used Outlook 2007 or earlier, and you are an email admin, then you’ve probably looked at the SMTP headers of a message to check out where it came from, what servers processed the message, X headers, etc. If you haven’t done that before, there is a wealth of information contained within an email’s header that you can access to glean more information about a message. You can see what servers processed the email from source to destination, the FQDN of the source server, any X headers added by antivirus or SPAM filter systems, and more. Of course, to use this information, you first have to see it.</p>
<p><span id="more-3793"></span>In Exchange 2007, it was as easy to check the properties of a message (thereby exposing the SMTP header) as simply right-clicking a message, and then choosing properties. When I moved on to Exchange 2010, one of the first things I noticed was that that feature was missing. Right-clicking a message revealed a ton of options, but none of them displayed the properties of the message, and therefore showed me my SMTP headers. I never open email, preferring to use the reading pane in Outlook, so it took me ages to realize that there was a way to see my missing headers. In order to get to that information, you first have to double-click the message to open it, then you can click on the File menu, and there you will finally see your Properties. Since I hate actually opening a message, it was great to find another way to get there.</p>
<p>To add a one button access to the properties of an email, do this.</p>
<ol>
<li>In Outlook, the upper left corner of the title bar is called the Quick Access Toolbar. Click the down arrow and then click More Commands</li>
<li>In the Choose Commands From dropdown list, select Commands Not in the Ribbon.</li>
<li>Select Message Options, then click Add.</li>
<li>Click OK and you’re done.</li>
</ol>
<p>You have a new icon on the Quick Access Toolbar. Whichever message is highlighted, clicking that button will bring up the Message Options, and right in the middle of that dialog box is the SMTP headers, called Internet headers in Outlook.</p>
<p><img class="alignleft size-medium wp-image-3797" style="margin: 10px; border: 0px solid black;" src="http://www.theemailadmin.com/wp-content/uploads/2011/03/header-300x267.png" alt="Outlook header" width="300" height="267" />So what can you do with this header? Well, a quick parse may be enough to show you whether the sending server domain name matches the alleged sender’s email address. It can also confirm whether or not the message passed through your SMTP relay, spam filters, etc. because it will show you every SMTP system that handled the message from the sender’s first mail relay to your mailbox server. Here’s what you can determine from the header of a message.</p>
<p>In the top section, which would be the last server to process a message, you will see your server identifying the message, and a timestamp for when the message was received. You may also see information about any anti-spam process that examined the message, like this. Note the SCL, which is the SPAM Confidence Level score.</p>
<p>X-SpamScore: -11<br />
X-BigFish: vps-11(zz18a9K9371Pzz1202hzz8275bh8275dhz2dh2a8h5c0h668h61h)<br />
X-Spam-TCS-SCL: 0:0<br />
X-Forefront-Antispam-Report: KIP:(null);UIP:(null);IPVD:NLI;H:vps20022.example.com;RD: 6-11-22-74.example.com;EFVD:NLI</p>
<p>You will see another section, starting with “Received: from” for each intermediate server between the sender and your final receiving server. The last section that starts with “Received: from” will be the sender’s server, and from that you can see the FQDN of the server, the time stamp for when it received the initial email from the client, the from, to, cc, and reply to addresses, and client information like what type of email client the sender is using. You can also see the message id of the original, if the message you are examining is a reply.</p>
<p>X-Mailer: Microsoft Office Outlook 11<br />
In-Reply-To: 04341A86193B784594D95D83A1D972EE048F828392@VA3DIAXVS301.RED001.local<br />
Thread-Index: AcvtdXfsEG6TQurjTQqb44HmHYINgwADRleg<br />
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994</p>
<p>Often, I have found the timestamps are very useful for troubleshooting delays, which actually turn out to be addressing user concerns about why an email may have taken so long to arrive. Frequently, a user’s perceived delay has been proven to be otherwise, using these headers. Just remember that some servers will stamp a message in UTC, while others will use their local time and display the offset in +/- hours. Also, there is nothing that guarantees a server is synched to NTP. They should be, but anomalies will appear from time to time.</p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2011/03/troubleshooting-email-messages-using-smtp-headers/">Troubleshooting Email Messages using SMTP Headers</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2011/03/troubleshooting-email-messages-using-smtp-headers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>List of Message Tracking IDs for Troubleshooting</title>
		<link>http://www.theemailadmin.com/2011/02/list-of-message-tracking-ids-for-troubleshooting/</link>
		<comments>http://www.theemailadmin.com/2011/02/list-of-message-tracking-ids-for-troubleshooting/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 15:32:43 +0000</pubDate>
		<dc:creator>Mike Rede</dc:creator>
				<category><![CDATA[email management]]></category>
		<category><![CDATA[Exchange server]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=3545</guid>
		<description><![CDATA[Part of every administrator’s troubleshooting effort is to review the log files whenever there are problems or issues with email communications. But it can be an extremely understated disappointment to attempt to bring up the log files only to find out that they do not exist. Or maybe logging was not turned on for some [...]<p><a href="http://www.theemailadmin.com/2011/02/list-of-message-tracking-ids-for-troubleshooting/">List of Message Tracking IDs for Troubleshooting</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F02%2Flist-of-message-tracking-ids-for-troubleshooting%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2011_2F02_2Flist-of-message-tracking-ids-for-troubleshooting_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2011%2F02%2Flist-of-message-tracking-ids-for-troubleshooting%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="size-medium wp-image-3551 alignright" style="margin: 10px; border: 0px initial initial;" src="http://www.theemailadmin.com/wp-content/uploads/2011/02/dreamstimefree_189613-reduced-300x199.jpg" alt="dreamstimefree_189613-reduced" width="300" height="199" /></p>
<p>Part of every administrator’s troubleshooting effort is to review the log files whenever there are problems or issues with email communications. But it can be an extremely understated disappointment to attempt to bring up the log files only to find out that they do not exist. Or maybe logging was not turned on for some reason.</p>
<p>Assuming the log files exist and are also up to date then an administrator can review the log files searching for clues to help them decipher their current problem. However, although the message tracking ID numbers may be listed there is still the need to know what those message tracking ID numbers mean. A list of the majority of the SMTP message tracking ID numbers and their meanings will be included at the end of this article for your use.</p>
<p>Message tracking can be used to track all types of messages, including system messages and regular email messages that are being communicated from a non-Exchange messaging system, across your Exchange organization. An example of how message tracking can be useful is when an administrator needs to locate an email message that has failed to arrive in a recipients’ mailbox. It’s possible that the message is stuck in a connector&#8217;s message queue.</p>
<p>But before an administrator can begin to troubleshoot the failed communication of email messages they must first ensure that the message tracking capability is enabled for Exchange Server. By default, message tracking is not enabled. Each instance of Exchange Server that is to be managed should have message tracking enabled.</p>
<p><span id="more-3545"></span>If an administrator is administering more than one Exchange Server then they can leverage System Policies to help them enable message tracking. If only one Exchange Server is being administered then message tracking can be enabled in Exchange System Manager. Be aware that, as with most logging capable system, when logging is running log files can grow very large on active systems. If your Exchange Server is a system that sees a high amount of communications then plan the location of the log files so that they will have room to grow.</p>
<p>Here are the steps to enabling message tracking in Exchange Server 2003.</p>
<ol>
<li>Start the Exchange System Manager.</li>
<li>Navigate to the Server object to activate Message Tracking.</li>
<li>Right click on the server object.</li>
<li>Click Properties.</li>
<li>Select the General tab</li>
<li>Click the checkbox for Enable Message Tracking.</li>
<li>Verify the log file information is correct.</li>
</ol>
<p>The default state is that log files which are older then seven days will be deleted.</p>
<p>Now, as I mentioned earlier in this article, I am including a list of the majority of the SMTP message tracking ID numbers and their descriptions.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="197" valign="top">Event ID</td>
<td width="197" valign="top">Event Type</td>
<td width="197" valign="top">Description</td>
</tr>
<tr>
<td width="197" valign="top">1010</td>
<td width="197" valign="top">SMTP queued outbound</td>
<td width="197" valign="top">Outgoing mail was queued for delivery by the   Internet Mail Service.</td>
</tr>
<tr>
<td width="197" valign="top">1011</td>
<td width="197" valign="top">SMTP transferred outbound</td>
<td width="197" valign="top">Outgoing   mail was transferred to an Internet recipient.</td>
</tr>
<tr>
<td width="197" valign="top">1012</td>
<td width="197" valign="top">SMTP received inbound</td>
<td width="197" valign="top">Incoming mail was received from by   the Internet Mail Service.</td>
</tr>
<tr>
<td width="197" valign="top">1013</td>
<td width="197" valign="top">SMTP transferred</td>
<td width="197" valign="top">Incoming   mail that was received by the Internet Mail Service was transferred to the   information store.</td>
</tr>
<tr>
<td width="197" valign="top">1014</td>
<td width="197" valign="top">SMTP message rerouted</td>
<td width="197" valign="top">An Internet message is being   rerouted or forwarded to the correct location.</td>
</tr>
<tr>
<td width="197" valign="top">1015</td>
<td width="197" valign="top">SMTP report transferred in</td>
<td width="197" valign="top">A delivery receipt or an NDR was   received by the Internet Mail Service.</td>
</tr>
<tr>
<td width="197" valign="top">1016</td>
<td width="197" valign="top">SMTP report transferred out</td>
<td width="197" valign="top">A delivery receipt or an NDR was   sent to the Internet Mail Service.</td>
</tr>
<tr>
<td width="197" valign="top">1017</td>
<td width="197" valign="top">SMTP report generated</td>
<td width="197" valign="top">A   delivery receipt or an NDR was created.</td>
</tr>
<tr>
<td width="197" valign="top">1018</td>
<td width="197" valign="top">SMTP report absorbed</td>
<td width="197" valign="top">The   receipt or the NDR could not be delivered and was absorbed. (You cannot send   an NDR for an NDR.)</td>
</tr>
<tr>
<td width="197" valign="top">1019</td>
<td width="197" valign="top">SMTP submit message to AQ</td>
<td width="197" valign="top">A new message is submitted to   Advanced Queuing.</td>
</tr>
<tr>
<td width="197" valign="top">1020</td>
<td width="197" valign="top">SMTP begin outbound transfer</td>
<td width="197" valign="top">A message is about to be sent over   the wire by SMTP.</td>
</tr>
<tr>
<td width="197" valign="top">1021</td>
<td width="197" valign="top">SMTP bad mail</td>
<td width="197" valign="top">The   message was transferred to the Badmail folder.</td>
</tr>
<tr>
<td width="197" valign="top">1022</td>
<td width="197" valign="top">SMTP AQ failure</td>
<td width="197" valign="top">A fatal   Advanced Queuing error occurred. Information about the failure was written to   the Event Manager.</td>
</tr>
<tr>
<td width="197" valign="top">1023</td>
<td width="197" valign="top">SMTP local delivery</td>
<td width="197" valign="top">A message was successfully   delivered by a store drive (logged by Advanced Queue).</td>
</tr>
<tr>
<td width="197" valign="top">1024</td>
<td width="197" valign="top">SMTP submit message to cat</td>
<td width="197" valign="top">Advanced Queuing submitted a   message to the categorizer.</td>
</tr>
<tr>
<td width="197" valign="top">1025</td>
<td width="197" valign="top">SMTP begin submit message</td>
<td width="197" valign="top">A new message was submitted to   Advanced Queuing.</td>
</tr>
<tr>
<td width="197" valign="top">1026</td>
<td width="197" valign="top">SMTP AQ failed message</td>
<td width="197" valign="top">Advanced   Queuing could not process the message. The message caused an NDR to be sent,   or the message was put in the Badmail folder.</td>
</tr>
<tr>
<td width="197" valign="top">1027</td>
<td width="197" valign="top">SMTP submit message to SD</td>
<td width="197" valign="top">A message was submitted to the   store driver by the MTA.</td>
</tr>
<tr>
<td width="197" valign="top">1028</td>
<td width="197" valign="top">SMTP SD local delivery</td>
<td width="197" valign="top">The store   driver successfully delivered a message (logged by store driver).</td>
</tr>
<tr>
<td width="197" valign="top">1029</td>
<td width="197" valign="top">SMTP SD gateway delivery</td>
<td width="197" valign="top">The store driver transferred the   message to the MTA.</td>
</tr>
<tr>
<td width="197" valign="top">1030</td>
<td width="197" valign="top">SMTP NDR all</td>
<td width="197" valign="top">All recipients were sent an NDR.</td>
</tr>
<tr>
<td width="197" valign="top">1031</td>
<td width="197" valign="top">SMTP end outbound transfer</td>
<td width="197" valign="top">The   outgoing message was successfully transferred.</td>
</tr>
<tr>
<td width="197" valign="top">1032</td>
<td width="197" valign="top">SMTP messages scheduled to retry categorization</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1033</td>
<td width="197" valign="top">SMTP message categorized and queued for routing</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1034</td>
<td width="197" valign="top">SMTP message routed and queued for remote delivery</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1035</td>
<td width="197" valign="top">SMTP message scheduled to retry routing</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1036</td>
<td width="197" valign="top">SMTP message queued for local delivery</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1037</td>
<td width="197" valign="top">SMTP message scheduled to retry local delivery</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1038</td>
<td width="197" valign="top">SMTP message routed and queued for gateway delivery</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1039</td>
<td width="197" valign="top">SMTP message   deleted by Intelligent Message Filtering</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1040</td>
<td width="197" valign="top">SMTP message rejected by Intelligent Message Filtering</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1041</td>
<td width="197" valign="top">SMTP message archived by Intelligent Message Filtering</td>
<td width="197" valign="top"></td>
</tr>
<tr>
<td width="197" valign="top">1042</td>
<td width="197" valign="top">Message redirected to the alternate recipient</td>
<td width="197" valign="top"></td>
</tr>
</tbody>
</table>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2011/02/list-of-message-tracking-ids-for-troubleshooting/">List of Message Tracking IDs for Troubleshooting</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2011/02/list-of-message-tracking-ids-for-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting Exchange and Unaccepted SMTP Domains</title>
		<link>http://www.theemailadmin.com/2010/12/troubleshooting-exchange-and-unaccepted-smtp-domains/</link>
		<comments>http://www.theemailadmin.com/2010/12/troubleshooting-exchange-and-unaccepted-smtp-domains/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 15:56:57 +0000</pubDate>
		<dc:creator>Mike Rede</dc:creator>
				<category><![CDATA[Exchange server]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=3363</guid>
		<description><![CDATA[Every end user out there takes for granted that when they push the Send button that there will be no problem. And take for granted that when we go to read our inbox that there will be no trouble to download new messages. But, of course, we all know that sending and receiving email messages can [...]<p><a href="http://www.theemailadmin.com/2010/12/troubleshooting-exchange-and-unaccepted-smtp-domains/">Troubleshooting Exchange and Unaccepted SMTP Domains</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2010%2F12%2Ftroubleshooting-exchange-and-unaccepted-smtp-domains%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2010_2F12_2Ftroubleshooting-exchange-and-unaccepted-smtp-domains_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2010%2F12%2Ftroubleshooting-exchange-and-unaccepted-smtp-domains%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Every end user out there takes for granted that when they push the Send button that there will be no problem. And take for granted that when we go to read our inbox that there will be no trouble to download new messages. But, of course, we all know that sending and receiving email messages can be interrupted at any time. And as administrators we must be able to produce solutions as fast as possible.</p>
<p>If your organization is running Microsoft Exchange Server 2003, Microsoft Exchange 2000 Server, or Microsoft Windows Small Business Server 2003 and your end users try to send or receive email then they might run into one of the following scenarios:</p>
<ul>
<li>Exchange server does not accept Simple Mail Transfer Protocol (SMTP) messages from certain Internet domains.</li>
<li>Exchange server cannot deliver SMTP messages to certain Internet domains.</li>
</ul>
<p>An administrator can perform a reverse Domain Name System (DNS) lookup and find that the Exchange server that is sending the SMTP message cannot be resolved. They should then perform a network monitor trace and look for any NBT (NetBIOS over TCP/IP) queries before the Exchange server disconnects.</p>
<p>The sender will probably receive a non-delivery report (NDR) that contains the 5.5.0 error code. This code indicates a generic SMTP failure. The NDR will look similar to the following:</p>
<p>&gt; Your message did not reach some or all of the intended recipients.<br />
&gt;<br />
&gt;       Subject:<br />
&gt;       Sent:    9/12/02 3:39 PM<br />
&gt;<br />
&gt; The following recipient(s) could not be reached:<br />
&gt;<br />
&gt; user@destination.com on 9/12/02 3:39 PM<br />
&gt; Your mail system could not find a way to successfully communicate with the destination system. Please notify your administrator. &lt;Server.source.com&gt; #5.5.0</p>
<p>Additionally error code: #5.5.4 “Transaction failed” might also be generated.</p>
<p>Administrators should also check the Windows Event viewer on the Exchange server that is sending the error message. They should look for an error message that contains event 4000 or event 4001. The error message will be similar to the following:</p>
<p>Event Type: Warning<br />
Event Source: MSExchangeTransport<br />
Event ID: 4000<br />
Description: Message delivery to the remote domain &#8216; destination.com &#8216; failed for the following reason: SMTP protocol error.</p>
<p>This situation can occur if the destination SMTP server performs a reverse DNS lookup and if one of the following conditions is true:</p>
<ul>
<li>The IP address does not match the domain name that is used in the return address of the email message.</li>
<li>A pointer (PTR) record does not exist or is invalid for the source SMTP server&#8217;s IP address.</li>
</ul>
<p>An administrator may find themselves in a situation where email messages which are sent from one domain to another domain are not delivered. Suppose the originator of the email sent has a domain name that is used in the return address of the message such as originator.com. Once the message is sent and the destination SMTP server receives the message it will perform a reverse DNS lookup. If the destination SMTP server finds that the PTR record for the originator.com domain does not exist or is incorrect, it will not deliver the message.</p>
<p>Administrators should be aware that using a dynamic IP address with a network adapter connected to the internet may require a reconfiguration of the Exchange Server settings for proper routing of email messages. This may be necessary for the Exchange Server to route mail from the originator.com domain through an SMTP connector to a smart host.</p>
<p>If an administrator wants reverse DNS lookups to be performed on all connections then they can configure the Exchange server to reject incoming connections by specifying a domain name on the SMTP virtual server. Administrators can perform this operation by right clicking the SMTP virtual server, selecting Properties, then the Access tab and then looking under Connection Control.</p>
<p>Administrators can correct this problem by following the steps outlined below:</p>
<ol>
<li>Confirm that the public DNS records that are hosted on your DNS server are correct. Verify that your DNS server has these settings:                             Ensure that an MX record for your domain points to a valid Host (A) record. The MX record for originator.com points to mail.originator.com. Therefore mail.originator.com is a valid email server.                                                      Ensure that the Host (A) record points to a valid IP Address. In my case, mail.originator.com points to 200.44.51.64.</li>
<li>Confirm that there is a valid PTR record for the Public IP address of every SMTP server or Exchange Server system that is sending email.</li>
</ol>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2010/12/troubleshooting-exchange-and-unaccepted-smtp-domains/">Troubleshooting Exchange and Unaccepted SMTP Domains</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2010/12/troubleshooting-exchange-and-unaccepted-smtp-domains/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Got relay? Using the Microsoft SMTP service</title>
		<link>http://www.theemailadmin.com/2010/12/got-relay-using-the-microsoft-smtp-service/</link>
		<comments>http://www.theemailadmin.com/2010/12/got-relay-using-the-microsoft-smtp-service/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 16:01:15 +0000</pubDate>
		<dc:creator>Ed Fisher</dc:creator>
				<category><![CDATA[email management]]></category>
		<category><![CDATA[email servers]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=3376</guid>
		<description><![CDATA[Sometimes you just need an SMTP relay, and the service included with all Microsoft server operating systems is just the thing.<p><a href="http://www.theemailadmin.com/2010/12/got-relay-using-the-microsoft-smtp-service/">Got relay? Using the Microsoft SMTP service</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2010%2F12%2Fgot-relay-using-the-microsoft-smtp-service%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2010_2F12_2Fgot-relay-using-the-microsoft-smtp-service_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2010%2F12%2Fgot-relay-using-the-microsoft-smtp-service%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-full wp-image-3380" style="margin: 10px;border: 0px" src="http://www.theemailadmin.com/wp-content/uploads/2010/12/sortmail.jpg" alt="sortmail" width="160" height="158" />Most companies need an <span>internal</span> SMTP relay at some point. Whether this is for alerting systems, or the scan to email features of their printers, or the &#8220;phone home&#8221; capabilities many hardware systems offer, the ability for an internal device to send an email to both your internal systems, and out to the world is often needed, and frequently either over, or under engineered. </p>
<p>Microsoft includes an SMTP service with all versions of the Windows operating system, and the SMTP service is perfect for the job of taking all the non-Exchange based emails in your company and passing them through a single point without having to pass them through your Exchange system unless they are destined for an internal mailbox.</p>
<p>I have seen companies establish dedicated servers, or purchase third party applications, for what is really a very light-weight task that can be added to any available file server or other server with minimal resources. Let&#8217;s look at how to add the service, how to configure the service, and some considerations for its use.</p>
<h2><span id="more-3376"></span>Identifying the need</h2>
<p>If you have printers with a scan to email feature, SANs or other vendor supported systems that want to email reports and alerts to the vendor, alerting systems that like to send SMTP messages about events, or anything else that needs to send email out to the Internet but that you don&#8217;t want to assign an Exchange CAL, then this service is for you.</p>
<h2>Choosing which server(s) to use</h2>
<p>The SMTP service is available on all versions of the server platform, and requires almost no RAM, CPU, or disk, so it can be installed on essentially any system you have. I like to use file servers, as they tend to have resources to spare (other than free disk space) and are in a central location. This is good, as you want this service to be available to your entire network. I like to deploy two systems, and set up DNS round robin so that the service is highly available. Of course, many older printer/scanners can only be pointed to an ip.addr, so if this is really critical, you need to set up a pair and use NLB.</p>
<h2>Getting ready to install</h2>
<p>If you are going to let your SMTP relay send mail directly out to the Internet, identify the external address your relay will be NAT&#8217;d to on your firewall. Establish an MX record with a weight of 99, and update your SPF record to include this system. If you are going to pass email through your content inspection system, get that internal ip.addr or FQDN, and ensure it is setup to accept mail from your relay.</p>
<h2>How to install the service</h2>
<p>In Windows 2008, the SMTP service is considered a feature. Here is how you add that. Open an administrative command prompt and run this command as a single line (wrapped to fit the column.)</p>
<pre>servermanagercmd.exe -i web-metabase web-lgcy-mgmt-console
 rsat-smtp smtp-server [enter]</pre>
<h2>How to manage the service</h2>
<p>To manage this feature, use the Internet Information Services (IIS) 6.0 Manager, which was added to your Administrative Tools menu when you installed the SMTP Service. In the 2008 SMTP service, the default configuration will NOT relay for any host, which is a good thing. We want to provide a service, but we don&#8217;t want to open the floodgates.</p>
<ol type="1">
<li><span>Right-click your server to access the properties.</span></li>
<li><span>On the General tab, the defaults should be acceptable for most uses, but you might want to enable logging so that you can see how your relay is being used.</span></li>
<li><span>Click the Access tab.</span></li>
<li><span>If you want to require authentication, click the Authentication button. However, since most printers won&#8217;t support that, you probably want to leave Authentication alone.</span></li>
<li><span>Click the Relay button. Notice that by default, no relay is allowed. If you are absolutely certain that this server is will not be abused, and you do not want to restrict relay, you can click the radio button for &#8220;All except the list below.&#8221; Do not do this on a system in the DMZ, or that has a static NAT assigned to it on the external interface of your firewall. Doing so would create an &#8216;open relay&#8217; and we all know how bad a thing that is. I recommend that you add the individual addresses of systems you want to permit, or as a compromise, add your internal subnet(s.) This is less work than adding each individual machine, means new systems can start relaying mail without your involvement, and still ensures that your server won&#8217;t become an open relay to the world.</span></li>
<li><span>Click the Messages tab, and review the default limits on number and size of messages. Adjust to taste.</span></li>
<li><span>Click on the Delivery tab, and then the Advanced button. If you are going to let your SMTP relay send mail directly out to other MTAs on the Internet, fill in the FQDN of your system with a name that will map to the MX record you created in &#8220;Getting ready to install&#8221; section. If you are going to send email through another system that does anti-malware and content inspection (recommended) then fill in the &#8220;Smart host:&#8221; field with the ip.addr or FQDN of that system. Smaller business that use an ISP for email will want probably need to fill in the FQDN of their ISP&#8217;s relay here. Click OK.</span></li>
<li><span>If the upstream relay requires authentication, click the Outbound Security button, and set the appropriate credentials. If not, you are done.</span></li>
<li><span>Test your relay out, using the telnet process we covered in<a href="http://www.theemailadmin.com/2010/12/using-telnet-to-test-your-mail-server/"> this article</a>.</span></li>
</ol>
<p>If all is well, your server should be sending emails like a champ. Remember, whether you assign it a dedicated NAT address on the firewall, or let it use the global, you will want to add that to <a target="_blank" href="http://retrohack.com/howtouse-spf-records-to-combat-domain-spoofing/" onclick="pageTracker._trackPageview('/outgoing/retrohack.com/howtouse-spf-records-to-combat-domain-spoofing/?referer=');">your SPF records</a> so that external systems will accept your email. And since email is something you should keep an eye on, make sure your egress filtering doesn&#8217;t allow all systems to send email directly out; only your SMTP relay and mail infrastructure should have that privilege.</p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2010/12/got-relay-using-the-microsoft-smtp-service/">Got relay? Using the Microsoft SMTP service</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2010/12/got-relay-using-the-microsoft-smtp-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diagnosing Email Server Problems with the Windows Command Line</title>
		<link>http://www.theemailadmin.com/2009/11/diagnosing-email-server-problems-with-the-windows-command-line/</link>
		<comments>http://www.theemailadmin.com/2009/11/diagnosing-email-server-problems-with-the-windows-command-line/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 15:03:57 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Exchange server]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[Telnet]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=1842</guid>
		<description><![CDATA[An essential skill for email administrators is being able to dive into the command line to troubleshoot email delivery and connectivity problems.  In this post I will explain some of the simple command line techniques you can use for diagnosing these email issues. NSLookup NSLookup is the command line utility for querying the Domain Name [...]<p><a href="http://www.theemailadmin.com/2009/11/diagnosing-email-server-problems-with-the-windows-command-line/">Diagnosing Email Server Problems with the Windows Command Line</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2009%2F11%2Fdiagnosing-email-server-problems-with-the-windows-command-line%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2009_2F11_2Fdiagnosing-email-server-problems-with-the-windows-command-line_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2009%2F11%2Fdiagnosing-email-server-problems-with-the-windows-command-line%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignright size-full wp-image-1846" title="keyboard" src="http://www.theemailadmin.com/wp-content/uploads/2009/11/keyboard.jpg" alt="keyboard" width="200" height="133" />An essential skill for email administrators is being able to dive into the command line to troubleshoot email delivery and connectivity problems.  In this post I will explain some of the simple command line techniques you can use for diagnosing these email issues.</p>
<h2>NSLookup</h2>
<p>NSLookup is the command line utility for querying the Domain Name System (DNS).  Because email delivery relies so heavily on the Mail Exchanger (MX) records contained within DNS you need to know how to use it for verifying DNS configurations.</p>
<p>When someone reports a problem sending email to an outside party and you want to investigate it one of the first things you’ll need to determine is the name or IP address of their mail server.  This is the job of the MX record, which you can query using NSLookup.<span id="more-1842"></span></p>
<p>Open a command prompt (Start -&gt; Run, cmd.exe) and type “nslookup” and press Enter.  First test a few well known web addresses to make sure that your own DNS servers are working properly.</p>
<pre>C:\&gt;nslookup
Default Server:  UnKnown
Address:  192.168.0.1

&gt; www.gfi.com
Server:  UnKnown
Address:  192.168.0.1

Non-authoritative answer:
Name:    www.gfi.com
Address:  216.134.217.17

&gt; www.theemailadmin.com
Server:  UnKnown
Address:  192.168.0.1

Non-authoritative answer:
Name:    theemailadmin.com
Address:  69.89.31.227
Aliases:  www.theemailadmin.com</pre>
<p>Now change the query type to MX by typing “set” and press Enter.</p>
<pre>&gt; set type=mx</pre>
<p>Next type the domain name for the organization you are trying to send to, e.g. contoso.com.</p>
<pre>&gt; contoso.com</pre>
<p>If their DNS zone exists, is correctly configured, and their name servers are responding, you should receive a response similar to this.</p>
<pre>Server:  UnKnown
Address:  192.168.0.1

Non-authoritative answer:
contoso.com     MX preference = 10,
mail exchanger = mail.global.frontbridge.com

mail.global.frontbridge.com
internet address = 216.32.180.22</pre>
<p>If there is a problem you may receive a response more like this.</p>
<pre>*** UnKnown can't find contoso.com: Non-existent domain</pre>
<p>When a successful response is received it tells us that they have one MX record with a preference of 10 (this only matters when there are more than one MX records), and that its name is mail.global.frontbridge.com.  Furthermore we can see that mail.global.frontbridge.com resolves to IP address 216.32.180.22.  This is the IP address we want to connect to for testing email connectivity.</p>
<h2>Telnet</h2>
<p>Telnet is the command line utility to use for testing connectivity.  Telnet allows us to connect to any IP address and TCP port to perform testing.</p>
<p>For Windows Server 2003 and earlier Telnet is already installed, but for Windows Server 2008 Microsoft took the standpoint that Telnet is potentially a hacking tool and so is not installed by default on new servers.  You can install it when necessary by launching an elevated privilege command prompt and running this command.</p>
<pre>servermanagercmd.exe –i telnet-client</pre>
<p>From a command prompt type “telnet [name/IP address] 25” and press Enter.  This tells Telnet to connect to the given name or IP address on TCP port 25 (the SMTP port).</p>
<p>At a successful connection you will see status code 220 (meaning Service Ready) followed by the welcome banner for the server (this will vary depending on the mail server software that they are running plus whatever customization the email administrator applies).</p>
<pre>220 TX2EHSMHS026.bigfish.com Microsoft ESMTP MAIL
Service ready at Thu, 19 Nov 2009 12:44:27 +0000</pre>
<p>Now it is time to learn how to issue basic SMTP commands using Telnet.  A simple SMTP session will contain these steps:</p>
<p><strong>EHLO</strong> – Identifies the sending server (you).  You can also use HELO, but EHLO is widely supported.</p>
<p><strong>MAIL</strong> – Identifies the sending email address.</p>
<p><strong>RCPT</strong> – Identifies the receiving email address.</p>
<p><strong>DATA</strong> – The contents of the email message itself.</p>
<p>So to test email to the contoso.com email server you can use this command sequence.</p>
<pre>ehlo
250-TX2EHSMHS026.bigfish.com Hello [202.173.145.153]
250-SIZE 157286400
250-PIPELINING
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH
250-8BITMIME
250-BINARYMIME
250 CHUNKING
mail from: paul@exchangeserverpro.com
250 2.1.0 OK
rcpt to: name@contoso.com
250 2.1.5 OK
data
354  Go ahead
Subject: This is a test email
This is a test email
.
250 2.0.0 OK</pre>
<p>Note how the message is sent after the DATA verb is issued, the data itself entered, and then a &#8220;.&#8221; (period) indicating the end of the data.</p>
<p>If there are any problems with this SMTP session the error messages that are returned by the server will indicate exactly what is going on.  For example, the server may return a message saying that message relay is denied, or that the intended recipient is not valid.  From this you can determine the next steps to take in troubleshooting the email problem.</p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2009/11/diagnosing-email-server-problems-with-the-windows-command-line/">Diagnosing Email Server Problems with the Windows Command Line</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2009/11/diagnosing-email-server-problems-with-the-windows-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging SMTP and TLS errors in Outlook</title>
		<link>http://www.theemailadmin.com/2009/10/debugging-smtp-and-tls-errors-in-outlook/</link>
		<comments>http://www.theemailadmin.com/2009/10/debugging-smtp-and-tls-errors-in-outlook/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 14:35:50 +0000</pubDate>
		<dc:creator>Mike Rede</dc:creator>
				<category><![CDATA[email security]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[TLS]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=1616</guid>
		<description><![CDATA[Sending secure email often involves the process of also having to troubleshoot error messages related to TLS and SMTP in Outlook. Transport Layer Security (TLS) is a cryptographic protocol used to encrypt traffic over networks such as the Internet. Use TLS encryption for servers that require basic authentication. With so much critical information such as [...]<p><a href="http://www.theemailadmin.com/2009/10/debugging-smtp-and-tls-errors-in-outlook/">Debugging SMTP and TLS errors in Outlook</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2009%2F10%2Fdebugging-smtp-and-tls-errors-in-outlook%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2009_2F10_2Fdebugging-smtp-and-tls-errors-in-outlook_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2009%2F10%2Fdebugging-smtp-and-tls-errors-in-outlook%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Sending secure email often involves the process of also having to troubleshoot error messages related to TLS and SMTP in Outlook.</p>
<p>Transport Layer Security (TLS) is a cryptographic protocol used to encrypt traffic over networks such as the Internet. Use TLS encryption for servers that require basic authentication. With so much critical information such as usernames and passwords passing through your network, why take the risk that someone snooping could eavesdrop and pull out important corporate information? Implementing encryption and other security measures can help to protect your corporate jewels. The enforcement of security will require users to use the same encryption level that you set when they try to negotiate access to your network and servers. Without the same level of security, messages will be returned and non-delivery reports (NDR) will be generated.</p>
<p>Simple Mail Transfer Protocol (SMTP) is used for sending outgoing mail for both POP and IMAP clients and is well known for its vulnerabilities such as spoofing of emails.</p>
<p><span id="more-1616"></span></p>
<p>To minimize your security exposure and to ensure that your corporate SMTP communications are protected you can start by implementing the Transport Layer Security protocol in the Exchange Server.</p>
<p>If you are like most email or system administrators you will be supporting both end users who work at corporate offices and also end users working from remote locations such as out of state offices or home offices.</p>
<p>Occasionally you will get a complaint from end users who are unable to send email but they can still receive email. After changing the SMTP addresses in their outgoing email servers you find that they are still not able to send email and that they are getting an error message such as the following:</p>
<p><em>“Verify the email address in your account properties. Server responded: 530<br />
5.7.0. Issue a STARTTLS command first.”</em></p>
<p>The STARTTLS command takes plain text communications and provides a secure connection without having to use a separate port for encrypted communication. It is an extension to plain text communication protocols and makes a plain text connection become an encrypted connection such as a TLS or SSL connection.</p>
<p>The benefits to using STARTTLS include the ability to verify the identity of the client and/or server in an e-mail transmission. It can also be used to encrypt mail transmissions with or without the identity verified between two mail servers. And it provides the capability to authenticate a user for relaying through a mail server.</p>
<p>Now as previously mentioned, if for some reason a client is not able to send email and they are receiving an error message about having to issue a STARTTLS command first then a solution is to enable an encrypted Secure Socket Layer (SSL) connection for the SMTP server. You make this change in the account setup. Look for the advanced tab of the More Settings dialog box.</p>
<p>Another troubleshooting mechanism you can use is to turn on transport logging in Microsoft Outlook. This will allow you to log all communications between Outlook and many of the email servers that are out there. By reviewing the logs you will be able to identify any communication problems that might occur when using Outlook and email servers.</p>
<ul>
<li>You can turn on logging in Outlook by going to the Tools menu and clicking Options.</li>
<li>Next, select the Other tab and then click on the Advanced Options button.</li>
<li>You will get a check box labeled “Enable mail logging”.</li>
<li>Put a check mark in the box by clicking on it.</li>
<li>Then save your changes by clicking OK.</li>
<li>Click OK again after you have returned to the main options.</li>
<li>Finally exit Outlook and then restart it.</li>
</ul>
<p>If your problem is that you are having trouble establishing a secure connection to Microsoft Exchange server it might be because you are trying to use a different port other than the default (SMTP) port 25. This may have happened if another administrator or an end user changed the default port by selecting the check box labeled, “This server requires a secure connection”. This will also affect other email servers that require a STARTTLS negotiation.</p>
<p>When Outlook 2000 is used to create a secure connection for SMTP it will issue a STARTTLS command which then starts the TLS handshake process for a connection using the default port 25. But this is not the same process for ports other than port 25.</p>
<p>A solution to this kind of problem is to upgrade to Microsoft Outlook 2002. After the upgrade the email client will be able to issue the STARTTLS command and initiate the negotiation process for a secure socket on a different port number that is not port 25.</p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2009/10/debugging-smtp-and-tls-errors-in-outlook/">Debugging SMTP and TLS errors in Outlook</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2009/10/debugging-smtp-and-tls-errors-in-outlook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

