Share via


Configure Internet Mail Flow Through a Subscribed Edge Transport Server

Applies to: Exchange Server 2010

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 domains.
  • 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.

Prerequisites

  • Authoritative domains are configured on the Hub Transport server. For more information, see Transport Server Post-Deployment Tasks.
  • E-mail address policies are configured on the Hub Transport server. For more information, see Managing E-Mail Address Policies.
  • 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.

Note

You can't use the EMC to subscribe an Edge Transport server to an Active Directory site.

  1. On the Edge Transport server, run the following command.

    New-EdgeSubscription -FileName "C:\EdgeSubscriptionInfo.xml"
    
  2. 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 command.

    New-EdgeSubscription -FileData ([byte[]]$(Get-Content -Path "C:\EdgeServerSubscription.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.

  3. On the Hub Transport server, run the following command.

    Start-EdgeSynchronization
    

For detailed syntax and parameter information, see New-EdgeSubscription or Start-EdgeSynchronization.