Question/Concern/Inquiry:
A customer reported his IMSS 7.0 has got problem with the mail queue issue. He started to notice this problem since early last week. The delivery queue could grow up to thousands. REstart the SMTP service will decrease the queue number but after a while it will grow again.

I notice the following error in System Event log since the date that my customer noticed of the problem.
"April 20, 2009 8:00:10 PM,abcmail,Mail Sender processing folder C:\Program Files\Trend Micro\IMSS\queue\reprocess: Smtp server responded error with:"

Solution/Recommendation:
Based on your message, you have a queuing issue. This was caused by the DNS, policy and the network connection problem. In the logs; == April 24, 2009 11:42:23 AM,abcmail,Mail Sender processing folder C:\Program Files\Trend Micro\IMSS\queue\reprocess: Smtp server responded error with:
April 24, 2009 11:44:34 AM,abcmail,IMSS Daemon is stopped April 24, 2009 11:45:08 AM,abcmail,IMSS Daemon Service starts running .....
April 24, 2009 11:45:25 AM,abcmail,Mail Sender processing folder C:\Program Files\Trend Micro\IMSS\queue\reprocessbig: Smtp server responded error with: 421 Internal configuration error April 24, 2009 11:45:25 AM,abcmail,Mail Sender processing folder C:\Program Files\Trend Micro\IMSS\queue\reprocess: Smtp server responded error with: 421 Internal configuration error April 24, 2009 11:48:39 AM,abcmail,IMSS Daemon is stopped April 24, 2009 11:48:51 AM,abcmail,IMSS Daemon Service starts running .....
April 24, 2009 11:49:15 AM,abcmail,Mail Sender processing folder C:\Program Files\Trend Micro\IMSS\queue\reprocessbig: Smtp server responded error with: 552 Message exceeds fixed maximum message size ==

You have a lot of messages queued in \IMSS\queue\reprocess. It only happens when;
* Administrator requested reprocessing of the quarantined mail
* When the action "Change recipient to" is performed
* When the action "Send notifications" is performed and is configured to attach the original mail

To isolate the issue, do the following:
1. Do you have a policy (for example SPAM policy) which has an action "change recipient"? Do you have also an action of "send notifications"? Or do you have a frequest "reprocess" on the quarantined messages like "resend"?
2. If you have a lot of messages in \IMSS\queue\reprocess folder, do these:
a. Stop IMSS services
b. Rename the \IMSS\queue\reprocess folder (for example, reprocess_old) c. Create a new one (for example, reprocess under \IMSS\queue\) and restart the IMSS services

3. Please try increasing the following values on imss.ini to improve the performance of the scanner:

=======================
proc_max_worker_proc=25
proc_thread_per_proc=15
=======================

Save the changes and then restart the IMSS services and see if the problem will still persist.

4. Please check in tsmtpd.ini and set IdleWaitingSecond to "60". See below:

FROM
==
# 9.2
# SMTP client session timeout (seconds).
# If server does not respond for timeout period, then close session.
# Recommended maximum = 60 (to avoid wasting time on dead mails) # #IdleWaitingSecond=30 ==

TO
==
# 9.2
# SMTP client session timeout (seconds).
# If server does not respond for timeout period, then close session.
# Recommended maximum = 60 (to avoid wasting time on dead mails) # IdleWaitingSecond=60 ==

Save the file and restart IMSS SMTP service

5. Also, move files under /mque/resend/ to mque/outbox/pool then, a. Restart "Trend Micro IMSS SMTP Service.
b. Observe for few minutes