Using the stcclean tool
Document ID: 10226
Synopsis
Stcclean is a tool used to clean up STC files left over from 5.2.5 after an upgrade has been performed on the mail server to 5.3.x or higher.
More Information
STC files contained the cached MIME parsing information of the message; it tells the MailSite engine where the body parts of a message start and stop. If the message is large, it means the engine does not have to wade through a 6MB message looking for the boundaries, the problem with STC files is the abundance of 1 kilobyte file per message, which caused a performance problem at the file system.
To use stcclean, please follow the steps below:
- Open a command console
- Browse to the MailSite directory location.
- stcclean usage is as follows:
- X:\Mailstore location\BOX
- 5000 (delay in milliseconds between file deletion)
- 5 (interval report period)
Example
C:\Program Files\MailSite>cscript stcclean.vbs d:\mailboxes 15 1
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
D:\mailboxes\domains.com\!9\!t\!w\9two9er\INBOX\Sent Mail
Alternative
You can use 'del /s *.stc' command from the Command Prompt to carry out a similar function. This is a little simpler than using the stcclean.vbs tool.
- Open the Command Prompt
- Switch to the BOX directory
- Enter 'del /s *.stc'