24.2 C
Dubai
Friday, March 29, 2024

How to Create anonymous relay Connector in Exchange 2010

A.com and B.com

We had to migrate few Exchange servers of A.com to different location , So we had to change the Public IP , and Public DNS replication didn’t work as expected due to a SQL database issue in our Public DNS servers.

So Our new public IP of A.com has been black listed , We didn’t have time to white list all of them and even after whitelisting some banking domains keep on rejecting our new public IP of A.com.

We decided to relay the emails on another exchange server in a different domain B.com,  so that production is up and mail is flowing smoothly.

So lets see how to create a relay connector in the B.com Exchange server

Goal – A.com will relay emails using B.com Exchange Server

Logged into B.com Server

Server Configuration – Hub Transport – New Receive Connector

image

Type a Friendly name – Choose Custom

image

Choose Next

image

Please take off All IP range . So that your Server don’t act as open Relay,

Specify an remote IP of A.com , so that B.com Server remains secured

image

Choose New to Get the Connector Created

image

Now, Right Click on the Relay Connector you Created . Make Sure Transport Layer Security (TLS) is checked

image

Make sure anonymous users are checked

image

Now add the required Ad permission using the below command .

Open Exchange Management Shell and Run

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

Now Relaying Server is ready , As it will accept emails from A.com .

Now Redirect the A.com mail flow via B.com Server

Logging into A.com Server

Organization Configuration – Hub Transport – Send Connectors

Open the Internet Connector – Enter the Remote ip of B.com Server

(Restart Transport Service if required)

image

Now A.com Emails are Relaying via B.com Server.

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?