What Is Message Tracking and How Is It Used?
What is Message Tracking (aka MTC, Mail Tracker Collector) and how is it used?
Message tracking is used to gather data on messages that route through the server. Before you can use mail tracking data for tracking or reports, data must be collected in the Mail Tracking Store database (MTSTORE.NSF).
First, message tracking is not directly related to the Reports server task or Stats and Events (statrep.nsf, etc). The process that controls message tracking is MTC (a server task spawned from the ROUTER task), which is enabled in the Configuration Settings document. The MTC process updates a database called MTSTORE.nsf (in the ..\Data\MTDATA folder).
When mail tracking is enabled in the Configuration Settings document, under the ROUTER/SMTP --> Message Tracking tab, tracking automatically starts when the Router starts. If you stop the MTC task, you can restart it by entering the following command at the server console:
There are two places the data can be accessed to determine message tracking info: (1) the Administration Client, in the Messaging --> Message Tracking tab, and (2) the Reports.nsf database. The Administrator client is a good place to find info such as "is Speedy Spam sending any mail to Funny Guy?" or "Is Super Guy sending any mail with the phrase "resume" in the Subject field?".
The Reports database is good for determining general trends in mail (who sends the most mail, who sends the largest-sized emails, etc). For additional information, please refer to the Administrator Help database.
All reports can be viewed in the Administrator client by looking under the Messaging Tab --> Mail --> Reports for <servername>.
How are reports created?
To create a report, you must be configured to be allowed to track messages, and then you can either use the Administrator client or directly open the reports.nsf database.
When creating a report, you can create the report to run immediately or set the report to run on a schedule. The report can be run Once, Daily, Weekly or Monthly.
Also you can configure the report to be saved to the reports.nsf or emailed to a particular user, or both.
In the REPORTS.NSF, you specify the conditions you want to trigger the report. A REPORTS.NSF will read the data contained in the MTSTORE.NSF to generate its reports.
Below is a chart to assist in Message Tracking tasks and commands:
|To do this||Perform this task|
|Automatically start mail tracking on a server when the server starts||Tracking starts when the Router starts.|
|Automatically stop Mail Tracking Collector on a server when the server stops||Tracking stops when the Router stops.|
|Manually start mail tracking||Enter the command load mtc at the console.|
|Manually stop mail tracking||Enter the command tell mtc quit at the console.|
|Manually tell the Mail Tracking Collector to collect||Enter the command tell mtc process at the console.|
|Manually tell the Mail Tracking Collector to use a different collection interval||Enter the command tell mtc interval <value> at the console, where value is the number of minutes to use.|
|Manually tell the Mail Tracking Collector to compact the Mail Tracking Store database||Enter the command tell mtc compact at the console.|
|Manually tell the Mail Tracking Collector to reindex the Mail Tracking Store database||Enter the command tell mtc reindex at the console.|
|Manually tell the Mail Tracking Collector to purge the Mail Tracking Store database||Enter the command tell mtc purge <value> at the console, where value is a number of days. All entries in the Mail Tracking Store database older than value will be purged.|
More support for:
Software version: 6.0, 6.5, 7.0, 8.0, 8.5
Operating system(s): AIX, IBM i, Linux, Solaris, Windows, z/OS
Reference #: 1165592
Modified date: 02 June 2011
Translate this page: