Lets see how to create a relay connector (Anonymous relay) in Exchange 2013.
What is relay in simple terms –
Email relaying is using an email server to send email that did not originate on the
Most Commonly used for fax servers, CRM , Email Routing from different forests etc..
Step 1 –
Login to Exchange Control Panel . https://servername/ecp
Step 2 –
Its highly recommended not to touch the default connectors . Or Create any connector on the Hub Transport role
Choose the + Sign
Step 3 –
Enter a Friendly Name , Choose the role “Front End Transport”
Choose Type Custom
Frequent Exchange Admin Mistakes –
Step 4 –
Leave this part Unchanged ,
Step 5 –
Take off the full range , Assign the application IP which needs access to relay through this mail server.
Click Finish and get the connector Created
Step 6 –
Now open the properties of connector – (Just double click on it )
Or Use Powershell –
New-ReceiveConnector -Name "Relay" -RemoteIPRanges ("10.128.57.2","10.128.57.3") -TransportRole "FrontendTransport" -Bindings ("0.0.0.0:25") -Usage "Custom" -Server "Exch2013A.azure365pro.com"
Set-ReceiveConnector -Identity "Servername\Relay" -PermissionGroups "AnonymousUsers"
Step 7 –
To Complete this task . you got to allow to accept anonymous connections in the connector.
One Exchange Management Shell – Run
Get-ReceiveConnector "Relay Connector Name" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
For Example –
Get-ReceiveConnector "ServerName\RelayConnectorname" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
Now that Application will be able to relay through Exchange 2013 with ease.
Hey thanks for sharing Satheshwaran; that begins my lessons apart from Admin now
We set-up with database server. we have two server one with server 2012R2 and exchange 2016 CAS/MBX role and one with SQL 2014 database. we set-up front end Transport Server relay to our database server test it. all connected okay now our database server can send external email from relay connector.
any more info need please drop a email. info only available for IT Pros.
Dundee Computer Care