Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-08-08
This topic explains how to use the Exchange Management Shell to configure Internet mail flow when your organization sends and receives Internet e-mail by relaying through a subscribed Edge Transport server. A subscribed Edge Transport server has been subscribed to the Exchange organization. The Microsoft Exchange EdgeSync service that is running on the Hub Transport servers periodically synchronizes recipient and configuration data to the ADAM instance on the Edge Transport server.
To establish Internet mail flow for this scenario, you subscribe the Edge Transport server to an Active Directory directory service site. This is the recommended method for establishing Internet mail flow. After the Edge Subscription is created, the Microsoft Exchange EdgeSync service that is running on the Hub Transport server role in that site synchronizes information from Active Directory to the Active Directory Application Mode (ADAM) directory service instance on the Edge Transport server. This process automatically creates the following Send connectors, which are required for Internet mail flow:
- A Send connector that is configured to send e-mail to all
Internet domains.
- A Send connector that is 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 How to 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.
Before You Begin
To perform the following procedures, the account you use must be delegated the following:
- Exchange Organization Administrator role
To perform the following procedure on a computer that has the Edge Transport server role installed, you must log on by using an account that is a member of the local Administrators group on that computer.
For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.
Before you start this procedure, verify that the following prerequisites are met:
- Authoritative domains are configured on the Hub Transport
server. For more information, see How to Configure
Authoritative Domains for the Exchange Organization.
- 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.
Procedure
The following procedure establishes Internet mail flow to and from the Exchange organization through a subscribed Edge Transport server. You must perform this procedure for each Edge Transport server that will process Internet e-mail. For more information about this scenario, see Subscribing the Edge Transport Server to the Exchange Organization.
To subscribe an Edge Transport server to create Send connectors between an Edge Transport server and the Internet
-
On the Edge Transport server, run the following command:
Copy Code New-EdgeSubscription -FileName "C:\<EdgeSubscriptionInfo>.xml"
For detailed information about this step, see How to Export an Edge Subscription File.
-
Copy the resulting XML file to the Hub Transport server. On the Hub Transport server, run the following command:
Copy Code New-EdgeSubscription -filename "C:\EdgeSubscriptionInfo.xml" -CreateInternetSendConnector $true -CreateInboundSendConnector $true -site "Default-First-Site-Name"
Note: By default, the value of the CreateInternetSendConnector parameter and CreateInboundSendConnector parameter is $True
. You do not have to provide these parameters if you want to use the default configuration. They are shown here for illustration only.For detailed information about this step, see How to Import the Edge Subscription File.
-
On the Hub Transport server, run the following command:
Copy Code Start-EdgeSynchronization
For detailed syntax and parameter information, see EdgeSync Cmdlets.
You don't have to create Receive connectors for this scenario. The default Receive connector on the Edge Transport server is the only Receive connector that is required. However, you may want to modify the configuration of the default Receive connector to bind it to only the external network address. Then, you can create an additional Receive connector that is bound to only the internal network address and configure it to receive connections from the Exchange organization. For more information, see Configuring Edge Transport Server Connectors and EdgeSync and Send Connectors.
For More Information
For more information, see the following topics: