How to Allow Mail Relay on Exchange 2016

December 27, 2016 at 8:48 am Leave a comment

Hi All

Being an Exchange Administrator you would often come across requirements to allow mail relay from Internal Application or Some Appliances in order to send emails alerts through your Exchange Server. In this case you need to do the below;

  • Create a New Receive Connector with any name E.g: Anonymous  Relay
  • Select the Role as FrontEnd Transport
  • Select the Usage Type as Custom
  • Leave the bindings as default.
  • In the Remote IP addresses that are allowed to use this connector enter the IP addresses of your appliance of application server which wants to use the Exchange for Mail Relay

Once the above steps are done , you need to run the below PS Commands:

  • Set-ReceiveConnector "Anonymous Relay" -PermissionGroups AnonymousUsers
  • Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

Source1 :


UPDATE:1  With Exchange 2016 CU3 you will not be able to create this connector through the ECP , thus you need to use the below PS commands:


New-Receiveconnector -Name “Mail Relay” -RemoteIPRange (“Remote IP “) -TransportRole “FrontendTransport” -Bindings (“”) -usage “Custom” -Server “Exchange Server Name”




Entry filed under: Exchange and O365. Tags: , , , .

How to import Users to Windows 2012 Active Directory using PowerShell Virtualized Domain Controller Nightmare on Nutanix Hyper-V Cluster

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Trackback this post  |  Subscribe to the comments via RSS Feed



Follow Hope you like it.. on

Blog Stats

  • 68,230 hits

%d bloggers like this: