charlesgate86.files.wordpress.com€¦ · web viewopen the command shell and go the ... the other...

13
This document contains the below topic Installing Transport Rule Agent on Exchange 2010 Server Configuring & Enabling Transport Rule Agent on Exchange 2010 Creating and configuring send connectors Creating Transport Rule to work with send connector to achieve the requirement. Verifying the event logs instead of testing mail flow to check the installed transport agent was used with transport rule.

Upload: vudan

Post on 29-Apr-2018

218 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

This document contains the below topic

Installing Transport Rule Agent on Exchange 2010 Server

Configuring & Enabling Transport Rule Agent on Exchange 2010

Creating and configuring send connectors Creating Transport Rule to work with send

connector to achieve the requirement. Verifying the event logs instead of testing mail flow

to check the installed transport agent was used with transport rule.

Page 2: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

Copy the RoutingRuleAgent.dll on the below mentioned path.

Open the command shell and go the directory C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727 and run the command mentioned below

Page 3: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

Enable diagnose logging high to understand how it works and activity is happening using this agent. (Value 7)

Verify the existing transport agent by running Get-TransportAgent and you will observe as mentioned

Page 4: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

Run the command Install-TransportAgent -Name "Routing Rule Agent" -TransportAgentFactory RoutingRuleAgent.RoutingRuleFactory -AssemblyPath "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\agents\Rule\RoutingRuleAgent.dll" as mentioned below.

You can verify further running the Get-TransportAgent command to check whether it is installed but you will notice it is not enable by default.

Page 5: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

Run the command Enable-TransportAgent as mentioned below to enable the installed agent.

You have to restart the MS Exchange Transport Service for changes to take effect.

Page 6: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

Just verify once as we have installed and enabled the Transport Agent.

We have configured 2 send connectors with different smart host configuration and some changes @address space as mentioned in below screenshots.

Page 7: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

You will notice on Send Connector called Internet I have the SMTP address as * and smart host has 192.168.1.20

Page 8: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

The other send connector called DogFood has the address space dogfood.com and smart host as 192.168.1.25

Now we have created Send connectors let us create a transport rule which will include the exchange header & its value to work with Send connector.

Page 9: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

Below are the screenshot of the event logs which are generated in regards to Routing rule agent and we will see further screenshots which actually mentions the Transport Rule Agent was used by the recipient [email protected] (If you observed above when we had enabled diagnose logging using Registry

for the installed transport agent)

Page 10: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as
Page 11: charlesgate86.files.wordpress.com€¦ · Web viewOpen the command shell and go the ... The other send connector called DogFood has the address space dogfood.com and smart host as

Hope it was informative.