Creating and Managing Accepted Domains


An accepted domain is any SMTP namespace for which an Exchange organization sends or receives e-mail. Accepted domains include those domains for which the Exchange organization is authoritative, as well as those domains for which the Exchange organization relays mail.

Understanding Accepted Domains, Authoritative Domains, and Relay Domains

An organization may have more than one SMTP domain. The set of e-mail domains that your organization uses are its authoritative domains. An accepted domain is considered authoritative when the Exchange organization hosts mailboxes for recipients in this SMTP domain. Transport servers should always accept e-mail that is addressed to any of the organization's authoritative domains. By default, when you install the first Hub Transport server, one accepted domain is configured as authoritative for the Exchange organization, and this default accepted domain is based on the FQDN of your forest root domain.

In many cases, an organization's internal domain name may differ from its external domain name. You must create an accepted domain to match your external domain name. You must also create an e-mail address policy that assigns your external domain name to user e-mail addresses. For example, your internal domain name may be cpandl.local, while your external domain name is http://cpandl.com. When you configure DNS, the DNS MX records for your organization will reference http://cpandl.com, and you will want to assign this SMTP namespace to users by creating an e-mail address policy.

When e-mail is received from the Internet by a Transport server and the recipient of the message is not a part of your organization's authoritative domains, the sending server is trying to relay messages through your Transport servers. To prevent abuse of your servers, Transport servers reject all e-mail that is not addressed to a recipient in your organization's authoritative domains. However, there are times when you may need to relay e-mail from another domain, such as e-mail from a partner or subsidiary. In this case, you can configure accepted domains as relay domains. When your Transport servers receive the e-mail for a configured relay domain, they will relay the messages to an e-mail server in that domain.

You can configure a relay domain as an internal relay domain or as an external relay domain. You configure an internal relay domain when there are contacts from the relay domain in the global address list. If your organization contains more than one forest and has configured global address list synchronization, the SMTP domain for one forest may be configured as an internal relay domain in a second forest. Messages from the Internet that are addressed to recipients in internal relay domains are received and processed by your Edge Transport servers. They are then relayed to your Hub Transport servers, which, in turn, route the messages to the Hub Transport servers in the recipient forest. Configuring an SMTP domain as an internal relay domain ensures that all e-mail addressed to the relay domain is accepted by your Exchange organization.

You configure an external relay domain when you want to relay messages to an e-mail server that is both outside your Exchange organization and outside the boundaries of your organization's network perimeter. For this configuration to work, your DNS servers must have an MX record for the external relay domain that references a public IP address for the relaying Exchange 2007 organization. When your Edge Transport servers receive the messages for recipients in the external relay domain, they route the messages to the mail server for the external relay domain. You must also configure a Send connector from the Edge Transport server to the external relay domain. The external relay domain may also be using your organization's Edge Transport server as a smart host for outgoing mail.

Viewing Accepted Domains

You can view the accepted domains configured for your organization by completing the following steps:

  1. In Exchange Management Console, expand the Organization Configuration node, and then select the Hub Transport node.

  2. On the Accepted Domains tab, accepted domains are listed by name, SMTP domain name, and domain type. The domain type is listed as Authoritative, External Relay, or Internal Relay.

You can use the Get-AcceptedDomain cmdlet to list accepted domains or to get information on a particular accepted domain as well. If you do not provide an identity with this cmdlet, configuration information for all accepted domains is displayed. Sample 15-22 provides the syntax and usage, as well as sample output, for the Get-Accepted-Domain cmdlet.

Sample 15-22: Get-AcceptedDomain cmdlet syntax and usage

image from book
 Syntax Get-AcceptedDomain [-Identity 'DomainIdentity'] Usage Get-AcceptedDomain -Identity 'http://cpandl.com' Output Name            DomainType              Default ----            ----------              ------- http://cpandl.com      Authoritative           True 
image from book

Creating Accepted Domains

You can create accepted domains for your organization by completing the following steps:

  1. In Exchange Management Console, expand the Organization Configuration node, and select the Hub Transport node.

  2. On the Accepted Domains tab, right-click an open area of the details pane, and then select New Accepted Domain. This starts the New Accepted Domain wizard, as show in Figure 15-4.

    image from book
    Figure 15-4: Create a new accepted domain.

  3. On the New Accepted Domain page, use the Name text box to identify the accepted domain. You can use a descriptive name that identifies the purpose of the accepted domain or simply enter the actual SMTP domain name.

  4. In the Accepted Domain text box, type the SMTP domain name for which the Exchange organization will accept e-mail messages. If you want to accept e-mail for the specified domain only, enter the full domain name, such as http://cpandl.com. If you want to accept e-mail for the specified domain and child domains, type *(a wildcard character), then a period, and then the domain name, such as http://*.cpandl.com.

    Note 

    Only domain names you specify can be used as part of an e-mail address policy. Because of this, if you want to use a subdomain as part of an e-mail address policy, you must either explicitly configure the subdomain as an accepted domain or use a wildcard character to include the parent domain and all related subdomains.

  5. Select one of the following options to set the accepted domain type:

    • q Authoritative Domain. E-Mail Is Delivered To A Recipient In This Exchange Organization

    • q Internal Relay Domain. E-Mail Is Relayed To An E-Mail Server In Another Active Directory Forest In The Organization

    • q External Relay Domain. E-Mail Is Relayed To An E-Mail Server Outside The Organization By The Edge Transport Server

  6. Click New to create the accepted domain.

  7. On the Completion page, click Finish.

In Exchange Management Shell, you can use the New-AcceptedDomain cmdlet to create accepted domains. Sample 15-23 provides the syntax and usage.

Sample 15-23: New-AcceptedDomain cmdlet syntax and usage

image from book
 Syntax New-AcceptedDomain -Name 'Name'  -DomainName 'DomainName'  -DomainType: <'Authoritative'|'InternalRelay'|'ExternalRelay'> Usage new-AcceptedDomain -Name 'Relay to http://Cohowinery.com'  -DomainName 'http://*.cohowinery.com'  -DomainType 'InternalRelay' 
image from book

Changing the Accepted Domain Type and Identifier

You can change an accepted domain's type and identifier by completing the following steps:

  1. In Exchange Management Console, expand the Organization Configuration node, and select the Hub Transport node.

  2. On the Accepted Domains tab, right-click the accepted domain you want to change, and then select Properties.

  3. In the Properties dialog box, enter a new identifier, use the options provided to change the accepted domain type as necessary, and then click OK.

In Exchange Management Shell, you can use the Set-AcceptedDomain cmdlet to modify accepted domains. Sample 15-24 provides the syntax and usage. Use the Address-BookEnabled parameter to enable recipient filtering for this accepted domain. You should set this parameter to $true only if all the recipients in this accepted domain are replicated to the ADAM database on the Edge Transport servers. For authoritative domains and internal relay domains, the default value is $true. For external relay domains, the default value is $false.

Sample 15-24: Set-AcceptedDomain cmdlet syntax and usage

image from book
 Syntax Set-AcceptedDomain -Identity 'AcceptedDomainIdentity'  [-Name 'Name']  [-DomainType <'Authoritative'|'InternalRelay'|'ExternalRelay'>]  [-AddressBookEnabled <$true | $false>]  [-MakeDefault <$true | $false>] Usage Set-AcceptedDomain -Identity 'Relay to http://Cohowinery.com'  -DomainType 'ExternalRelay' 
image from book

Removing Accepted Domains

You can remove an accepted domain that is no longer needed by completing the following steps:

  1. In Exchange Management Console, expand the Organization Configuration node, and select the Hub Transport node.

  2. On the Accepted Domains tab, right-click the accepted domain you want to remove, and then select Remove.

  3. When prompted to confirm, click Yes.

In Exchange Management Shell, you can use the Remove-AcceptedDomain cmdlet to remove accepted domains. Sample 15-25 provides the syntax and usage.

Sample 15-25: Remove-AcceptedDomain cmdlet syntax and usage

image from book
 Syntax Remove-AcceptedDomain -Identity 'AcceptedDomainIdentity' Usage Remove-AcceptedDomain -Identity 'Relay to http://Cohowinery.com' 
image from book




Microsoft Exchange Server 2007 Administrator's Pocket Consultant
Microsoft Exchange Server 2007 Administrators Pocket Consultant Second Edition
ISBN: 0735625867
EAN: 2147483647
Year: 2007
Pages: 119

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net