Slow SMTP Connections to SmarterMail

If you are experiencing slow incoming SMTP connections to SmarterMail and the server uses a multi-core processor, we recommend changing the mode that the .NET Garbage Collector runs in to "Server mode". What this does is provide each CPU on the server, with its own object heap and garbage collection thread so, it can run the process in parallel. This should significantly speed up SMTP processing.

Applies to SmarterMail 8.x - 15.x

In order to implement this change do the following:

  1. In Notepad, create a file called MailService.exe.config in the same folder as MailService.exe. By default, this folder is located at C:\program files\smartertools\smartermail\service)
  2. Paste the following configuration (remove spaces from opening chevrons):
<?xml version="1.0"?>
<configuration>
<runtime>
<gcServer enabled="true"/>
<loadFromRemoteSources enabled="true">< /loadFromRemoteSources>
</runtime>
<system.runtime.remoting>
<customErrors mode="Off">< /customErrors>
</system.runtime.remoting>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
  1. Save the file.
  2. Stop and restart the SmarterMail service.

 

Learn more about SmarterMail's enterprise email features and benefits.

Add Feedback