Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2011-03-19
You can use the Shell to configure Internet mail flow when your organization sends and receives Internet e-mail by relaying through a subscribed Edge Transport server.
To establish Internet mail flow for this scenario, you subscribe the Edge Transport server to an Active Directory site. We recommend this method for establishing Internet mail flow for your Exchange 2010 organization. This process automatically creates the following Send connectors, which are required for Internet mail flow:
- A Send connector configured to send e-mail to all Internet
- A Send connector configured to send e-mail from the Edge
Transport server to the Hub Transport server.
If you don't want to subscribe the Edge Transport server to an Active Directory site, you can manually create the Send connectors that are required to establish mail flow between the Hub Transport server and the Edge Transport server. For more information, see Configure Mail Flow Between an Edge Transport Server and Hub Transport Servers Without Using EdgeSync. We recommend that you subscribe the Edge Transport server to the Active Directory site whenever possible.
Looking for other management tasks related to message routing? Check out Managing Message Routing.
- Authoritative domains are configured on the Hub Transport
server. For more information, see Transport Server
- E-mail address policies are configured on the Hub Transport
server. For more information, see Managing E-Mail Address
- Network communications over the secure LDAP port 50636/TCP
are enabled through the firewall that separates your perimeter
network from the Exchange organization.
Use the Shell to subscribe an Edge Transport server to an Active Directory site
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "EdgeSync" entry in the Transport Permissions topic.
|You can't use the EMC to subscribe an Edge Transport server to an Active Directory site.|
- On the Edge Transport server, run the following command.
New-EdgeSubscription -FileName "C:\EdgeSubscriptionInfo.xml"
- Copy the resulting XML file to a Hub Transport server in the
Active Directory site to which you want to subscribe the Edge
Transport server. On the Hub Transport server, run the following
New-EdgeSubscription -FileData ([byte]$(Get-Content -Path "C:\EdgeSubscriptionInfo.xml" -Encoding Byte -ReadCount 0)) -Site "Default-First-Site" -CreateInternetSendConnector $true -CreateInboundSendConnector $true
Note: By default, the value of the CreateInternetSendConnector parameter and CreateInboundSendConnector parameter is
$true. You don't have to provide these parameters if you want to use the default configuration. They are shown here for illustration only.
Note: You can also use the New Edge Subscription wizard in the EMC to import the Edge Subscription file you created in Step 1. For more information, see Import an Edge Subscription File to an Active Directory Site.
- On the Hub Transport server, run the following command.