Knowledge Base

How to set the priority of the CodeTwo Exchange Rules Transport Agent


You need to change the order of transport agents on the transport agent’s priority list.


During the installation of CodeTwo Exchange Rules family software (including CodeTwo Exchange Rules Pro) or when applying Service Packs to the Windows Server operating system, the order of transport agents may change. The transport agent for the CodeTwo Exchange Rules software can be moved either to the bottom or somewhere to the middle of the agents' list (Fig. 1.).

KB224 - Transport agents order
Fig. 1. The order of MS Exchange transport agents.

The order in which the agents are executed depends on their Priority value. In the example above, the CodeTwo Exchange Rules Transport Agent will be triggered as the last one. If you wish to change the order of your agents, take the following steps:

  1. Open Exchange Management Shell.
  2. To see your current priority list of the transport agents, execute the following cmdlet:
  1. To change the priority of an agent, execute the following cmdlet:
Set-TransportAgent -identity "agent name" -priority X

Replace agent name with the actual name of the agent and X with the desired priority value.

  1. Restart MS Exchange Transport service to apply changes.

See also:

How to restart the Microsoft Exchange Transport service

Was this information useful?