Knowledge Base

How to sync the Loop protection settings in CodeTwo signature software across all Exchange servers

Problem:

You’re using CodeTwo signature software for Exchange Server in a multi-server environment. You would like to sync the Loop protection settings across all your Mailbox servers to further limit the number of automatic replies sent by the program.

Solution:

Important

The instructions in this article apply to CodeTwo Email Signatures On-prem and versions 2.18.x or later of the CodeTwo Exchange Rules Pro software (discontinued). If you’re using an older version of CodeTwo Exchange Rules Pro, update it, as outlined here.

By default, the Loop protection settings for each Auto respond rule are applied per Mailbox server. It means that the number of sent auto replies is counted individually for each server receiving an email that triggers a given Auto respond rule. If you want to have your sent auto replies counted globally across all your servers, no matter which of them receives an original message, you need to modify the configuration file for the Mail Processor / Exchange Rules Pro Service and restart the service in the following way:

  1. Sign in to one of your servers on which your CodeTwo software is installed.
  2. Navigate to:
    %ProgramData%\CodeTwo Email Signatures On-prem\Config\
    or
    %ProgramData%\CodeTwo Exchange Rules\Config\
  3. Right-click the EngineService.xml file, select Open with and click an app that you can use to edit the XML file (e.g., WordPad), as shown in Fig. 1.

Opening the EngineService.xml file for editing.
Fig. 1. Opening the EngineService.xml file for editing.

  1. Once the file opens, locate the <AutoresponderLoopProtectorSynchroStateEnabled> setting and change the value that directly follows it from false to true, as shown in Fig. 2.

Modifying the value of the setting responsible for syncing the Loop protection status.
Fig. 2. Modifying the value of the setting responsible for syncing the Loop protection status.

  1. Save and close the file.
  2. Complete steps 1-5 above on each server with the Mailbox role where the CodeTwo software is installed.

After you’ve modified the XML file on all the servers, you need to restart the Mail Processor (for CodeTwo Email Signatures On-prem) or Exchange Rules Pro Service (for CodeTwo Exchange Rules Pro) – also on each server. The simplest way to do it is as follows:

  1. Launch the Administration Panel of the CodeTwo software on any server/client you’ve installed it on.
  2. Click Server Monitor on the toolbar. In the Server Monitor window that opens, you’ll see the list of all your servers on which the Mail Processor or Exchange Rules Pro Service runs (see Fig. 3.).
  3. To restart the service:
    1. Click the er-stop-service-button button in the Mail Processor or Exchange Rules Service column to stop it.
    2. Next, click the er-start-service-button button to start the service again.

    Repeat these actions for all the listed servers (Fig. 3.).

Restarting the Exchange Rules Service on all listed servers.
Fig. 3. Restarting the relevant service on all listed servers.

Once you’ve finished, the status of the Loop protection feature will start syncing between the servers and the limit of auto replies you’ve set for a given time period will be always respected, regardless of which server receives an original message that triggers your auto reply.

Was this information useful?
Our Customers: