exchange 2016

How to Add or Remove SMTP Alias to Exchange 2016 Mailbox


Sometimes you need to add another email address to the existing user. In Exchange, in addition to the primary address, each mailbox can be assigned to several additional ones (called aliases or proxy addresses). In Active Directory, additional aliases are stored in the recipient’s multi-valued attribute named proxyAddresses. Proxy addresses allow user to receive mail sent to different addresses. Any email sent to the user’s proxy address is delivered to the primary e-mail address mailbox, called the default response address.

For example, we need to assign a user with the primary SMTP address JunminH@contoso.com a shorter name (surname) alias address — hao@contoso.com.

In Exchange Server 2016 you can add an additional SMTP alias to the user using the Exchange Admin Center or the Exchange Management Shell.

To add an SMTP alias to a user using EAC, follow these steps:

  1. Select Recipients -> Mailboxes;
  2. In the list of users, select the desired user and double-click on it (or press on the pencil icon);
    exchange admin center alias
  3. Click on the Email address tab and press +;
  4. In the Email address field enter a new alias email address (hao@contoso.com);
    exchange email SMTP
  5. Press OK -> Save.

Also you can manage SMTP aliases by using the PowerShell console. Run the Exchange Management Shell with Administrator privileges. For example, you can display the list of a SMTP aliases and the primary address for the junminh mailbox using this command:

Get-Mailbox junminh | fl EmailAddresses, PrimarySmtpAddresses

email address exchange

You can change SMTP addresses associated with the mailbox by using the Set-Mailbox cmdlet with the EmailAddresses parameter, but there is one subtlety here. The fact is that EmailAddresses is a multi-valued attribute, so to add addresses to the list, you need to use the add method, for example:

Get-Mailbox junminh | Set-Mailbox -EmailAddresses @{add=”hao@contoso.com","junminh@contoso.local",”manager@contoso.com”}

get email address exchange

Accordingly, you can remove proxy addresses by using the remove method, for example:

Get-Mailbox junminh | Set-Mailbox -EmailAddresses @{remove="manager@contoso.com"}

And one more way to change addresses! This method works somewhat differently — it completely removes the original list and replaces it with the specified one. For example:

Get-Mailbox junminh | Set-Mailbox -EmailAddresses SMTP:junminh@contoso.local, manager@contoso.com

If you have many users whom you need to assign a new SMTP aliases, you need to create .csv file of the following kind (comma delimited):

READ ALSO  Windows Server 2012 Mailbox Role Process Execution Failed Exit Code 15010

proxyaddresses,mail
jsmith@contoso.com,john@contoso.com
kabrams@contoso.com,ken@contoso.com

And run the following command in the Powershell console:

Import-Csv -Path "C:\PS\user_proxyadresses.csv" | ForEach-Object { Set-Mailbox $_."mail" -EmailAddresses @{Add=$_."proxyaddresses"} }

PowerShell commands that is described above work on Exchange 2010, 2013 and 2016.


You may also like:

Migrate email to Office 365 using WHM If you are like me, then you are simply wanting to migrate your email over to Microsoft Office 365 to take advantage of Exchange. Me and my colleague ...
Add Calendar Permissions in Office 365 via Powersh... This is a tutorial on how to add calendar permissions in Office 365 for your users via Powershell. You can add permissions onto a specific mailbox, or...
Add An Out Of Office Message In Outlook for A Diff... Did an employee just leave for vacation and forget to do something? Below the instructions will show you how to add an out of office message in Outloo...
Grant Full Access to All Mailboxes in Exchange 200... This is a short tutorial on how to add full access to all mailboxes in Exchange 2007 and 2010 for a an additional user. This can come in handy when sa...
Windows Server 2012 Mailbox Role Process Execution... If you are trying to install Exchange 2010 on Windows Server 2012 and are receiving the error "Mailbox Role Process Failed.... Process execution faile...