Nobody likes to see the Exchange Server sending spam. If you have never seen this…
How to add an accepted domain in Exchange Server, and why do you want to configure accepted domains in Exchange? If you don’t set up an accepted domain in Exchange, you can’t receive emails to that domain. In this article, you will learn how to add an accepted domain in Exchange Server.
Table of contents
Introduction to accepted domain
Accepted domains are the SMTP namespaces, also known as address spaces. You configure the domain in the Exchange organization to receive email messages.
In our example, we registered the domain exoip.com. Next, we configured a mail exchanger (MX) record in public DNS for exoip.com. Now we need to configure exoip.com as an accepted domain in the Exchange organization to accept messages addressed to @exoip.com recipients.
Add accepted domain in Exchange Admin Center
Sign in to Exchange Admin Center as administrator or with an account with the privileges to create the accepted domain in Exchange.
Navigate to mail flow > accepted domains. Click the + icon.
Fill in the Name field and Accepted domain field. Click Save.
Note: You can’t make the domain as default when creating a new domain. You have to make the domain as default after you create the new accepted domain.
In our example, it’s the domain exoip.com.
Click on the domain that you added. Click the edit icon.
Select Make this the default domain checkbox. Click the Save button.
Confirm that the domain shows as default.
Do you like to configure an accepted domain with PowerShell? Read more in the next step.
Add accepted domain with PowerShell
[PS] C:\>New-AcceptedDomain -Name "exoip.ai" -DomainName "exoip.ai" -DomainType Authoritative | Set-AcceptedDomain -MakeDefault $true
If you like to add a new accepted domain without making it default, remove the Set-AcceptedDomain cmdlet.
[PS] C:\>New-AcceptedDomain -Name "exoip.ai" -DomainName "exoip.ai" -DomainType Authoritative Name DomainName DomainType Default ---- ---------- ---------- ------- exoip.ai exoip.ai Authoritative False
Get accepted domains with PowerShell
Sometimes you want to get a list of the accepted domains. What is a better way than using PowerShell? Run the Get-AcceptedDomain cmdlet.
[PS] C:\>Get-AcceptedDomain Name DomainName DomainType Default ---- ---------- ---------- ------- exoip.local exoip.local Authoritative False exoip.com exoip.com Authoritative True exoip.ai exoip.ai Authoritative False
Keep reading: Add second domain to Exchange Server »
You learned how to add an accepted domain in Exchange Server. Do you like to make the domain as default? Add the domain first. After that, edit the domain and make the domain as default.
Did you enjoy this article? You may also like Setup SPF record for Exchange Server. Don’t forget to follow us and share this article.