Changing the Accepted Domain Type and Identifier
You can change an accepted domain's type and identifier by completing the following steps:
-
In the Exchange Management Console, expand the Organization Configuration node, and select the Hub Transport node.
-
On the Accepted Domains tab, right-click the accepted domain you want to change, and then select Properties.
-
In the Properties dialog box, shown in Figure 3, enter a new identifier, use the options provided to change the accepted domain type as necessary, and then click OK.
In the Exchange Management Shell, you can use the Set-AcceptedDomain cmdlet to modify accepted domains. Example 3
provides the syntax and usage. Use the –AddressBookEnabled 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 AD LDS 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.
Example 3. Set-AcceptedDomain cmdlet syntax and usage
Syntax
Set-AcceptedDomain -Identity AcceptedDomainIdentity
[-AddressBookEnabled <$true | $false>] [-DomainController DCName
]
[-DomainType <Authoritative|InternalRelay|ExternalRelay>]
[-MakeDefault <$true | $false>] [-Name Name
]
Usage
Set-AcceptedDomain -Identity "Relay to Cohowinery.com"
-DomainType "ExternalRelay"
Removing Accepted Domains
You can remove an accepted domain that is no longer needed by completing the following steps:
-
In the Exchange Management Console, expand the Organization Configuration node, and select the Hub Transport node.
-
On the Accepted Domains tab, right-click the accepted domain you want to remove, and then select Remove.
-
When prompted to confirm, click Yes.
In the Exchange Management Shell, you can use the Remove-AcceptedDomain cmdlet to remove accepted domains. Example 4 provides the syntax and usage.
Example 4. Remove-AcceptedDomain cmdlet syntax and usage
Syntax
Remove-AcceptedDomain -Identity AcceptedDomainIdentity
[-DomainController DCName
]
Usage
Remove-AcceptedDomain -Identity "Relay to Cohowinery.com"