Knowledge Base

Exchange Rules Service (Engine service) config settings

Problem:

You need to manually tweak maxConnections value in Exchange Rules Service (Engine service) settings of CodeTwo Exchange Rules Pro 2 or CodeTwo Exchange Rules.

Solution:

You can do that by modifying the CodeTwo Exchange Rules Service configuration file. To do that:

  1. Please open CodeTwo.ER.Engine.Service.exe.config file located in the main installation folder, which by default is:
    C:\Program Files\CodeTwo\CodeTwo Exchange Rules\
  2. Find the below section:
    <netNamedPipeBinding>
        <binding name="NetNamedPipeBindingConfig" maxBufferSize="1073741824"
            maxConnections="100" maxReceivedMessageSize="1073741824">
            <readerQuotas maxDepth="500000" maxStringContentLength="2147483647"
                maxArrayLength="2147483647" maxBytesPerRead="1000000" maxNameTableCharCount="500000" />
        </binding>
    </netNamedPipeBinding>
  3. And change value of maxConnections from 100 to a desired one.

    Be aware that too low value will cause the Exchange Rules Service to process less emails at once what will cause newly arrived emails to queue at CodeTwo Agent of MS Exchange Transport service. On the other hand, a bigger maxConnections number will result in more emails being sent to the Exchange Rules Service at once what might cause unusual behavior of the Exchange Rules Service in low performance environments during high traffic periods. Learn more

  4. After modifying the Engine config file, the restart of CodeTwo Exchange Rules Service is required.

See also:

Was this information useful?