Exchange 2013 Initial Configuration Settings: Setting SMTP accepted domains (part1)

Exchange 2013 logo

Following on from previous posts on How to install Exchange 2013  SP1 and Exchange 2013 Initial Configuration Settings, in this first part of a series of posts I’ll look at setting the SMTP accepted domain.

By default when you install Exchange 2013 the default accepted domain will be the fully qualified domain name of the Active Directory domain you installed the server into.

In my demo environment the AD domain is, so the default accepted domain is Obviously we want to remove the ad part of the address to hide the internal ad structure and make the actual email address more useable, so let’s look at adding another accepted domain.

Exchange Admin Center - mail flow - accepted domains

1. In the Exchange admin center, initially accessible via https://localhost/ecp/ click mail flow from the left hand menu, and then click on accepted domains. I usually use Internet Explorer for making changes in the ECP to ensure no compatibility issues with other browsers.

Exchange Admin Center - mail flow - accepted domains full screen

2. Click the + symbol to create a new accepted domain. Type in a name and for the domain and the fqdn in the accepted domain. Select whether the domain is Authoritative, an Internal relay, or an External Relay domain, and click save.

Exchange 2013 - Accepted Domain - new accepted domainYou now have an new accepted domain.

The one thing you don’t see when setting up a new accepted domain and couldn’t see in the Exchange admin center image above is the default domain. Currently it is still set to the originally created accepted domain.

accepted domain -default domain3. To change the default domain highlight the new domain and then click the pencil icon (in the image above it is greyed out as no domains are selected). Put a tick in the check box, Make this the default domain, then click save.

Exchange 2013 - make this the default domainYou’ll now see the default domain has been changed.

Exchange 2013 - accepted domain -default domain changed

As you look through other posts on the site you’ll see there is a lot of PowerShell and Exchange PowerShell, so to perform the same steps above in PowerShell we’ll need to use the Exchange Management Shell and the following cmdlets, Get-AcceptedDomain, New-AcceptedDomain and Set-AcceptedDomain.

Remember in PowerShell to search for a command you can use Get-Command *domain* or GCM *domain* to list all the cmdlets that contain the word domain.

To view help you can use Get-Help before any command, and you can append -examples, -detailed, -full, -online for further information.

Get-Help Get-AcceptedDomain

Get-Help Get-AcceptedDomain

This shows us the accetped domains setup.


Will create a new accepted domain.

So to create as an accepted domain the command will be:

New-AcceptedDomain -DomainName -Name OxfordSBSGuy -DomainType Authoritative

New-AcceptedDomain -DomainName -Name OxfordSBSGuy -DomainType Authoritative

Can be used to configure an existing accepted domain.

To make the default domain we’ll use the command:

Set-AcceptedDomain -Identity OxfordSBSGuy -MakeDefault $true

Set-AcceptedDomain -Identity OxfordSBSGuy -MakeDefault true

So you can now setup accepted domains in the Exchange admin center and in PowerShell.

In the next part of the series we’ll look at how to configure email address policies so we can define how email addresses are assigned to new recipients.

For the other articles in this series please go to:


Leave a Reply

Your email address will not be published. Required fields are marked *