RouteBySender for Microsoft Exchange 2007/2010

Updated: 14-March-2014

Exchange 2007/2010 natively does not provide any option on the Send Connectors or Transport rules to set sender based routing. RouteBySender application allows you to route outgoing emails based on sender group membership or based on the combination of the sender's and recipient's domains.

Typical scenario of usage

Let's assume that your Exchange 2007/2010 server has only one send connector "Internet Connector" using DNS for the address space *. All messages leaving the organization will use this connector. Let's further assume that you want to route messages from members of a certain group to a smarthost instead of using DNS. RouteBySender utility will help you to solve this problem.

Also this program can help if you have a requirement for some users to send their mail to a specifc smart host to get delivered across a secure network.

It might be useful for local authorities needed to comply with strict mail routing rules for COCO and Government Connect policies to run this utility.

The application is a transport agent for Exchange server.

Current version: 1.0.0.16

Installation

On your Exchange 2007/2010 Hub Transport Server computer:

Select (or create) a user account that is a member of the local Administrators, Domain Admins and Domain Users security groups.

Extract all files. If you are running Exchange 2007 SP3, navigate to "RouteBySender for Exchange 2007SP3" folder. If you are running Exchange 2010 SP3, navigate to "RouteBySender for Exchange 2010SP3" folder.

Run RouteBySenderSetup.exe. Click Install button [1]. Make sure that RouteBySender is appeared in the list of Transport agents [2]. Click Enable button [3]. Make sure that Running mark is in the status line [4]. Click Exit button to close the program.

Expand Organization Configuration and select Hub Transport &GT; Send Connectors. In the action pane, click New Send Connector. The New SMTP Send Connector wizard will start.
Place TESTROUTEBYSENDER to the Name: field. In the Select the intended use for this connector: field, select Custom. Click Next.

Click Add or the drop-down arrow located next to Add and select SMTP Address Space. In the SMTP Address Space dialog box add TESTROUTEBYSENDER to the Address: field.IMPORTANT: you have to specify a non-existing domain name (e.g. TESTROUTEBYSENDER) as address space of this connector.PLEASE DO NOT PLACE ASTERICKS AND POINTS (e.g. *.TESTROUTEBYSENDER) THERE!Click OK. Click Next.

On the Network settings page, select "Route all mail through the following smart hosts" radio button (We do not recommend to set "Use Domain name system..." option here). Click Add. In the Add Smart Host dialog box, select IP Address or Fully qualified domain name (FQDN) to specify how to locate the smart host. Click OK. Click Next.

Test the send connector you have just created. To do that run Exchange Management Console and navigate to TESTROUTEBYSENDER send connector. Right-click and select Properties. Select "Address Space" tab. Select TESTROUTEBYSENDER, click Edit and set the address space to yahoo.com. Click OK, then Apply, then OK and close Exchange Management Console. Now try to send a test e-mail to anyaddressyoucancontrol@yahoo.com. Make sure it is delivered properly. After that return the address space back to TESTROUTEBYSENDER.

Testing

Let's assume that your default SMTP address is jdoe@domain.com.

Run RouteBySenderSetup.exe. Click "Add" button in the second frame [1]. "RouteBySender setup - Add New rule" window will appear. Place domain.com to "If Sender's E-mail domain is:" field and * to "and Recipient's E-mail domain is:" field[2]. Click Browse button [3]. "RouteBySender setup - Send Connectors" will appear. Select TESTROUTEBYSENDER from the "Send Connectors" list. Click OK to close the window. Make sure that the first field in "Use this Send Connector" frame is populated with TESTROUTEBYSENDER [4].

Click OK to save changes [5].

Open Outlook and create a new e-mail message to any external address. Send this message. Make sure that messages is routed to smarthost associated with TESTROUTEBYSENDER Sender connector.

Run the Exchange Management Console and navigate to Recipient Configuration > Distribution Group. Create a new distribution group named TestDistrGroup1 and add yourself into this group.

Run RouteBySenderSetup.exe and clear all items in the second frame by clicking "Delete All" button [1]. Click "Add" button in the third frame [2].

"RouteBySender setup - Add new rule" window will appear. Click Browse button in "If sender is a member of this group:" frame [1]. "RouteBySender setup - Add groups" will appear. Select TestDistrGroup1 from the list. Make sure you are a member if this group by clicking Members button. Click OK to close the window. Make sure that the one-row table in the first frame is now populated with TestDistrGroup1 data [2]. Now click Browse button in "Use this Send Connector:" frame [3]. "RouteBySender setup - Send Connectors" will appear. Select TESTROUTEBYSENDER from the "Send Connectors" list. Click OK to close the window. Make sure that the topmost field in "Use this Send Connector" frame is populated with TESTROUTEBYSENDER [4].

Click OK to save changes [5].

Open Outlook again and create a new e-mail message to any external address. Send this message. Make sure that messages is routed to smarthost associated with TESTROUTEBYSENDER Sender connector.

Run RouteBySenderSetup.exe. Click Uninstall button. Make sure that RouteBySender is not in the list of Transport agents. Click Exit button to close the program.

About this demo version.

RouteBySender demo version adds "[RouteBySender DEMO]" to the Subject line of each message processed.

F.A.Q.

Q. I am having trouble getting the program to work. When I enable the transport agent, I get 1052 ans 16023 errors in Event Viewer and the Transport service will not stay running.A. Exchange uses the Network Service account for the Transport Service credentials and it seems this account didn't get security permissions to RouteBySender program folder. Try to add Network Service account read permissions to that folder.

Q. I am about to purchase this product but I wondering regarding updates/patches. What are the policies regarding updates? Do you provide them freely or as a purchase?A. As a registered user, you will get free updates for one year from the date of purchase.
Once the new version is ready, this information will be e-mailed to all registered users. We will send updates via e-mail to those who request them.

Site license covers a single organization in one location (building complex). If you purchase a site license, you may use the program in an unlimited number of your company's computers within this area.Enterprise license covers all computers of single organization world-wide. If your company has many branches even with thousands of machines, Enterprise license covers them all.