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\smartertools\smartermail\service)
- Paste the following configuration (remove spaces from opening chevrons):
<loadFromRemoteSources enabled="true">< /loadFromRemoteSources>
<customErrors mode="Off">< /customErrors>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
- Save the file.
- Stop and restart the SmarterMail service.