24 C
Dubai
Monday, November 18, 2024

How to Configure a Relay Connector for Exchange Server 2013

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
email server.

Most Commonly used for fax servers, CRM , Email Routing from different forests etc..

Step 1 –

Login to Exchange Control Panel . https://servername/ecp

image

Step 2 –

Its highly recommended not to touch the default connectors . Or Create any connector on the Hub Transport role

Choose the + Sign

image

Step 3 –

Enter a Friendly Name , Choose the role “Front End Transport”

Choose Type Custom

 

image

Frequent Exchange Admin Mistakes –

https://www.azure365pro.com/exchange-2013-transport-service-is-not-starting1067-error/

Step 4 –

Leave this part Unchanged ,

image

Step 5 –

Take off the full range , Assign the application IP which needs access to relay through this mail server.

image

Click Finish and get the connector Created

Step 6 –

Now open the properties of connector – (Just double click on it )

image

 

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.

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

2 COMMENTS

  1. Hi
    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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?