Knowledge Base

How to set the priority of the CodeTwo transport agents

Problem:

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

Solution:

During the installation of CodeTwo Email Signatures On-prem or the CodeTwo Exchange Rules (Pro) software (discontinued), or when applying Service Packs to the Windows Server operating system, the order of transport agents may change. To fix this, the transport agent for the CodeTwo software can be moved to an appropriate position on the list of agents (Fig. 1.).

The order of MS Exchange transport agents.
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 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:
Get-TransportAgent
  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, for example:

Set-TransportAgent -Identity "CodeTwo Exchange Transport Agent" -priority 1
  1. Restart MS Exchange Transport service to apply changes.

See also:

How to restart the Microsoft Exchange Transport service

Was this information useful?
Our Customers: