Enable/Disable Message Tracking in Exchange 2007

In Exchange 2007 message tracking is by default enabled for every Hub and Edge transport server you install, thereby enabling you to track messages as they pass through your Exchange organization. Since Exchange 2007 Sp1, you can use both the Exchange Management Console and the Exchange Management Shell to enable/disable Message Tracking, and change the message tracking log file path as well. In the EMC, go to the properties of you Hub Transport server (Microsoft Exchange – Server Configuration – Hub Transport) and select the property page Log Settings. When using the EMS cmdlet Set-Transportserver however, you can define additional settings for Message Tracking by using any of the following parameters:

  • MessageTrackingLogEnabled = $True or $False
  • MessageTrackingLogMaxAge = dd.hh:mm:ss, to define how long message tracking log files should be kept. If setting this value to 00:00:00 will prevent the deletion of Message Tracking log files, where-as the setting of 07.05:45:35 will delete the log files after 7 days, 5 hours, 45 minutes, and 35 seconds
  • MessageTrackingLogMaxDirectorySize, used to set a maximum size of the message tracking log directory. By default it is set to 250Mb, when this size is reached, the oldest files are purged first. When set to the value Unlimited, no limit is imposed
  • MessageTrackingLogMaxFileSize, with a default of 10Mb, defines the maximum size a message tracking log file can reach before a new log file will be created
  • MessageTrackingLogPath, defines the directory were the message tracking log files need to be stored
  • MessageTrackingLogSubjectLoggingEnabled = $True or $False, be default set to true, meaning, that by default Subjects are included in the Message Tracking log files.

 

Leave a Comment

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top