Tags

, , ,


Well we have seen in the previous article how to build a trust between two windows server 2003 forests. In this article we are going to cover rest of the topic which is how the mail flow working between two exchange organization.

Requirements:

  • Send connectors
  • Receive connectors
  • MX record or Smart host

Send Connectors:

Send connectors are configured on computers that are running Microsoft Exchange Server 2010 and that have the Hub Transport server role or Edge Transport server role installed. The Send Connector represents a logical gateway through which outbound messages are sent.

More ref: http://technet.microsoft.com/en-us/library/aa998662.aspx

Steps to create a Send Connector: (creating on MyLab02.com)

Open EMC –> Organization Configuration –> Hub Transport –> Click New Send Connector in Action pane

give target organization name–>Click Next–>

In this case we are accepting all the domains which are under the MyLab01.com namespace –>Click Next

Choose “Use domain name system (DNS) “MX” records to route mail automatically” since

We are going to use MX record to route the mail between two organization–> Click Next

Add your all Hub servers here, all three roles installed on EXCH-2K10 here –>Click Next

Finish. We have successfully created a New Send Connector on MyLab02.com and the same I’ve done for MyLab01.com

The below picture shows send connector created for MyLab02.com on MyLab01.com

The below picture shows send connector created for MyLab01.com on MyLab02.com

Receive Connectors:

Receive connectors are configured on computers that are running Microsoft Exchange Server 2010 and that have the Hub Transport server role or Edge Transport server role installed. Receive connectors represent a logical gateway through which all inbound messages are received

More ref: http://technet.microsoft.com/en-us/library/aa996395.aspx

Modify permission on Receive Connector: (on MyLab01.com)

Here we are going to edit the permission of Default receive connector which was created by the server when it is installed.

Open EMC –> Server Configuration –> Hub Transport –> Right click on Default EXCH-2K7 –> Properties

Click Permission Groups –> check on Anonymous users–>

Apply –> Ok . I’ve done this same for EXCH-2K10.

To more about how Anonymous users relay works please refer below article:

http://www.shudnow.net/2008/08/21/how-anonymous-relay-works-in-exchange-2007/

MX record Creation:

“Mail exchange” is just another name for the machine whose primary function is receiving and sending email. Also known as mailhost, mailhub, or even postoffice, this machine usually has a mail server (software written specifically for distributing files) listening on port 25 to receive incoming email.

Steps to create a MX record:

Start–> Run –> dnsmgmt.msc–> Expand the DNS server –> Expand the Forward lookup zone–> Right Click on domain name –> new Mail Exchanger(MX)

Browse and choose your exchange server which is exch-2k7-64 here.

To verify whether you have created successfully use nslookup to confirm as shown in the picture below:

You can see here we are able to resolve our mail exchanger. I’ve also created MX record on MyLab02.com domain.

Below figure shows we are able to resolve the Mail Exchanger on MyLab01.com for its own domain and target domain(MyLab02.com here).

Below figure shows we are able to resolve the Mail Exchanger on MyLab02.com for its own domain and target domain(MyLab01.com here).

Now we have completed all our requirements to flow mails between two org. Let send a test mail to confirm the same.

Below is the test mail from MyLab02 domain:

Below is the test mail from MyLab01 domain:

Woo.. at last both side mail flow is working fine. I hope you would have enjoyed reading this, please provide your valuable comments.

Advertisements