<?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 Server Pro &#187; Edge Transport</title>
	<atom:link href="http://exchangeserverpro.com/tag/edge-transport/feed" rel="self" type="application/rss+xml" />
	<link>http://exchangeserverpro.com</link>
	<description>Microsoft Exchange Server News - Tips - Tutorials</description>
	<lastBuildDate>Wed, 23 May 2012 11:55:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</title>
		<link>http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser</link>
		<comments>http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser#comments</comments>
		<pubDate>Wed, 09 May 2012 11:00:56 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Hub Transport]]></category>
		<category><![CDATA[Log Parser]]></category>
		<category><![CDATA[Message Tracking]]></category>
		<category><![CDATA[Protocol Logs]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4802</guid>
		<description><![CDATA[How to use Log Parser, message tracking and protocol logs to report the top sender IPs for an Exchange 2010 Hub or Edge Transport server.]]></description>
			<content:encoded><![CDATA[<p>When you are investigating <a href="http://exchangeserverpro.com">Exchange</a> Transport server load one of the interesting pieces of data to look at is the IP addresses that are connecting to your server the most.</p>
<p>There are two different log sets that you can use for this:</p>
<ul>
<li>Protocol logs</li>
<li>Message Tracking logs</li>
</ul>
<p>One of the best ways to describe the difference between these is that protocol logs will capture SMTP connections that may or may not make it all the way in to the Transport pipeline. For example a connection from a spammer that gets blocked by <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers">IP filtering</a> will appear in the protocol logs but not the message tracking logs.</p>
<p>The detail captured in a protocol log will look a lot like what you would see if you were manually <a href="http://exchangeserverpro.com/how-to-send-email-via-telnet">testing SMTP via telnet</a> on a server.</p>
<p><a href="http://exchangeserverpro.com/exchange-2010-message-tracking">Message tracking logs</a> will capture messages that get processed through the Transport pipeline, and capture information such as message submission and delivery rather than the SMTP conversation that protocol logging reflects.</p>
<p>Message tracking is also turned on by default and is set per-server, whereas protocol logging is not turned on by default and is set per-connector.</p>
<p>For this demonstration I&#8217;ll be using my <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction">Edge Transport server</a> simply because it has slightly more interesting data since it receives a lot of connections from the internet.</p>
<h2>Get Top Sender IP&#8217;s from Protocol Logs with Log Parser</h2>
<p>To get the top sender IP&#8217;s from the protocol logs we can use this Log Parser query.</p>
<pre>SELECT EXTRACT_PREFIX(remote-endpoint,0,':') as IP,
	REVERSEDNS(EXTRACT_PREFIX(remote-endpoint,0,':')) as Name,
	Count(*) as Hits
FROM *.log
WHERE data LIKE '%EHLO%'
GROUP BY IP
ORDER BY Hits DESC</pre>
<p>When run from the folder containing the protocol logs (in this case C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive) it looks like this:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT EXTRACT_PREFIX(remote-endpoint,0,':') as IP,REVERSEDNS(EXTRACT_PREFIX(remote-endpoint,0,':')) as Name,Count(*) as Hits from *.log WHERE data LIKE '%EHLO%' GROUP BY IP ORDER BY Hits DESC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>This will give you output similar to this:</p>
<pre>IP              Name                                    Hits
--------------- --------------------------------------- ----
83.222.31.220   v8622.vps.masterhost.ru                 52
204.13.248.72   mho-02-ewr.mailhop.org                  12
50.78.250.97    dcmail.designercabinetry.com            9
10.1.1.21       ho-ex2010-mb1.exchangeserverpro.net     8
64.61.92.26     static-64-61-92-26.isp.broadviewnet.net 7
217.108.179.228 mailhost.el-internationale.com          7
69.60.118.117   mail1.ambr.com.br                       4
10.1.1.22       ho-ex2010-mb2.exchangeserverpro.net     4
95.154.196.147  95.154.196.147                          4
118.22.2.202    pc2.land-ho-unet.ocn.ne.jp              3
187.108.193.223 cloud.newmediahost.com.br               2
109.169.77.169  109.169.77.169                          2
59.106.64.208   ns1.uranaikan.info                      2
204.13.248.71   mho-01-ewr.mailhop.org                  2
78.129.222.16   78.129.222.16                           2
199.119.76.15   mail.seoauditions.com                   1

Statistics:
-----------
Elements processed: 3359
Elements output:    16
Execution time:     17.41 seconds</pre>
<p>This part of the query string is important to note:</p>
<pre>WHERE data LIKE '%EHLO%'</pre>
<p>This means that only those log entries where the EHLO occurred will be counted in the stats that Log Parser outputs. If you leave it out you&#8217;ll see a &#8220;Hit&#8221; for every log entry a remote IP generated. Depending on how &#8220;chatty&#8221; that particular SMTP conversation was it may skew the results a little. However since we&#8217;re looking more for indicative numbers rather than precise numbers it doesn&#8217;t matter which way you choose to go (at least not to me).</p>
<h2>Get Top Sender IP&#8217;s from Message Tracking Logs with Log Parser</h2>
<p>For message tracking logs the syntax is a little different because the field names in the log files are different.</p>
<pre>SELECT client-ip as IP,
	REVERSEDNS(client-ip) as Name,
	Count(*) as Hits
FROM *.log
WHERE (event-id='RECEIVE')
GROUP BY IP
ORDER BY Hits DESC</pre>
<p>When run from the folder containing the message tracking logs (in this case C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking) it will look like this:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT client-ip as IP,REVERSEDNS(client-ip) as Name,Count(*) as Hits from *.log WHERE (event-id='RECEIVE') GROUP BY IP ORDER BY Hits DESC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>If you get too much output you can limit it to the top X results by modifying the query slightly:</p>
<pre>"C:\Program Files (x86)\Log Parser 2.2\logparser.exe" "SELECT TOP 20 client-ip as IP,REVERSEDNS(client-ip) as Name,Count(*) as Hits from *.log WHERE (event-id='RECEIVE') GROUP BY IP ORDER BY Hits DESC" -i:CSV -nSkipLines:4 -rtp:-1</pre>
<p>This will give you output similar to this:</p>
<pre>IP              Name                                 Hits
--------------- ------------------------------------ ----
204.93.210.179  mariajunco.com                       32
10.1.1.22       ho-ex2010-mb2.exchangeserverpro.net  23
216.151.172.180 hosted.airvm.net                     22
10.1.1.21       ho-ex2010-mb1.exchangeserverpro.net  22
83.142.48.139   83.142.48.139                        17
67.215.235.199  67.215.235.199.static.quadranet.com  13
109.169.76.124  109.169.76.124                       10
109.169.55.146  109.169.55.146                       10
109.169.62.15   109.169.62.15                        10
109.169.60.137  109.169.60.137                       9
173.254.208.113 173.254.208.113.static.quadranet.com 9
59.106.64.208   ns1.uranaikan.info                   8
72.11.150.131   72.11.150.131.static.quadranet.com   7
109.169.73.116  109.169.73.116                       7
109.169.55.135  109.169.55.135                       7
189.39.9.214    mail3.ibcbrasil.com.br               5
204.13.248.72   mho-02-ewr.mailhop.org               5
109.169.87.100  109.169.87.100                       4
109.169.84.105  109.169.84.105                       4
169.232.46.177  out-58.smtp.ucla.edu                 3

Statistics:
-----------
Elements processed: 1018
Elements output:    20
Execution time:     74.03 seconds (00:01:14.03)</pre>
<p>You can use this information in a lot of situations such as when investigating load issues, or planning to decommission servers</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/case-hub-transport-server-load-imbalance" title="The Case of the Hub Transport Server Load Imbalance">The Case of the Hub Transport Server Load Imbalance</a></li><li><a href="http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs" title="Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs">Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs</a></li><li><a href="http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser" title="Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser">Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser" title="Calculate Daily Email Traffic using Message Tracking Logs and Log Parser">Calculate Daily Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-log-parser" title="Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser">Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a> is © 2012 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</title>
		<link>http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains</link>
		<comments>http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains#comments</comments>
		<pubDate>Sat, 24 Sep 2011 12:43:57 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Accepted Domains]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Hub Transport]]></category>
		<category><![CDATA[Internal Relay]]></category>
		<category><![CDATA[Send Connectors]]></category>
		<category><![CDATA[Transport]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=4069</guid>
		<description><![CDATA[How to avoid creating an infinite email routing loop in Exchange Server 2007/2010 when configuring Internal Relay domains.]]></description>
			<content:encoded><![CDATA[<p>One of the types of Accepted Domains you can add to an <a href="http://exchangeserverpro.com">Exchange Server 2007</a> or 2010 organization is an <a href="http://technet.microsoft.com/en-us/library/bb124423.aspx#RDomains">Internal Relay domain</a>.</p>
<p>For Internal Relay domains the Exchange servers behave like this:</p>
<blockquote><p>If I have a local recipient within the organization with the SMTP address that the email is addressed to then deliver it to that mailbox. Otherwise, send it outside the organization.</p></blockquote>
<p>Internal Relay domains are commonly used in shared SMTP namespace scenarios, where two separate mail systems both use the same domain name for email. If you want to know more about this scenario read <a href="http://exchangeserverpro.com/how-to-share-an-email-domain-between-two-mail-systems">How to Share an Email Domain Between Two Mail Systems</a>.</p>
<p>The steps for setting up an Internal Relay domain are usually:</p>
<ol>
<li>Add the domain name to the Accepted Domains for the organization</li>
<li>Create a Send Connector to route the non-local recipients in that domain to another external mail system</li>
</ol>
<p>However the fact is that it will work just fine if you only do step 1, and let your main Send Connector for the &#8220;*&#8221; namespace (ie, all external domains) handle the routing outwards from the organization (either via smart host or DNS).</p>
<p>That is, unless you are using <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction">Edge Transport servers</a>.</p>
<p>If you are using <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction">Edge Transport servers</a>, have configured an Internal Relay domain, and have not configured a specific Send Connector for that namespace, you may see non-delivery messages when internal senders try to send to external recipients of that namespace.</p>
<p>This happens because an infinite loop is created between the Hub Transport and Edge Transport servers.</p>
<ol>
<li>The Hub Transport is correctly routing emails for non-local recipients in the Internal Relay domain name out of the organization via the Edge Transport servers.</li>
<li>However the Edge Transport servers recognize the Internal Relay domain as being local to the organization, and therefore route the email back into the Hub Transport server (as they would if they&#8217;d received an email sent from an external sender and addressed to a recipient of that domain name).</li>
</ol>
<p><img class="aligncenter size-full wp-image-4070" title="internal-relay-domain-infinite-loop-01" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-01.jpg" alt="" width="329" height="206" /></p>
<p>Under those conditions you may see non-delivery reports for emails sent to non-local recipients of the Internal Relay domain.</p>
<p><img class="aligncenter size-full wp-image-4072" title="internal-relay-domain-infinite-loop-03" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-03.jpg" alt="" width="580" height="107" />In the diagnostic information will be the reason, an infinite loop.</p>
<blockquote><p>#554 5.4.6 Hop count exceeded &#8211; possible mail loop ##</p></blockquote>
<p>You will also see the loop in action in the <a href="http://exchangeserverpro.com/how-to-read-email-message-headers">message headers</a> provided with the NDR.</p>
<p><img class="aligncenter size-full wp-image-4073" title="internal-relay-domain-infinite-loop-04" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-04.jpg" alt="" width="450" height="364" />The solution for this problem is to configure a Send Connector for the organization that is specifically for that Internal Relay domain name, that is a lower cost than the default Send Connector.</p>
<p>On an Exchange 2010 server in your organization (not the Edge Transport server) open the Exchange Management Console and navigate to <strong>Organization Configuration/Hub Transport</strong>. Select the <strong>New Send Connector</strong> task in the Actions pane of the console.</p>
<p><img class="aligncenter size-full wp-image-4074" title="internal-relay-domain-infinite-loop-05" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-05.jpg" alt="" width="308" height="230" /></p>
<p>Give the Send Connector a name and click <strong>Next</strong> to continue.</p>
<p><img class="aligncenter size-full wp-image-4075" title="internal-relay-domain-infinite-loop-06" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-06.jpg" alt="" width="477" height="214" /></p>
<p>Add the SMTP address space for the Internal Relay domain. Choose a cost that is lower than the default Send Connector that EdgeSync creates, which is a cost of 100 by default. Click <strong>Next</strong> to continue.</p>
<p><img class="aligncenter size-full wp-image-4076" title="internal-relay-domain-infinite-loop-07" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-07.jpg" alt="" width="423" height="140" />You can choose to route via DNS or a smart host, whichever suits your specific scenario. DNS is probably going to be fine if the MX records for that domain already point to where you want the mail to be routed to. Otherwise a smart host may be required. Click <strong>Next</strong> to continue.</p>
<p><img class="aligncenter size-full wp-image-4077" title="internal-relay-domain-infinite-loop-08" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-08.jpg" alt="" width="471" height="155" />Set the source server depending on which server you want to send out the emails to that domain. For Internal Relay domains the source server for the Send Connector must be a Hub Transport server, not an Edge Transport server, in order to achieve the desired email routing for all scenarios. This means that the Hub Transport server you choose must be able to make SMTP connections through your firewall to wherever it needs to route the email for the Internal Relay domain.</p>
<p><img class="aligncenter size-full wp-image-4082" title="internal-relay-domain-infinite-loop-12" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-12.jpg" alt="" width="469" height="151" /></p>
<p>Finally, click <strong>New</strong> to complete the wizard and create the new Send Connector.</p>
<p>With the Send Connector in place you should see the correct routing behaviour in each scenario. Outside senders who send to a non-local recipient in the Internal Relay domain will be correctly routed into the Exchange organization first, and then back out the Send Connector from the Hub Transport server. Meanwhile email sent to local recipients of the Internal Relay domain will be delivered locally.</p>
<p><img class="aligncenter size-large wp-image-4085" title="internal-relay-domain-infinite-loop-13" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-131-600x205.jpg" alt="" width="600" height="205" /></p>
<p>&nbsp;</p>
<p>Email sent from internal senders to non-local recipients of the Internal Relay domain will be correctly routed out the Send Connector as well, while email sent to local recipients of the Internal Relay domain will be delivered locally as expected.</p>
<p><img class="aligncenter size-large wp-image-4084" title="internal-relay-domain-infinite-loop-14" src="http://exchangeserverpro.com/wp-content/uploads/2011/09/internal-relay-domain-infinite-loop-14-600x275.jpg" alt="" width="600" height="275" /></p>
<p>This configuration achieves the desired message delivery without infinite loop conditions.</p>
<p>Bottom line is, if you are using Internal Relay domains and also Edge Transport servers you must configure a Send Connector for handling non-local recipients in that domain, or else you will create an infinite loop condition.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-20072010-transport-rule-logging" title="Exchange 2007/2010 Transport Rule Logging">Exchange 2007/2010 Transport Rule Logging</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/migrate-relay-connector-exchange-server-2007-2010" title="How to Migrate a Relay Connector from Exchange Server 2007 to 2010">How to Migrate a Relay Connector from Exchange Server 2007 to 2010</a></li><li><a href="http://exchangeserverpro.com/review-codetwo-exchange-rules-pro" title="Review of CodeTwo Exchange Rules Pro">Review of CodeTwo Exchange Rules Pro</a></li><li><a href="http://exchangeserverpro.com/change-business-email-domain" title="Exchange Server 2007/2010: How to Change the Primary Email Domain">Exchange Server 2007/2010: How to Change the Primary Email Domain</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exchange 2007/2010 Transport Rule Logging</title>
		<link>http://exchangeserverpro.com/exchange-20072010-transport-rule-logging</link>
		<comments>http://exchangeserverpro.com/exchange-20072010-transport-rule-logging#comments</comments>
		<pubDate>Sat, 25 Jun 2011 02:00:34 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Hub Transport]]></category>
		<category><![CDATA[Transport Rules]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=3681</guid>
		<description><![CDATA[Do Exchange Server 2007 and 2010 have a log file that can be checked to see how many times a transport rule has taken an action.]]></description>
			<content:encoded><![CDATA[<p>The Transport Rule feature of <a href="http://exchangeserverpro.com">Exchange 2007</a> and 2010 <a title="Exchange 2010 FAQ: What are the Exchange Server 2010 Server Roles?" href="http://exchangeserverpro.com/exchange-2010-server-roles">Hub and Edge Transport servers</a> is very useful. One of the questions I was asked recently is whether or not there is a log file that can be checked to see how many &#8220;hits&#8221; a transport rule has.</p>
<p>This won&#8217;t suit all transport rules, for example if you&#8217;re using them to apply disclaimers that is probably not something you want to be constantly logging.</p>
<p>But for scenarios such as data leak prevention logging may be more appropriate.</p>
<p>Fortunately Exchange 2007 and 2010 do both allow transport rules to be logged, simply by adding &#8220;log an event with message&#8221; as an Action in the configuration of the rule.</p>
<p><img class="aligncenter size-full wp-image-3682" title="transport-rule-logging-01" src="http://exchangeserverpro.com/wp-content/uploads/2011/06/transport-rule-logging-01.png" alt="" width="464" height="249" /></p>
<p>Configure the message to say something relevant to the transport rule.</p>
<p><img class="aligncenter size-full wp-image-3683" title="transport-rule-logging-02" src="http://exchangeserverpro.com/wp-content/uploads/2011/06/transport-rule-logging-02.png" alt="" width="434" height="164" /></p>
<p>Every time the rule conditions are met and the server takes the configured action an event log entry will also be logged.</p>
<p><img class="aligncenter size-full wp-image-3684" title="transport-rule-logging-03" src="http://exchangeserverpro.com/wp-content/uploads/2011/06/transport-rule-logging-03.png" alt="" width="580" height="264" /></p>
<p>Those event log entries can then be reported on by running a script or scraped with your network monitoring system.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains" title="Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a></li><li><a href="http://exchangeserverpro.com/review-codetwo-exchange-rules-pro" title="Review of CodeTwo Exchange Rules Pro">Review of CodeTwo Exchange Rules Pro</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/migrate-relay-connector-exchange-server-2007-2010" title="How to Migrate a Relay Connector from Exchange Server 2007 to 2010">How to Migrate a Relay Connector from Exchange Server 2007 to 2010</a></li><li><a href="http://exchangeserverpro.com/poll-run-edge-transport-server" title="Poll: Do You Run an Edge Transport Server?">Poll: Do You Run an Edge Transport Server?</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-20072010-transport-rule-logging">Exchange 2007/2010 Transport Rule Logging</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-20072010-transport-rule-logging/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing an Exchange 2007 Edge Transport Server on Windows Server 2008</title>
		<link>http://exchangeserverpro.com/installing-exchange-2007-edge-transport-server-windows-server-2008</link>
		<comments>http://exchangeserverpro.com/installing-exchange-2007-edge-transport-server-windows-server-2008#comments</comments>
		<pubDate>Wed, 22 Jun 2011 12:00:04 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Install]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=3661</guid>
		<description><![CDATA[This tutorial will show you how to install an Exchange Server 2007 Edge Transport server on a Windows Server 2008 server.]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://exchangeserverpro.com/">Exchange Server 2007</a> Edge Transport server role is a special server role designed to sit within a secure DMZ and perform incoming and outgoing email routing. The Edge Transport server also performs functions such as email security, anti-virus and anti-spam, and applying business rules to inbound and outbound email.</p>
<p>This tutorial demonstrates how to install an Exchange Server 2007 Edge Transport server on Windows Server 2008.</p>
<h2>Installing Exchange 2007 Edge Transport Server Pre-Requisites on Windows Server 2008</h2>
<p>On Windows Server 2008 the pre-requisite roles and features for the Exchange 2007 Edge Transport server role can be installed using <a href="http://exchangeserverpro.com/windows-server-2008-servermanagercmdexe-command-reference">ServerManagerCmd.exe</a>.</p>
<p>Launch an elevated command prompt and run the following command.</p>
<pre>ServerManagerCmd -i Web-Metabase Web-Lgcy-Mgmt-Console PowerShell ADLDS</pre>
<p>Next download the <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&amp;displaylang=en">Windows Installer 4.5</a> file from Microsoft and install it on the server. The <strong>Windows6.0-KB942288-v2-x64.msu</strong> file is the correct one for a 64-bit Windows Server 2008 server.</p>
<p>A restart will be required before you move on to the next step.</p>
<h2>Installing the Exchange 2007 Edge Transport Server Role</h2>
<p>To install the Exchange 2007 Mailbox server role download the <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1687160b-634a-43cb-a65a-f355cff0afa6&amp;displaylang=en">Exchange Server 2007 SP3</a> setup files from Microsoft and extract them to a folder on the server’s hard disk.</p>
<p>Launch an elevated command prompt and run the following command.</p>
<pre>setup /m:install /r:e,t</pre>
<pre>Welcome to Microsoft Exchange Server 2007 Unattended Setup

Preparing Exchange Setup

The following server roles will be installed
    Management Tools
    Edge Transport Server Role

Performing Microsoft Exchange Server Prerequisite Check

    Edge Transport Role Checks       ......................... COMPLETED

Configuring Microsoft Exchange Server

    Copying Exchange files           ......................... COMPLETED
    Exchange Management Tools        ......................... COMPLETED
    Edge Transport Server Role       ......................... COMPLETED

The Microsoft Exchange Server setup operation completed successfully.</pre>
<p>Reboot the server before proceeding to apply the latest updates and configure the server for your environment.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains" title="Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a></li><li><a href="http://exchangeserverpro.com/exchange-20072010-transport-rule-logging" title="Exchange 2007/2010 Transport Rule Logging">Exchange 2007/2010 Transport Rule Logging</a></li><li><a href="http://exchangeserverpro.com/installing-exchange-2007-mailbox-server-windows-server-2008" title="Installing an Exchange 2007 Mailbox Server on Windows Server 2008">Installing an Exchange 2007 Mailbox Server on Windows Server 2008</a></li><li><a href="http://exchangeserverpro.com/installing-exchange-2007-hub-transport-server-windows-server-2008" title="Installing an Exchange 2007 Hub Transport Server on Windows Server 2008">Installing an Exchange 2007 Hub Transport Server on Windows Server 2008</a></li><li><a href="http://exchangeserverpro.com/poll-run-edge-transport-server" title="Poll: Do You Run an Edge Transport Server?">Poll: Do You Run an Edge Transport Server?</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/installing-exchange-2007-edge-transport-server-windows-server-2008">Installing an Exchange 2007 Edge Transport Server on Windows Server 2008</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/installing-exchange-2007-edge-transport-server-windows-server-2008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Edge Transport Server: Configuring IP Block List Providers</title>
		<link>http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers</link>
		<comments>http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers#comments</comments>
		<pubDate>Sat, 14 May 2011 11:16:44 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Anti-Spam]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Spamhaus]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=3443</guid>
		<description><![CDATA[How to configure an Exchange Server 2010 Edge Transport server to use Spamhaus as an IP Block List Provider.]]></description>
			<content:encoded><![CDATA[<p>The <a title="Exchange 2010 Edge Transport Server Introduction" href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction">Exchange Server 2010 Edge Transport server</a> role is automatically enabled for the built-in anti-spam features when it is installed. However some of the features require configuration before they can begin blocking spam.</p>
<p>The IP Block List Providers anti-spam feature is one example. It is enabled by default, but no block list providers are included in the configuration.</p>
<p>IP block list providers are an effective way to block the majority of spam, because they maintain comprehensive databases of IP addresses on the internet that are known and suspected spam sources. This allows an Exchange server to determine whether or not to block an incoming email during the initial stages of the SMTP connection, based on the IP address of the sending host.</p>
<p>Blocking spam at such an early stage of the communication sequence uses less bandwidth and processor resources than email content filtering, because the full email message is never transmitted to the Exchange server.</p>
<p>One of the best IP block list providers is <a href="http://www.spamhaus.org/">Spamhaus</a>. You can configure an Edge Transport server to use Spamhaus as an IP block list provider by following these steps.</p>
<p>Log on to your <a title="Exchange 2010 FAQ: What are the Exchange Server 2010 Server Roles?" href="http://exchangeserverpro.com/exchange-2010-server-roles">Edge Transport server</a> and launch the E<strong>xchange Management Console</strong>. In the <strong>Anti-spam</strong> tab right-click <strong>IP Block List Providers</strong> and select <strong>Properties</strong>.</p>
<p><img class="aligncenter size-full wp-image-3444" title="exchange-2010-edge-transport-ip-block-list-provider-01" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-transport-ip-block-list-provider-01.png" alt="" width="584" height="463" /></p>
<p>Select the <strong>Providers</strong> tab and then click <strong>Add</strong>.</p>
<p><img class="aligncenter size-full wp-image-3445" title="exchange-2010-edge-transport-ip-block-list-provider-02" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-transport-ip-block-list-provider-02.png" alt="" width="444" height="179" /></p>
<p>Enter the Provider Name of <strong>Spamhaus</strong> and the Lookup Domain of <strong>zen.spamhaus.org</strong>.</p>
<p><img class="aligncenter size-full wp-image-3446" title="exchange-2010-edge-transport-ip-block-list-provider-03" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-transport-ip-block-list-provider-03.png" alt="" width="436" height="204" /></p>
<p>Click <strong>OK</strong> and <strong>OK</strong> again to apply the change.</p>
<p>The Edge Transport server will now lookup the IP address of connecting hosts to determine whether or not to accept mail from them.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains" title="Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a></li><li><a href="http://exchangeserverpro.com/exchange-20072010-transport-rule-logging" title="Exchange 2007/2010 Transport Rule Logging">Exchange 2007/2010 Transport Rule Logging</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-edgesync" title="Exchange 2010 Edge Transport Server: Configuring EdgeSync">Exchange 2010 Edge Transport Server: Configuring EdgeSync</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-install-edge-transport-server" title="Installing an Exchange Server 2010 Edge Transport Server">Installing an Exchange Server 2010 Edge Transport Server</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers">Exchange 2010 Edge Transport Server: Configuring IP Block List Providers</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Edge Transport Server: Configuring EdgeSync</title>
		<link>http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-edgesync</link>
		<comments>http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-edgesync#comments</comments>
		<pubDate>Sat, 07 May 2011 13:58:36 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[EdgeSync]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[ISA 2006]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=3414</guid>
		<description><![CDATA[This tutorial demonstrates how to configure the Edge Subscription between the Exchange Server 2010 Edge Transport server and Hub Transport server.]]></description>
			<content:encoded><![CDATA[<p>In the last part of this series I demonstrated <a href="http://exchangeserverpro.com/exchange-2010-install-edge-transport-server">how to install the Edge Transport server role</a> for Exchange Server 2010. In this next part I&#8217;ll go through the process of configuring the Edge Subscription between the Edge Transport server and Hub Transport server located in the internal network.</p>
<p>The Edge Subscription is a relationship between an <a title="Exchange 2010 FAQ: What are the Exchange Server 2010 Server Roles?" href="http://exchangeserverpro.com/exchange-2010-server-roles">Edge Transport server</a> and an Active Directory site, and allows the Edge Transport server to receive information about the Exchange organization such as recipients, domain names, and safelists/blocklists for anti-spam.</p>
<p>This information is synchronized at regular intervals through a process called EdgeSync.</p>
<h2>Firewall Ports for Exchange Server 2010 Edge Transport Servers</h2>
<p>For EdgeSync and mail flow to work there are a few network ports that need to be open on the firewall between the Internet, the Edge Transport server, and the internal Hub Transport server.</p>
<h3>Edge Transport Server Network Ports for EdgeSync</h3>
<ul>
<li>Secure LDAP (TCP 50636) from the Hub Transport server to the Edge Transport server</li>
</ul>
<h3>Edge Transport Server Network Ports for Mail Flow</h3>
<ul>
<li>SMTP (TCP 25) from the Internet to the Edge Transport server</li>
<li>SMTP (TCP 25) from the Edge Transport server to the Hub Transport server</li>
<li>SMTP (TCP 25) from the Hub Transport server to the Edge Transport server</li>
<li>DNS (UDP 53) from the Edge Transport server to a DNS server capable of public DNS lookups (ie to look up MX records)</li>
</ul>
<p><em><br />
</em></p>
<p><em><img class="aligncenter size-large wp-image-3416" title="exchange-2010-edge-transport-network-ports" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-transport-network-ports-534x600.png" alt="" width="534" height="600" /><br />
</em></p>
<h3>Configuring ISA Server 2006 for Edge Transport Servers</h3>
<p>If you are using ISA Server 2006 as your firewall and want to create the access rules for the Edge Transport server the first thing you&#8217;ll need to configure is a new network protocol for the secure LDAP connection. ISA Server 2006 is pre-configured with a secure LDAP protocol however the EdgeSync process uses the non-standard port of TCP 50636.</p>
<p>Create a new network protocol named &#8220;EdgeSync&#8221; for TCP 50636 outbound.</p>
<p><img class="aligncenter size-full wp-image-3417" title="exchange-2010-edgesync-secure-ldap-protocol" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edgesync-secure-ldap-protocol.png" alt="" width="500" height="383" /></p>
<p>Configure the ISA Server 2006 firewall policy with access rules for the Edge Transport network access required.</p>
<p><img class="aligncenter size-full wp-image-3419" title="exchange-2010-edge-transport-isa-firewall-rules" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-transport-isa-firewall-rules.png" alt="" width="600" height="193" /></p>
<h2>Creating the Edge Subscription for Exchange Server 2010 Edge Transport Servers</h2>
<p>With the firewall access all configured correctly the next step is to configure the Edge Subscription itself.</p>
<p>On the Edge Transport server open the Exchange Management Shell and run the following command using the <a href="http://technet.microsoft.com/en-us/library/bb123800.aspx">New-EdgeSubscription</a> cmdlet.</p>
<pre>[PS] C:\&gt;New-EdgeSubscription -FileName C:\edgesubscription.xml

Confirm
If you create an Edge Subscription, this Edge Transport server will be managed via EdgeSync replication. As a result,
any of the following objects that were created manually will be deleted: accepted domains, message classifications,
remote domains, and Send connectors. After creating the Edge Subscription, you must manage these objects from inside
the organization and allow EdgeSync to update the Edge Transport server. Also, the InternalSMTPServers list of the
TransportConfig object will be overwritten during the synchronization process.
 EdgeSync requires that this Edge Transport server is able to resolve the FQDN of the Hub Transport servers in the
Active Directory site to which the Edge Transport server is being subscribed, and those Hub Transport servers be able
to resolve the FQDN of this Edge Transport server. You should complete the Edge Subscription inside the organization in
 the next "1440" minutes before the bootstrap account expires.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y</pre>
<p>There are two important things to be aware of here:</p>
<ul>
<li>You must complete the next step of the Edge Subscription process within 1440 minutes (24 hours), otherwise you&#8217;ll need to generate a new Edge Subscription again</li>
<li>The Hub Transport servers in the Active Directory site that will be subscribed must be able to resolve the FQDN of the Edge Transport server. You can either add DNS records manually or use a HOSTS file entry.</li>
</ul>
<p>Copy the &#8220;edgesubscription.xml&#8221; file to the Hub Transport server. Launch the Exchange Management Console and navigate to <strong>Organization Management/Hub Transport</strong>.</p>
<p>In the Actions pane click on New Edge Subscription.</p>
<p><img class="aligncenter size-full wp-image-3420" title="exchange-2010-edge-subscription-01" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-subscription-01.png" alt="" width="302" height="228" /></p>
<p>Browse and select the Active Directory site to be subscribed, as well as the XML file that you copied from the Edge Transport server.</p>
<p><img class="aligncenter size-full wp-image-3421" title="exchange-2010-edge-subscription-02" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-subscription-02.png" alt="" width="600" height="299" /></p>
<p>Click the <strong>New</strong> button to complete the wizard.</p>
<p>After the Edge Subscription has been created you will see two Send Connectors configured for your organization.</p>
<p><img class="aligncenter size-large wp-image-3422" title="exchange-2010-edge-subscription-03" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-subscription-03-600x184.png" alt="" width="600" height="184" /></p>
<p>It can take up to an hour before the first Edge synchronization process runs, but you can run it manually if you need to. On the Hub Transport server launch the Exchange Management Shell and run the following command using the Start-EdgeSynchronization cmdlet.</p>
<pre>[PS] C:\&gt;Start-EdgeSynchronization -Server esp-ho-ex2010a

RunspaceId     : b7415ae2-f763-449e-bb36-20a6a18759cd
Result         : Success
Type           : Configuration
Name           : esp-ho-ex2010e
FailureDetails :
StartUTC       : 5/7/2011 1:27:39 PM
EndUTC         : 5/7/2011 1:28:07 PM
Added          : 290
Deleted        : 0
Updated        : 0
Scanned        : 295
TargetScanned  : 0

RunspaceId     : b7415ae2-f763-449e-bb36-20a6a18759cd
Result         : Success
Type           : Recipients
Name           : esp-ho-ex2010e
FailureDetails :
StartUTC       : 5/7/2011 1:27:39 PM
EndUTC         : 5/7/2011 1:28:08 PM
Added          : 401
Deleted        : 0
Updated        : 0
Scanned        : 401
TargetScanned  : 0</pre>
<p>After the initial Edge synchronization has occurred you will be able to see the Send Connectors and Accepted Domains configured on the Edge Transport server.</p>
<p><img class="aligncenter size-full wp-image-3423" title="exchange-2010-edge-subscription-04" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-subscription-04.png" alt="" width="466" height="125" /><img class="aligncenter size-full wp-image-3424" title="exchange-2010-edge-subscription-05" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-subscription-05.png" alt="" width="519" height="106" /></p>
<h2>Testing Mail Flow</h2>
<p>After the Edge Subscription is in place and you&#8217;ve synchronized at least once you can send email between your Exchange organization and an external mailbox, and then inspect the email message headers to verify that the messages are traversing your Edge Transport server.</p>
<pre>Received: from esp-ho-ex2010e.exchangeserverpro.net (10.0.3.2) by
 esp-ho-ex2010a.exchangeserverpro.net (10.0.1.4) with Microsoft SMTP Server
 (TLS) id 14.1.289.1; Sat, 7 May 2011 23:50:10 +1000
Received: from (192.168.0.45) by esp-ho-ex2010e.exchangeserverpro.net
 (10.0.3.2) with Microsoft SMTP Server id 14.1.218.12; Sat, 7 May 2011
 23:50:07 +1000
MIME-Version: 1.0
Content-Type: text/plain</pre>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains" title="Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a></li><li><a href="http://exchangeserverpro.com/exchange-20072010-transport-rule-logging" title="Exchange 2007/2010 Transport Rule Logging">Exchange 2007/2010 Transport Rule Logging</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers" title="Exchange 2010 Edge Transport Server: Configuring IP Block List Providers">Exchange 2010 Edge Transport Server: Configuring IP Block List Providers</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-install-edge-transport-server" title="Installing an Exchange Server 2010 Edge Transport Server">Installing an Exchange Server 2010 Edge Transport Server</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-edgesync">Exchange 2010 Edge Transport Server: Configuring EdgeSync</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-edgesync/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing an Exchange Server 2010 Edge Transport Server</title>
		<link>http://exchangeserverpro.com/exchange-2010-install-edge-transport-server</link>
		<comments>http://exchangeserverpro.com/exchange-2010-install-edge-transport-server#comments</comments>
		<pubDate>Fri, 06 May 2011 13:43:30 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=3396</guid>
		<description><![CDATA[This tutorial demonstrates how to install the Exchange Server 2010 Edge Transport server role.]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I&#8217;ll demonstrate how to install an <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction">Exchange Server 2010 Edge Transport server</a>.</p>
<p>To host the <a title="Exchange 2010 FAQ: What are the Exchange Server 2010 Server Roles?" href="http://exchangeserverpro.com/exchange-2010-server-roles">Edge Transport server role</a> I am using a server running Windows Server 2008 R2 with Service Pack 1. The server is located in the DMZ of the network.</p>
<p><img class="aligncenter size-large wp-image-3308" title="exchange-2010-edge-transport-overview" src="http://exchangeserverpro.com/wp-content/uploads/2011/04/exchange-2010-edge-transport-overview-534x600.png" alt="" width="534" height="600" /></p>
<p>In the last part of this series the <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction">pre-requisites for Edge Transport servers</a> were installed.</p>
<p>You also need to make sure that the server has been configured with a fully qualified domain name (FQDN). A domain-joined server has an FQDN that matches the DNS name of the domain that it is joined to, but the Edge Transport server is usually installed on standalone servers and so this will not automatically be configured for you.</p>
<p><img class="aligncenter size-full wp-image-3397" title="exchange-2010-edge-transport-server-fqdn" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-edge-transport-server-fqdn.png" alt="" width="600" height="313" /></p>
<p>The next step is to install Exchange Server 2010 SP1.</p>
<p>Open a command prompt and navigate to the folder that contains the Exchange Server 2010 SP1 setup files.  Run the following command to install the Edge Transport server role.</p>
<pre>setup /m:install /r:e,t /installwindowscomponents</pre>
<p><em>Note: the /installwindowscomponents switch isn&#8217;t required if you&#8217;ve already install the correct pre-requisites, but I always include it anyway.</em></p>
<pre>Welcome to Microsoft Exchange Server 2010 Unattended Setup

Setup will continue momentarily, unless you press any key and cancel the
installation. By continuing the installation process, you agree to the license
terms of Microsoft Exchange Server 2010.
If you don't accept these license terms, please cancel the installation. To
review the license terms, please go to

http://go.microsoft.com/fwlink/?LinkId=150127&#038;clcid=0x409/

Press any key to cancel setup................
No key presses were detected.  Setup will continue.
Preparing Exchange Setup

    Copying Setup Files                           COMPLETED

The following server role(s) will be installed
Languages
Management Tools
Edge Transport Role

Performing Microsoft Exchange Server Prerequisite Check

    Configuring Prerequisites                                 COMPLETED
    Language Pack Checks                                      COMPLETED
    Edge Transport Role Checks                                COMPLETED

Configuring Microsoft Exchange Server

    Preparing Setup                                           COMPLETED
    Stopping Services                                         COMPLETED
    Copying Exchange Files                                    COMPLETED
    Language Files                                            COMPLETED
    Restoring Services                                        COMPLETED
    Languages                                                 COMPLETED
    Exchange Management Tools                                 COMPLETED
    Edge Transport Role                                       COMPLETED
    Finalizing Setup                                          COMPLETED

The Microsoft Exchange Server setup operation completed successfully.
Setup has made changes to operating system settings that require a reboot to
take effect. Please reboot this server prior to placing it into production.</pre>
<p>After setup has finished restart the server, then apply the latest Update Rollup for Exchange Server 2010 SP1.</p>
<p>In the next part of this series we&#8217;ll look at setting up EdgeSync for the Edge Transport server.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains" title="Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a></li><li><a href="http://exchangeserverpro.com/exchange-20072010-transport-rule-logging" title="Exchange 2007/2010 Transport Rule Logging">Exchange 2007/2010 Transport Rule Logging</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers" title="Exchange 2010 Edge Transport Server: Configuring IP Block List Providers">Exchange 2010 Edge Transport Server: Configuring IP Block List Providers</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-edgesync" title="Exchange 2010 Edge Transport Server: Configuring EdgeSync">Exchange 2010 Edge Transport Server: Configuring EdgeSync</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-install-edge-transport-server">Installing an Exchange Server 2010 Edge Transport Server</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-install-edge-transport-server/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Edge Transport Server Introduction</title>
		<link>http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction</link>
		<comments>http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction#comments</comments>
		<pubDate>Thu, 21 Apr 2011 10:15:27 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=3307</guid>
		<description><![CDATA[This series of tutorials will teach you about the Exchange Server 2010 Edge Transport server role, how to deploy it in your organization, and how to configure its features.]]></description>
			<content:encoded><![CDATA[<p>The Exchange Server 2010 <a title="Exchange 2010 FAQ: What are the Exchange Server 2010 Server Roles?" href="http://exchangeserverpro.com/exchange-2010-server-roles">Edge Transport server role</a> performs an important job in the organization. The Edge Transport server is specifically designed to handle internet email flow, protect from viruses and spam, and apply important business rules to email entering or leaving the network.</p>
<p>But despite this specialized role <a href="http://exchangeserverpro.com/poll-run-edge-transport-server">most businesses do not deploy an Edge Transport server</a> in their Exchange organization. This can be for one of several reasons, such as having an existing email security server or appliance running in the network, integrating an email security product on their internet-facing Hub Transport server, or simply for reasons of cost.</p>
<p>However the Edge Transport server is certainly a useful role to deploy, and in this upcoming series of tutorials we&#8217;ll walk through the process of installing an Edge Transport server and explore some of the features of the Edge Transport server role.</p>
<h2>Where to Deploy Exchange Server 2010 Edge Transport Servers</h2>
<p>The Edge Transport server is designed to operate in perimeter networks, in other words a DMZ. Of course you could place it in the internal network if you wanted to, but this detracts from some of the security benefits of deploying in a DMZ.</p>
<p>Unlike other Exchange server roles the Edge Transport server does not need to be a member of an Active Directory domain, so locating it within a DMZ does not create any difficult firewall configurations. There are only a few firewall ports that need to be open for the Edge Transport server to do its job.</p>
<p>For this tutorial series the Edge Transport server is being deployed in a DMZ that is secured by a 3-legged ISA Server 2006 firewall.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-3308" title="exchange-2010-edge-transport-overview" src="http://exchangeserverpro.com/wp-content/uploads/2011/04/exchange-2010-edge-transport-overview.png" alt="" width="455" height="511" /></p>
<p style="text-align: center;">&nbsp;</p>
<h2 style="text-align: left;">Preparing the Server to Install the Exchange Server 2010 Edge Transport Server Role</h2>
<p style="text-align: left;">The Edge Transport server role has the same basic operating system requirements as other server roles. Edge Transport servers can be deployed on the following operating systems:</p>
<ul>
<li>Windows Server 2008 64-bit Standard or Enterprise, with Service Pack 2</li>
<li>Windows Server 2008 R2 Standard or Enterprise</li>
</ul>
<p>For this demonstration Windows Server 2008 R2 Enterprise with Service Pack 1 is being used to run the Edge Transport server role.</p>
<p>To install the Edge Transport server pre-requisites open an elevated Windows PowerShell prompt and run the following command.</p>
<pre>PS C:\&gt; Import-Module ServerManager</pre>
<p>Next run this command to install the required roles and features for the Edge Transport server.</p>
<pre>PS C:\&gt; Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS -Restart</pre>
<p>Note that using the -Restart parameter will cause the server to restart automatically to complete the installation of the roles and features.</p>
<p>In the next part of this series we&#8217;ll look at <a href="http://exchangeserverpro.com/exchange-2010-install-edge-transport-server">installing the Exchange 2010 Edge Transport server role</a>.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2010-report-top-sender-ips-log-parser" title="Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser">Report Top Sender IP&#8217;s on Exchange Server 2010 using Log Parser</a></li><li><a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains" title="Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a></li><li><a href="http://exchangeserverpro.com/exchange-20072010-transport-rule-logging" title="Exchange 2007/2010 Transport Rule Logging">Exchange 2007/2010 Transport Rule Logging</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-ip-block-list-providers" title="Exchange 2010 Edge Transport Server: Configuring IP Block List Providers">Exchange 2010 Edge Transport Server: Configuring IP Block List Providers</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-configuring-edgesync" title="Exchange 2010 Edge Transport Server: Configuring EdgeSync">Exchange 2010 Edge Transport Server: Configuring EdgeSync</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction">Exchange 2010 Edge Transport Server Introduction</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-edge-transport-server-introduction/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Poll: Do You Run an Edge Transport Server?</title>
		<link>http://exchangeserverpro.com/poll-run-edge-transport-server</link>
		<comments>http://exchangeserverpro.com/poll-run-edge-transport-server#comments</comments>
		<pubDate>Thu, 14 Apr 2011 23:30:38 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Polls]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=3271</guid>
		<description><![CDATA[The Exchange Server 2007/2010 Edge Transport server role is pretty useful for what it does, but I don't come across many customers who are using it.]]></description>
			<content:encoded><![CDATA[<p>The Exchange Server 2007/2010 <a title="Exchange 2010 FAQ: What are the Exchange Server 2010 Server Roles?" href="http://exchangeserverpro.com/exchange-2010-server-roles">Edge Transport server role</a> is pretty useful for what it does, but I don&#8217;t come across many customers who are using it. Usually they run a third party mail security appliance, or use a hosted service, or if they are small enough they just run an integrated email security product on the Exchange server.</p>
<p>Please vote in the poll below.  If you&#8217;d like to explain why you do or don&#8217;t run an Edge Transport server please leave a comment below.</p>
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.
<p>Note: there is a poll embedded in this post. You may need to click through to the original article to see it.</p>
<p>&nbsp;</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-2007-2010-infinite-loops-internal-relay-domains" title="Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010">Avoiding Infinite Loops with Internal Relay Domains in Exchange 2007/2010</a></li><li><a href="http://exchangeserverpro.com/poll-public-folders-exchange-environment" title="Poll: Do You Still Use Public Folders in Your Exchange Environment?">Poll: Do You Still Use Public Folders in Your Exchange Environment?</a></li><li><a href="http://exchangeserverpro.com/exchange-20072010-transport-rule-logging" title="Exchange 2007/2010 Transport Rule Logging">Exchange 2007/2010 Transport Rule Logging</a></li><li><a href="http://exchangeserverpro.com/poll-exchange-mobile-access" title="Poll: Which Exchange mobile access platform do you use?">Poll: Which Exchange mobile access platform do you use?</a></li><li><a href="http://exchangeserverpro.com/poll-version-exchange-server-running" title="Poll: Which Version of Exchange Server Are You Running?">Poll: Which Version of Exchange Server Are You Running?</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/poll-run-edge-transport-server">Poll: Do You Run an Edge Transport Server?</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/poll-run-edge-transport-server/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Edge Transport Server Backup and Recovery</title>
		<link>http://exchangeserverpro.com/exchange-2010-edge-transport-server-backup-and-recovery</link>
		<comments>http://exchangeserverpro.com/exchange-2010-edge-transport-server-backup-and-recovery#comments</comments>
		<pubDate>Tue, 10 Aug 2010 09:00:36 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Disaster Recovery]]></category>
		<category><![CDATA[Edge Transport]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Restore]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=1839</guid>
		<description><![CDATA[In this tutorial you will learn how to plan a backup strategy for your Edge Transport servers, and how to use two different methods to backup and restore the Edge Transport server role in Exchange Server 2010.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-1842" title="edgetransportserver" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/edgetransportserver.png" alt="" width="169" height="202" />The Exchange Server 2010 Edge Transport Server role is responsible for all incoming and outgoing internet email for an organization.</p>
<p>Typically deployed within a secure perimeter network, or DMZ, the Edge Transport Server is basically a smart host or SMTP relay server for the organization, and can protect from viruses, spam, and also perform other rule-based actions to control the flow of email in and out of the network.</p>
<h2>What Needs to be Backed Up on Edge Transport Servers</h2>
<p>To plan for backup and recovery of the Edge Transport server you first need to understand where the server stores its configuration and data.</p>
<p><strong>Active Directory Lightweight Directory Service</strong> &#8211; each Edge Transport server runs its own instance of AD LDS, which is used to store a subset of information about recipients in the Exchange organization, as well as information about the connectors that are established between the Edge Transport server and the Hub Transport servers for mail flow.  The AD LDS database and log files are stored on the file system of the server.</p>
<p><strong>Edge Configuration</strong> &#8211; the Edge Transport server configuration can be exported to an XML file for cloning between servers and for recovery purposes.  The Edge configuration file is stored on the file system of the server.  This does not include the Edge Subscription information that connects the Edge Transport server to Hub Transport servers.</p>
<p><strong>System State</strong> &#8211; the system state contains information such as service startup and dependency settings in the registry, which is important if any settings have been modified from the defaults.  The System State is also important if extra third party applications or agents have been installed on the Edge Transport server, local security policies have been applied, administrative accounts or groups created or modified, and a range of other items that may be important in a recovery.</p>
<p><strong>Other Files</strong> &#8211; other files such as transport queue databases and log files are also stored on the file system.</p>
<h2>Planning the Edge Transport Server Backup</h2>
<p>When you are planning the Edge Transport server backup strategy there are different approaches you can take depending on your requirements.</p>
<h3>Backing up Everything</h3>
<p>A full system backup of the server encompasses all of the required information for a recovery, however this takes longer to backup and consumes the most backup storage.</p>
<p>This makes it impractical if frequent backups are required throughout the day, for example in a high volume email environment the transport queue databases might be backed up every 5 minutes to reduce the risk of losing in-transit emails if the server crashed.</p>
<p>A full backup can also take longer to recover in some cases, however this is less of a concern if multiple Edge Transport servers are deployed.</p>
<h3>Backing up the Minimum</h3>
<p>A backup of just the Edge Transport configuration is the most efficient in terms of time frames and storage space, and can be run only when a configuration change has been made.</p>
<p>However the recovery time may be longer because a new host would need to be provisioned from scratch to import the config.</p>
<p>There may also be more manual intervention required because importing the configuration to a new server still requires the Edge Subscription to be set up again.  In addition, this backup strategy does not protect the transport queue databases, log files, or any third party applications and agents installed on the server.</p>
<h2>Backing Up and Restoring Edge Transport Servers</h2>
<p>For the purposes of this demonstration I&#8217;ve made a few changes to a default Edge Transport server install on Windows Server 2008 R2.</p>
<p>The default log file paths have been modified:</p>
<p style="text-align: center;"><img class="size-full wp-image-1840 aligncenter" title="change1" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/change1.png" alt="" width="400" height="245" /></p>
<p>An Edge Subscription is in place:</p>
<p style="text-align: center;"><img class="size-full wp-image-1841 aligncenter" title="connectors1" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/connectors1.png" alt="" width="421" height="125" /></p>
<p>.NET Framework 4 has been installed via Microsoft Update:</p>
<p style="text-align: center;"><img class="size-full wp-image-1843 aligncenter" title="programs1" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/programs1.png" alt="" width="268" height="106" /></p>
<h3><strong>Exporting/Importing the Edge Configuration</strong></h3>
<p style="text-align: left;">The Edge Configuration can be exported and imported using a script provided with Exchange Server 2010.  The script is located in the \Scripts folder of your Exchange Server 2010 installation folder, which by default would be:</p>
<blockquote><p>C:\Program Files\Microsoft\Exchange Server\V14\Scripts</p></blockquote>
<p>On the Edge Transport server launch an Exchange Management Shell and run the script to export the Edge Configuration.</p>
<pre>.\ExportEdgeConfig.ps1 -cloneConfigData C:\EdgeConfig\ex2-edgeconfig.xml

Edge configuration is exported successfully to C:\EdgeConfig\ex2-edgeconfig.xml</pre>
<p>For this demonstration the server operating system has been manually reinstalled to simulate a recovery scenario, and the Exchange Server 2010 reinstalled with the Edge Transport server role.</p>
<p>Note: the Edge Transport server can be a domain member however it is not a valid role for using <strong>Setup /m:RecoverServer</strong> to restore a failed server. In some scenarios you may encounter an error that &#8220;<a href="http://exchangeserverpro.com/exchange-2010-setup-error-the-exchange-server-is-in-an-inconsistent-state">The Exchange Server is in an inconsistent state</a>&#8221; when trying to reinstall the server.  If you do then <a href="http://exchangeserverpro.com/exchange-2010-setup-error-the-exchange-server-is-in-an-inconsistent-state">click here for the solution</a>.</p>
<p>When the new Edge Transport server is ready you can import the Edge Configuration to it using a script that is once again located in your Exchange Server 2010 installation folder.</p>
<p>Launch the Exchange Management Shell, and then run the import script to validate that the configuration can be applied.  This checks for such things as valid file system directories to confirm that that they can be recreated when the configuration is imported.</p>
<pre>.\ImportEdgeConfig.ps1 -cloneConfigData C:\EdgeConfig\ex2-edgeconfig.xml -isImport $false -cloneConfigAnswer C:\EdgeConfig\ex2-answer.xml

Warning:Passwords will be encrypted with the default script encryption key

Validation succeeded for ConnectivityLogPath element of type DirectoryPath
Validation succeeded for MessageTrackingLogPath element of type DirectoryPath
Validation succeeded for PickupDirectoryPath element of type DirectoryPath
Validation succeeded for PipelineTracingPath element of type DirectoryPath
Validation succeeded for ReceiveProtocolLogPath element of type DirectoryPath
Validation succeeded for ReplayDirectoryPath element of type DirectoryPath
Validation succeeded for RoutingTableLogPath element of type DirectoryPath
Validation succeeded for RootDropDirectoryPath element of type NullableDirectoryPath
Validation succeeded for SendProtocolLogPath element of type DirectoryPath
Validation succeeded for SourceIPAddress element of type IPAddress
Validation succeeded for SourceIPAddress element of type IPAddress
Validation succeeded for Bindings element of type Bindings
Validation succeeded for Fqdn element of type FQDN

Answer File is successfully created: C:\EdgeConfig\ex2-answer.xml</pre>
<p>Next, import the configuration file by switching the <strong>-isImport</strong> parameter to <strong>$true</strong>.</p>
<pre>.\ImportEdgeConfig.ps1 -cloneConfigData C:\EdgeConfig\ex2-edgeconfig.xml -isImport $true -cloneConfigAnswer C:\EdgeConfig\ex2-answer.xml

Warning:Passwords will be encrypted with the default script encryption key

WARNING: The contents of the pipeline tracing log may contain sensitive information. Make sure all content is either
removed or secured appropriately.

WARNING: The command completed successfully but no settings of 'exchangeserverpro.local' have been modified.
WARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport

Confirm
Are you sure you want to perform this action?
Removing Receive connector "EX2\Default internal receive connector EX2".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): a

WARNING: The command completed successfully but no settings of 'IPAllowListConfig' have been modified.
WARNING: The command completed successfully but no settings of 'IPAllowListProviderConfig' have been modified.
WARNING: The command completed successfully but no settings of 'IPBlockListConfig' have been modified.

WARNING: Edge Transport servers don't use the MaxDumpsterSizePerStorageGroup, MaxDumpsterTime, MaxReceiveSize,
MaxRecipientEnvelopeLimit, and SupervisionTags parameters. Therefore, setting these parameters will have no effect.

Importing Edge configuration information Succeeded.</pre>
<p>Note the warning that the Transport service requires a restart.  This does not happen automatically, so run the following command from the Exchange Management Shell.</p>
<pre>restart-service msexchangetransport</pre>
<p>Although the relevant Connectors are added to the Edge Transport server when the Edge Configuration is imported, they are not correctly set up on both ends (ie on the AD Site/Hub Transport servers as well).  To do this you will need to re-run the Edge Subscription process.</p>
<p>Create an Edge Subscription file on the Edge Transport server by running the following command in an Exchange Management Shell.</p>
<pre>New-EdgeSubscription -FileName c:\edgesubscription.xml

Confirm
If you create an Edge Subscription, this Edge Transport server will be managed via EdgeSync replication. As a result,
any of the following objects that were created manually will be deleted: accepted domains, message classifications,
remote domains, and Send connectors. After creating the Edge Subscription, you must manage these objects from inside
the organization and allow EdgeSync to update the Edge Transport server. Also, the InternalSMTPServers list of the
TransportConfig object will be overwritten during the synchronization process.
 EdgeSync requires that this Edge Transport server is able to resolve the FQDN of the Hub Transport servers in the
Active Directory site to which the Edge Transport server is being subscribed, and those Hub Transport servers be able
to resolve the FQDN of this Edge Transport server. You should complete the Edge Subscription inside the organization in
 the next "1440" minutes before the bootstrap account expires.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y</pre>
<p>Copy the XML file to an Exchange 2010 server in the organization.  Launch the Exchange Management Console and navigate to Organization Management/Hub Transport.  Start the <strong>New Edge Subscription</strong> task.</p>
<p><img class="aligncenter size-full wp-image-1867" title="edgesub01" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/edgesub01.png" alt="" width="500" height="280" /></p>
<p>Select the Active Directory Site you wish to create the subscription with, and then browse and select the XML file that you copied from the Edge Transport server.</p>
<p><img class="aligncenter size-full wp-image-1868" title="edgesub02" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/edgesub02.png" alt="" width="471" height="242" /></p>
<p>Click <strong>New</strong> to complete the Edge Subscription wizard.</p>
<p>The Edge Transport server role has now been recovered by:</p>
<ol>
<li>Reinstalling the operating system and Exchange Server 2010</li>
<li>Importing a backup of the Edge Configuration</li>
<li>Re-establishing the Edge Subscription</li>
</ol>
<p>By only backing up the exported Edge Configuration file this technique takes up the least backup time and storage, however the restoration is more effort (note that the use of virtualization, templates or other automated build processes would speed it up to varying degrees).</p>
<ul>
<li>The customized log path settings were restored</li>
<li>The Edge Subscription was manually recreated</li>
<li>Additional applications were not recovered and need manual reinstallation</li>
</ul>
<p><img class="aligncenter size-full wp-image-1879" title="noapps" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/noapps.png" alt="" width="488" height="189" />So depending on the server there will be additional effort to bring it back to full service, if only the Edge Configuration was ever backed up.</p>
<h3>Full System Backup/Restore for Edge Transport Servers</h3>
<p>For this demonstration I used Windows Server Backup to take a full system backup of the Edge Transport server to use for bare metal restore.</p>
<p><img class="aligncenter size-full wp-image-1877" title="fullbackup" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/fullbackup.png" alt="" width="500" height="413" /></p>
<p>This backup takes longer than if you were only exporting and backing up the Edge Configuration on a regular basis.  However the restore process is simpler and possibly even faster than the previous method, because the full system is being restored, although this would depending on your backup infrastructure and whether the restore media was on hand or needed to be brought in from offsite.</p>
<p><img class="aligncenter size-full wp-image-1878" title="fullrestore" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/fullrestore.png" alt="" width="469" height="198" /></p>
<p>Once the full system restore is complete the server is ready to go, including the Exchange Server 2010 installation and all other applications and configurations on the server.</p>
<p><img class="aligncenter size-full wp-image-1843" title="programs1" src="http://exchangeserverpro.com/wp-content/uploads/2010/08/programs1.png" alt="" width="268" height="106" /></p>
<p>Although the Edge Subscription is restored by this method, if you test it from the Hub Transport server you may find that it is temporarily broken.</p>
<pre>[PS] C:\&gt;Test-EdgeSynchronization

RunspaceId                  : 6143dd90-7b9b-40f2-8120-15e58a8e2f54
SyncStatus                  : Failed
UtcNow                      : 9/08/2010 2:29:59 AM
Name                        : EX2
LeaseHolder                 : CN=EX1,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Gr
                              oups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exchange
                              serverpro,DC=local
LeaseType                   : Option
FailureDetail               : The EdgeSync cookie has not been updated as expected. It may indicate EdgeSync has encoun
                              tered synchronization errors. For more information, check the EdgeSync logs.
LeaseExpiryUtc              : 9/08/2010 2:46:13 AM
LastSynchronizedUtc         : 9/08/2010 1:46:13 AM
TransportServerStatus       : Skipped
TransportConfigStatus       : Skipped
AcceptedDomainStatus        : Skipped
RemoteDomainStatus          : Skipped
SendConnectorStatus         : Skipped
MessageClassificationStatus : Skipped
RecipientStatus             : Skipped
CredentialRecords           : Number of credentials 3
CookieRecords               : Number of cookies 2</pre>
<p>You can usually fix this by simply restarting the EdgeSync service on the Hub Transport server.</p>
<pre>[PS] C:\&gt;Restart-Service MSExchangeEdgeSync</pre>
<p>The Edge Subscription should now test successfully.</p>
<pre>[PS] C:\&gt;Test-EdgeSynchronization

RunspaceId                  : 6143dd90-7b9b-40f2-8120-15e58a8e2f54
SyncStatus                  : Normal
UtcNow                      : 9/08/2010 2:32:16 AM
Name                        : EX2
LeaseHolder                 : CN=EX1,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Gr
                              oups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exchange
                              serverpro,DC=local
LeaseType                   : Option
FailureDetail               :
LeaseExpiryUtc              : 9/08/2010 3:30:15 AM
LastSynchronizedUtc         : 9/08/2010 2:30:15 AM
TransportServerStatus       : Skipped
TransportConfigStatus       : Skipped
AcceptedDomainStatus        : Skipped
RemoteDomainStatus          : Skipped
SendConnectorStatus         : Skipped
MessageClassificationStatus : Skipped
RecipientStatus             : Skipped
CredentialRecords           : Number of credentials 3
CookieRecords               : Number of cookies 2</pre>
<p>The Edge Transport server role has now been recovered by performing a full system restore of the server.</p>
<ul>
<li>The custom log path settings were restored</li>
<li>The Edge Subscription was maintained</li>
<li>The additional applications were also recovered</li>
</ul>
<p>By taking full system backups of the Edge Transport server the restoration process was simplified, however the backups themselves take up more time and backup storage.</p>
<h2>Summary</h2>
<p>As you can see there are pros and cons to each backup strategy for the Edge Transport server role in Exchange Server 2010.  In most environments the full system backup/restore method works best as it simplifies almost every aspect of the process, with the only trade off being the extra time and storage capacity needed during backups.  The config export/import method tends to be more suited to migrating the Edge Transport server to new hardware, or adding additional Edge Transport servers into the environment.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-server-2010-mailbox-server-backup-recovery" title="Exchange Server 2010 Mailbox Server Backup and Recovery">Exchange Server 2010 Mailbox Server Backup and Recovery</a></li><li><a href="http://exchangeserverpro.com/exchange-server-2010-client-access-server-backup-and-recovery" title="Exchange Server 2010 Client Access Server Backup and Recovery">Exchange Server 2010 Client Access Server Backup and Recovery</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-hub-transport-server-backup-and-recovery" title="Exchange 2010 Hub Transport Server Backup and Recovery">Exchange 2010 Hub Transport Server Backup and Recovery</a></li><li><a href="http://exchangeserverpro.com/introduction-to-exchange-server-2010-backup-and-recovery" title="Introduction to Exchange Server 2010 Backup and Recovery">Introduction to Exchange Server 2010 Backup and Recovery</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-mailbox-database-backup-restore-windows-server-backup" title="Exchange 2010 Mailbox Database Backup and Restore with Windows Server Backup">Exchange 2010 Mailbox Database Backup and Restore with Windows Server Backup</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-backup-and-recovery">Exchange 2010 Edge Transport Server Backup and Recovery</a> is © 2010 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-edge-transport-server-backup-and-recovery/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

