<?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>exchange | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/exchange/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Mon, 25 Mar 2024 06:04:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>exchange | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>Options to Send Emails using Microsoft 365</title>
		<link>https://www.kjctech.net/options-to-send-emails-using-microsoft-365/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=options-to-send-emails-using-microsoft-365</link>
					<comments>https://www.kjctech.net/options-to-send-emails-using-microsoft-365/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Mon, 25 Mar 2024 06:04:45 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[M365]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=5151</guid>

					<description><![CDATA[<p>This is how to send emails from an app or device not named Outlook through the Microsoft 365 network. According to Mail Flow Best Practices, there are 3 options available. SMTP Auth If you can deal with Modern Authentication in the form of OAuth, this option provides you with the most reliable email delivery. And you do need a licensed [&#8230;]</p>
The post <a href="https://www.kjctech.net/options-to-send-emails-using-microsoft-365/">Options to Send Emails using Microsoft 365</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>This is how to send emails from an app or device not named Outlook through the Microsoft 365 network. According to <a href="https://learn.microsoft.com/en-us/Exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365">Mail Flow Best Practices</a>, there are 3 options available.</p>



<ul class="wp-block-list">
<li>SMTP Auth</li>



<li>Direct Send</li>



<li>SMTP relay</li>
</ul>



<h3 class="wp-block-heading">SMTP Auth</h3>



<p>If you can deal with Modern Authentication in the form of OAuth, this option provides you with the most reliable email delivery. And you do need a licensed mailbox to send emails from.</p>



<figure class="wp-block-table"><table><tbody><tr><td>Server/smart host</td><td>smtp.office365.com</td></tr><tr><td>Port</td><td>Port 587 (recommended) or port 25</td></tr><tr><td>TLS/StartTLS</td><td>Enabled</td></tr><tr><td>Username/email address and password</td><td>Enter the sign-in credentials of the hosted mailbox being used</td></tr></tbody></table></figure>



<h3 class="wp-block-heading">Direct Send</h3>



<p>Direct Send doesn&#8217;t require SMTP Auth, nor a licensed mailbox. All you need is to specify your own MX endpoint as the mail server or smart host with an unblocked Port 25, you are all set to send emails to recipients in your own organization. Adding an SPF record to avoid having the message flagged as spam is recommended but not required.</p>



<pre class="wp-block-preformatted">v=spf1 ip4: include:spf.protection.outlook.com ~all</pre>



<figure class="wp-block-table"><table><tbody><tr><td>Server/smart host</td><td>Your MX endpoint, for example, contoso-com.mail.protection.outlook.com</td></tr><tr><td>Port</td><td>Port 25</td></tr><tr><td>TLS/StartTLS</td><td>Optional</td></tr><tr><td>Email address</td><td>Any email address for one of your Microsoft 365 or Office 365 accepted domains. This email address doesn&#8217;t need to have a mailbox.</td></tr></tbody></table></figure>



<h3 class="wp-block-heading">SMTP Relay</h3>



<p>If you need to send emails to external recipients, or not every device on your network has Port 25 open or allowed, SMTP Replay could be your answer. The basic setup is the same as the Direct Send but you do need to set up a Mail Flow connector first, whether it&#8217;s certificate-based or IP-based.</p>



<p>Obviously, an IP-based connector is much easier.</p>



<figure class="wp-block-table"><table><thead><tr><th>Connector setting</th><th>Value</th></tr></thead><tbody><tr><td>From</td><td>Your organization&#8217;s email server</td></tr><tr><td>To</td><td>Microsoft 365 or Office 365</td></tr><tr><td>Domain restrictions: IP address/range</td><td>Your on-premises IP address or address range that the device or application will use to connect to Microsoft 365 or Office 365</td></tr></tbody></table></figure>



<figure class="wp-block-table"><table><thead><tr><th>Device or application setting</th><th>Value</th></tr></thead><tbody><tr><td>Server/smart host</td><td>Your MX endpoint, for example,&nbsp;<em>yourdomain</em>&#8211; com.mail.protection.outlook.com</td></tr><tr><td>Port</td><td>Port 25</td></tr><tr><td>TLS/StartTLS</td><td>Enabled</td></tr><tr><td>Email address</td><td>Any email address in one of your Microsoft 365- or Office 365-verified domains. This email address doesn&#8217;t need a mailbox.</td></tr></tbody></table></figure>



<p>And again, SPF is highly recommended to avoid your messages being trapped in the spam folder.</p>The post <a href="https://www.kjctech.net/options-to-send-emails-using-microsoft-365/">Options to Send Emails using Microsoft 365</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/options-to-send-emails-using-microsoft-365/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5151</post-id>	</item>
		<item>
		<title>Email failed to deliver to certain domains with an SMTP protocol error occurred message</title>
		<link>https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message</link>
					<comments>https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Sun, 13 Dec 2009 19:02:54 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[reverse dns]]></category>
		<category><![CDATA[smtp]]></category>
		<guid isPermaLink="false">http://www.kjctech.net/2009/12/13/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/</guid>

					<description><![CDATA[<p>It happened lately in my office that emails sent to certain domains first got delayed and then failed with a SMTP error code 4.4.7 in the final NDR. Error code 4.4.7 usually indicates that the message in the queue has expired and usually the problem is on the receiving server. However, that is obviously not the case this time. Also [&#8230;]</p>
The post <a href="https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/">Email failed to deliver to certain domains with an SMTP protocol error occurred message</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>It happened lately in my office that emails sent to certain domains first got delayed and then failed with a SMTP error code 4.4.7 in the final NDR. Error code 4.4.7 usually indicates that the message in the queue has expired and usually the problem is on the receiving server. However, that is obviously not the case this time. Also on the server side, all queued messages all have one same warning message, â€œ<em>an SMTP protocol error occuredâ€</em>.</p>
<p>Dig it a little deeper by performing a MX lookup to all these domains that we had problem sending emails to and found out that pretty much all of them have secureserver.net associated as their MX records. Meaning that emails sent to their inboxes have to go through and pass secureserver.net.</p>
<p>And one of the requests in order to get pass secureserver.net is that IP address of sender&#8217;s email server has to have a valid <em>Reverse DNS</em> entry associated. The email won&#8217;t get rejected right away if the sender&#8217;s IP address doesn&#8217;t meet this requirement. It will be delayed and put in the message queue first to give you more time to fix the issue. And if the problem is still not resolved before the message expires, an NDR email will be sent to sender.</p>
<p>That makes sense. We have recently changed ISP and had one new external IP address assigned to our mail server. And one thing I totally forgot is to check this <em>Reverse DNS</em>. Once I got my ISP to change it to what I wanted, emails started to flow to these domains again. Problem solved!</p>
<p>So if you relay all your emails to your ISP before they are sent out, you actually don&#8217;t need to worry about it because they all have the proper <em>Reverse DNS</em> entry set up to IP addresses that belong to them.</p>
<p>But if your email setup like ours that all emails are sent out directly from our email server, then you will have to make sure you have the proper <em>Reverse DNS</em> set up on the IP addresses that are responsible for sending emails. Here is the guideline from <a href="http://unblock.secureserver.net" target="_blank" rel="noopener">unblock.secureserver.net</a>.</p>
<blockquote>
<p>Verify that your <a href="http://www.webopedia.com/TERM/R/rDNS.html">rDNS</a> contains a name that includes &quot;mail&quot;, &quot;SMTP&quot;, &quot;relay&quot;, or &quot;MX&quot;. For example: mail.example.com, smtp.example.com, or mx1.example.com.</p>
</blockquote>The post <a href="https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/">Email failed to deliver to certain domains with an SMTP protocol error occurred message</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/email-failed-to-deliver-to-certain-domains-with-an-smtp-protocol-error-occurred-message/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1039</post-id>	</item>
	</channel>
</rss>
