Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-03-19
This topic explains how to use the Exchange Management Console or the Exchange Management Shell to configure Microsoft Exchange Server 2007 to accept e-mail for more than one authoritative Simple Mail Transfer Protocol (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:
- You are changing your SMTP domain name, but have to continue to
accept e-mail for the old domain name for a while. For example, you
can use this procedure in the following case:
- You change your organization name from companya to
companyb.
- You want to use companyb.com as your SMTP domain name
instead of companya.com.
- You change your organization name from companya to
companyb.
- You want to provision different e-mail addresses for business
units within your organization. For example, if the Contoso.com
forest contains subdomains for the subsidiaries Tailspin Toys and
Fourth Coffee, you may want to assign the SMTP domain names
Contoso.com, TailspinToys.com, and FourthCoffee.com to the
recipients in those respective business units.
- You provide e-mail hosting services and have to accept e-mail
for more than one SMTP domain name.
Before You Begin
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 how to configure an Exchange 2007 transport server to send and receive Internet e-mail, see How to Configure Connectors for Internet Mail Flow.
To perform the following procedures, the account you use must be delegated the Exchange Organization Administrator role.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.
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 is not subscribed, you must create accepted domains on both the Edge Transport server and the Hub Transport server. |
Important: |
---|
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. |
Procedure
To use the Exchange Management Console to configure Exchange 2007 to accept e-mail for more than one authoritative domain
-
Configure the accepted domain entry by following these steps:
- Open the Exchange Management Console. Expand the
Organization Configuration node, and then click Hub
Transport. Click the Accepted Domains tab in the results
pane.
- In the action pane, click New Accepted Domain… The
New Accepted Domain wizard appears.
- 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.
Click New. On the Completion page, click
Finish.
- Open the Exchange Management Console. Expand the
Organization Configuration node, and then click Hub
Transport. Click the Accepted Domains tab in the results
pane.
-
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:
- Open the Exchange Management Console. Expand the
Organization Configuration node, click Hub Transport.
Click the E-mail Address Policies tab in the results pane.
Select the e-mail address policy that you want to modify, click
Edit in the action pane.
- On the Introduction page, click Next.
- On the Conditions page, click Next.
- 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. In the
E-mail address domain field, use the drop-down menu to
select an accepted domain entry from the list. Click OK.
- 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 is now the primary,
or reply to, address for the recipients to which this e-mail
address policy applies. Click Next.
- 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.
- On the Edit E-mail Address Policy page, click
Edit to save the changes to the policy and apply it to
affected recipients.
- On the Completion page, click Finish.
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:
- In the action pane, click New E-mail Address Policy… The
New E-mail Address Policy wizard appears.
- On the Introduction page, type a name for the E-mail
Address Policy. Select an option under Include these recipient
types to determine to which recipient types this e-mail address
policy will be applied. Click Next.
- 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 in order 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.
- 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. In the
E-mail address domain field, use the drop-down menu to
select an accepted domain entry from the list. Click OK. The
e-mail address entry is displayed in bold type to indicate that it
is now the primary, or reply to, address for the recipients to
which this e-mail address policy applies. Click Next.
- 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.
- On the New E-mail Address Policy page, click New
to save the policy and apply it to affected recipients.
- 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. - Open the Exchange Management Console. Expand the
Organization Configuration node, click Hub Transport.
Click the E-mail Address Policies tab in the results pane.
Select the e-mail address policy that you want to modify, click
Edit in the action pane.
To use the Exchange Management Shell to configure Exchange 2007 to accept e-mail for more than one authoritative domain
-
Use the New-AcceptedDomain cmdlet to create an authoritative accepted domain entry for each SMTP domain for which your Exchange organization will host recipient mailboxes. For example, run the following command to create an authoritative domain called FourthCoffee.com.
Copy Code New-AcceptedDomain -Name "Fourth Coffee subsidiary" -DomainName FourthCoffee.com -DomainType Authoritative
-
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. For example, if your default e-mail address policy sets recipient e-mail addresses to useralias@contoso.com, run the following command to change the reply to address to useralias@fourthcoffee.com and continue 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 typesmtp
in lowercase letters, this indicates the secondary address. -
To apply the new e-mail address policy to recipients, run the following command.
Copy Code Update-EmailAddressPolicy -Identity "Default Policy"
-
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. For example, run the following command to create a new e-mail address policy for FourthCoffee.com, assign that policy to the recipients in the Fourth Coffee department, and set 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"
-
To apply the new e-mail address policy to recipients, run the following command.
Copy Code Update-EmailAddressPolicy -Identity "Fourth Coffee Recipients"
For More Information
For more information, see the following topics:
- New-AcceptedDomain
- New-EmailAddressPolicy
- New-SendConnector
- Managing
Accepted Domains
- Managing
E-Mail Address Policies
- How to
Create an E-Mail Address Policy
- How to
Create an E-Mail Address Policy By Using Recipient Filters
- Understanding Edge
Subscriptions
- Managing
Connectors
- Configuring
Cross-Forest Connectors