Pages

Friday, January 20, 2012

Configuring multiple E-mail domains in exchange 2010

We can configure Microsoft Exchange Server 2010 to accept e-mail for more than one SMTP domains. In this article I will show you how to configure the accepted domains and how to create the new email address policy for the new e-mail domain

Scenarios:-

  • Your Company has different independent business units and the each of them need different e-mail domains; company management doesn’t want to spend money for this.
  • You Providing the email hosting service and have to accept e-mail for more than one SMTP domain name

Prerequisites

  • A public 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.
  • Send and Receive connectors should be configured, so that the Exchange organization can send e-mail to and receive e-mail from the Internet.

There are two steps to configure exchange 2010 to accept e-mail for more than one SMTP domains. The initial step is configuring the accepted domain and the second one is create or modify the email policy.

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

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

In the action pane, click New Accepted Domain, or right-click and select the New Accepted Domain from the Accepted Domains tab. Then the New Accepted Domain wizard appears.

1

Figure: 1

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 to create the Accepted Domain.

2

Figure: 2

Now you can see that the Authoritative Accepted Domain shareef.info has been created and listed in the Accepted Domain tab

3

Figure: 3

Now we need to configure the email address policy for the newly created authoritative domain. To do this either we can create new email address policy or edit the existing email address policy. I prefer to create the new email address policy.

To create the new email address policy expand the Organization Configuration node, and then click Hub Transport. In the results pane, click the E-mail Address Policies tab.

In the action pane, click New E-mail Address Policy or right-click and select the New E-Mail Address Policy from the E-mail Address Policies tab.

4

Figure: 4

Type a name for the e-mail address policy in this example its @shareef.info. 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, in this example I choose Users with Exchange Mailbox, you can select this option as per your exchange environment. Click Next.

5

Figure: 5

If you want to specify any condition for this policy specify the same. In this example I prefer not to specify any condition. Click Next to continue.

6

Figure: 6

On the E-mail Addresses page, click Add to specify the domain for the E-mail Address and the E-mail address local part.

7

Figure: 7

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.

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, in this example its shareef.info and then click OK. Click OK again to close the SMTP E-mail Address dialog box.

8

Figure: 8

Click Next to continue.

9

Figure: 9

In 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. I am choosing immediately.

Click Next.

10

Figure: 10

Click New to create the new E-Mail Address Policy

11

Figure: 11

The New E-Mail Address Policy task has been completed successfully. Click Finish to exit the wizard.

12

Figure: 12

In this screenshot you can see the new email address policy has been applied.

14

Figure: 13

PowerShell commands for configuring the Exchange 2010 to accept e-mail for more than one domain

To create the New Authoritative Accepted Domain

New-AcceptedDomain -Name “blog.shareef.info” -DomainName shareef.info -DomainType Authoritative

To create the New E-Mail Address Policy

New-EmailAddressPolicy -Name “@shareef.info” -IncludedRecipients UserMailbox -ConditionalDepartment “Fourth Coffee” -Priority 1 -EnabledEmailAddressTemplates “SMTP:@fourthcoffee.com”

To apply the New E-Mail Address Policy to the recipients

Update-EmailAddressPolicy -Identity “@shareef.info”

Source

http://blog.shareef.info/2010/06/02/configuring-multiple-e-mail-domains-in-exchange-2010/

http://technet.microsoft.com/en-us/library/aa996314.aspx

No comments: