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.
In order to implement this change do the following:
- 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 (x86)\SmarterTools\SmarterMail\Service.)
- 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>
- Save the file.
- Stop and restart the SmarterMail service.