KB - Changing the filtering order (Exchange 2016)

Changing the filtering order (Exchange 2016)

Article was last updated on November 10, 2015. View products that this article applies to.

In most cases, ORF is not the only software scanning emails on your server: other components (like the email filtering module of your resident anti-virus scanner, Content Filtering feature of Exchange, etc) may reject, alter or divert the email before ORF could test it.

By default, ORF has lower priority than other components. If you want ORF to filter emails first, the priorities have to be changed.

Changing Priorities on Exchange 2016

The filtering order depends on the so called Transport Agent priorities. To change these:

Edge Server installation

  1. Start the Exchange Management Shell
  2. To check the priorities on the Edge Server role, enter the following command:

    Get-TransportAgent -TransportService Edge| Format-List
  3. To change the priority of the Vamsoft ORF SMTP Receive Agent on the Edge role, enter the following command:

    Set-TransportAgent -Identity "Vamsoft ORF SMTP Receive Agent" -TransportService Edge -Priority 2
  4. Finally, restart the MSExchangeTransport Service to apply the changes:

    Restart-Service MSExchangeTransport

Mailbox Server installation

  1. Start the Exchange Management Shell
  2. To check the priorities on the Mailbox role, enter the following command:

    Get-TransportAgent | Format-List
  3. To change the priority of the Vamsoft ORF SMTP Receive Agent on the Mailbox role, enter the following command:

    Set-TransportAgent -Identity "Vamsoft ORF SMTP Receive Agent" -Priority 2
  4. Finally, restart the MSExchangeFrontEndTransport Service to apply the changes:

    Restart-Service MSExchangeFrontEndTransport

Please note that the priorities are restored to their default state after you upgrade or re-install ORF. Other software may also change the priorities without prior notice (e.g., Exchange updates).

Applies To

The article above is not specific to any ORF versions.

hnp1 | hnp2