You want to create mailboxes in Exchange Online and use Office 365. Before you can…
Create email address policy Exchange 2016
In our previous article, we created a send connector in Exchange 2016. Our next step is to create an email address policy in Exchange 2016. An email address is required for emails to be sent and received by a recipient. In this article, you will learn how to create email address policy with Exchange Admin Center and with PowerShell.
Table of contents
Configure email address policy in Exchange Server 2016
Log into the Exchange Admin Center (EAC). Click in the left menu on mail flow and follow with email address policies. When installing Exchange Server 2016, a default email address policy is created by default. Click the + icon to add new email address policy.
Give the policy a name. When done, click the + icon to add the email address format.
Select an accepted domain. You will not see the accepted domain if you have it not configured. Read the article Add accepted domain in Exchange 2016. Click the email address format John.Smith@contoso.com. That’s because we like to have the email addresses showing as First.Lastname@domain.com. Click Save.
The email address format is added. Keep the rest as default. Click Save.
A warning message is showing: The policy isn’t active yet. Click Apply in the details pane to apply this email address policy. Click OK.
Click the policy that you created. Click Apply in the right panel.
A warning message shows up that it will may take a long time. Click Yes.
The email address policy was applied. Click Close.
Verify email address policy has been applied
Go to mail flow and click email address policies. Click the policy that you configured in the earlier step. In the right panel, you can confirm if this email address policy has been applied.
Go to recipients and click mailboxes. Click a user mailbox and click the edit icon.
Click the email address in the left pane and confirm that you see the type SMTP and email address First.Lastname@domain.com.
Create email address policy Exchange 2016 with PowerShell
Let’s speed it up and do the same as we did in the previous step, but this time with PowerShell. Run Exchange Management Shell as administrator. Make use of the New-EmailAddressPolicy cmdlet and Update-EmailAddressPolicy cmdlet.
1 2 3 4 5 6 7 8 |
[PS] C:\>New-EmailAddressPolicy -Name "Exoip Main Policy" -IncludedRecipients "AllRecipients" -Priority "1" -EnabledEmailAddressTemplates "SMTP:%g.%s@exoip.com" Name Priority RecipientFilter ---- -------- --------------- Exoip Main Policy 1 Alias -ne $null [PS] C:\>Update-EmailAddressPolicy -Identity "Exoip Main Policy" |
Let’s get the configured email address policies in Exchange Server.
1 2 3 4 5 6 |
[PS] C:\>Get-EmailAddressPolicy Name Priority RecipientFilter ---- -------- --------------- Default Policy Lowest Alias -ne $null Exoip Main Policy 1 Alias -ne $null |
Conclusion
To sum it up, you learned how to create email address policy Exchange 2016. This can be done with Exchange Admin Center and PowerShell. Make sure that you did add an accepted domain before creating an email address policy. As of last, don’t forget to apply the policy. More information regarding email address policies in Exchange Server can be found at Microsoft Docs.
Did you enjoy this article? If so, you may like Whitelist domain in Office 365 to bypass SPAM filtering. Don’t forget to follow us and share this article.
This Post Has 0 Comments