Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-07-23

You can use the EMC or the Shell to configure Microsoft Exchange Server 2010 to accept e-mail for more than one authoritative SMTP domain.

The following examples are scenarios in which your Exchange organization may have to receive and process e-mail for more than one authoritative SMTP domain:

Looking for other management tasks related to accepted and remote domains? Check out Managing Accepted and Remote Domains.

Note:
If you have deployed an Edge Transport server in your organization and have created an Edge Subscription for that server, you perform these procedures only on the Hub Transport server. If the Edge Transport server isn't subscribed, you must create accepted domains on both the Edge Transport server and the Hub Transport server.
Caution:
When you create an accepted domain, you can use a wildcard character (*) in the address space to indicate that all subdomains of the SMTP address space are also accepted by the Exchange organization. For example, to configure Contoso.com and all its subdomains as accepted domains, enter *.Contoso.com as the SMTP address space. However, if the subdomain names will be used in an e-mail address policy, each subdomain must have an explicit accepted domain entry.

Prerequisites

  • A public Domain Name System (DNS) MX resource record is required for each SMTP domain for which you accept e-mail from the Internet. Each MX record should resolve to the Internet-facing server that receives e-mail for your organization.

  • You must configure Send connectors and Receive connectors so that the Exchange organization can send e-mail to and receive e-mail from the Internet. The configuration of the Internet Send connectors and Receive connectors is determined by your Exchange topology. For more information about configuring Internet mail flow, see Managing Message Routing.

Use the EMC to configure Exchange 2010 to accept e-mail for more than one domain

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Accepted domains" entry in the Transport Permissions topic and the "E-mail address policies" entry in the Mailbox Permissions topic.

  1. Configure the accepted domain entry by following these steps:

    1. Expand the Organization Configuration node, and then click Hub Transport. In the results pane, click the Accepted Domains tab.

    2. In the action pane, click New Accepted Domain. The New Accepted Domain wizard appears.

    3. On the New Accepted Domain page, type a name to identify the accepted domain entry. In the Accepted Domain field, type the SMTP domain name. Select Authoritative Domain. E-mail is delivered to a recipient in this Exchange organization.

    4. Click New.

    5. On the Completion page, click Finish.

  2. Configure an e-mail address policy for the authoritative domain by performing the steps in this section that meet the objectives of your scenario.

    To change the primary (reply to) e-mail address assigned to recipients and keep the existing e-mail address as a secondary e-mail address, follow these steps:

    1. Expand the Organization Configuration node, and then click Hub Transport. In the results pane, click the E-mail Address Policies tab. Select the e-mail address policy that you want to modify, and then in the action pane, click Edit.

    2. On the Introduction page, click Next.

    3. On the Conditions page, click Next.

    4. On the E-mail Addresses page, click Add. In the SMTP E-mail Address dialog box, select the option under E-mail address local part that determines how the recipient's e-mail address alias will be generated.

    5. Click the Select the accepted domain for the e-mail address option, and then click Browse. In the Select Accepted Domain dialog box, select an accepted domain, and then click OK. Click OK again to close the SMTP E-mail Address dialog box.

    6. On the E-mail Addresses page, select the new address entry, and then click Set as Reply. The e-mail address entry is displayed in bold type to indicate that it's now the primary, or reply to, address for the recipients to which this e-mail address policy applies. Click Next.

    7. On the Schedule page, select an option to specify when the e-mail address policy will be applied and the maximum length of time that the task is permitted to run. Click Next.

    8. On the Edit E-mail Address Policy page, click Edit to save the changes to the policy and apply it to affected recipients.

    9. On the Completion page, click Finish.

  3. To create additional e-mail addresses that will be used as the primary e-mail address for a filtered set of recipients, follow these steps:

    1. In the action pane, click New E-mail Address Policy. The New E-mail Address Policy wizard appears.

    2. On the Introduction page, type a name for the e-mail address policy. If the users that will be assigned this new e-mail address policy are all in a specific organizational unit (OU), click Browse to restrict this e-mail address policy to that specific OU. Select an option under Include these recipient types to determine to which recipient types this e-mail address policy will be applied. Click Next.

    3. On the Conditions page, in the Step 1 box, select the condition that will be used to filter the recipients to which the policy is applied. For example, you can select Recipient is in a Company to apply the policy to only recipients whose properties identify a specific company affiliation. In the Step 2 box, click the underlined value to specify the value that the filter must match. For example, if you selected Recipient is in a Company, click the word specified. The Specify Company dialog box opens. Type a company name, and then click Add to add the company name to the list of names that the recipient's Company attribute must match to have this policy applied to them. If you add multiple entries, the recipient attribute must match only one entry to meet the filter conditions. Click OK to close the dialog box, and then click Next.

    4. On the E-mail Addresses page, click Add. In the SMTP E-mail Address dialog box, select the option under E-mail address local part that determines how the recipient's e-mail address alias will be generated.

    5. Click the Select the accepted domain for the e-mail address option, and then click Browse. In the Select Accepted Domain dialog box, select an accepted domain, and then click OK. Click OK again to close the SMTP E-mail Address dialog box. The e-mail address entry is displayed in bold type to indicate that it's now the primary, or reply to, address for the recipients to which this e-mail address policy applies.

    6. Click Next.

    7. On the Schedule page, select an option to specify when the e-mail address policy will be applied and the maximum length of time that the task is permitted to run.

    8. Click Next.

    9. On the New E-mail Address Policy page, click New to save the policy and apply it to affected recipients.

    10. On the Completion page, click Finish.

    Note:
    If a recipient meets the filter conditions of more than one e-mail address policy, the e-mail address policy that has the lowest number is set as the primary address. The e-mail address policy that has the lowest number is highest in the priority list. Any other e-mail address policies that also apply are set as secondary addresses.

Use the Shell to configure Exchange 2010 to accept e-mail for more than one domain

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Accepted domains" entry in the Transport Permissions topic and the "E-mail address policies" entry in the Mailbox Permissions topic.

  1. To create an authoritative accepted domain entry for each SMTP domain for which your Exchange organization will host recipient mailboxes, use the New-AcceptedDomain cmdlet. This example creates the authoritative domain FourthCoffee.com.

    Copy Code
    New-AcceptedDomain -Name "Fourth Coffee subsidiary" -DomainName FourthCoffee.com -DomainType Authoritative
    
  2. To change the primary e-mail address assigned to recipients and keep the existing e-mail address as a secondary address, use the Set-EmailAddressPolicy cmdlet to modify an existing e-mail address policy. If your default e-mail address policy sets recipient e-mail addresses to useralias@contoso.com, this example changes the primary (reply to) address to useralias@fourthcoffee.com and continues to use useralias@contoso.com as a secondary address.

    Copy Code
    Set-EmailAddressPolicy -Identity "Default Policy" -EnabledEmailAddressTemplates SMTP:@fourthcoffee.com,smtp:@contoso.com
    
    Note:
    If you type SMTP in all uppercase letters, this indicates the primary (reply to) address. If you type smtp in lowercase letters, this indicates the secondary address.
  3. To apply the new e-mail address policy to recipients, use the Update-EmailAddressPolicy cmdlet. This example applies the new e-mail address policy to recipients.

    Copy Code
    Update-EmailAddressPolicy -Identity "Default Policy"
    
  4. To create additional e-mail addresses that will be used as the primary e-mail address for a filtered set of recipients, use the New-EmailAddressPolicy cmdlet to create an e-mail address policy for each accepted domain that will be used as part of a recipient's e-mail address. This example creates an e-mail address policy for FourthCoffee.com, assigns that policy to the recipients in the Fourth Coffee department, and sets the highest priority for that e-mail address policy.

    Copy Code
    New-EmailAddressPolicy -Name "Fourth Coffee Recipients" -IncludedRecipients UserMailbox -ConditionalDepartment "Fourth Coffee" -Priority 1 -EnabledEmailAddressTemplates "SMTP:@fourthcoffee.com"
    
  5. To apply the new e-mail address policy to recipients, use the Update-EmailAddressPolicy cmdlet. This example applies the new e-mail address policy to the Fourth Coffee recipients.

    Copy Code
    Update-EmailAddressPolicy -Identity "Fourth Coffee Recipients"
    

For detailed syntax and parameter information, see the following topics: