Some SMTP servers take more time to respond to InterScan Messaging Security Suite (IMSS) causing the default timeout to be triggered.
This happens when the timeout occurs while IMSS is waiting for the "." command to end the SMTP transaction. When the receiving SMTP server fails to send the acknowledgement after the seconds defined by the "IdleWaitingSecond" parameter, IMSS considers it as connection timeout and moves the mail to the retry folder for resending. IMSS keeps on resending the message based on the specified retry period until it succeeds or until the number of retries is met.
You will keep on receiving the same mails if the server continues to fail in sending acknowledgement response to the data session before the timeout is triggered.
The issue occurs because the receiving MTA is slow resulting to timeout issues experienced by the IMSS server when processing outbound email messages.
To resolve this issue:
- Locate and open the tsmtpd.ini file. By default, it is under C:\Program Files(x86)\Trend Micro\IMSS\config\.
- Go to the [SmtpClient] section and look for the "IdleWaitingSecond" parameter.
- Change the value of the "IdleWaitingSecond" parameter to "60".
The value should not exceed "90" for best delivery performance.
Increasing the "IdleWaitingSecond" parameter can affect the delivery performance because the delivery threads will remain in a longer waiting state. Messages pending for delivery will have to wait in queue before the next thread becomes available. - Save and close the file.
- Restart the following services:
- Trend Micro IMSS SMTP Service
- Trend Micro IMSS Scan Service
If there is an increase in the Delivery Queue, you may modify the value of the "MaxDeliverThread" parameter to make up for the longer timeout:
- Open the tsmtpd.ini file and go to the [SmtpClient] section.
- Look for the "MaxDeliverThread" parameter.
- Set the value of the "MaxDeliverThread" parameter to "24".
This is the recommended setting, which you can gradually increase as you monitor the performance of the server.
- Save and close the file.
- Restart the following services:
- Trend Micro IMSS SMTP Service
- Trend Micro IMSS Scan Service