Configuring Microsoft Exchange 2013 to work with MailDetective

Configuring Microsoft Exchange 2013 to work with MailDetective

All articles

To collect information about email traffic, MailDetective uses Exchange Message Tracking Log Files (log files from this point on). You need to specify their location in the Domains and Servers. In Exchange Server 2000 and Exchange Server 2003, log files could be managed in Exchange System Manager. In Exchange Server 2007, Exchange Server 2010 and Exchange Server 2013, log files can be managed using Exchange Management Shell (EMS) only and only on servers with Hub Transport, Edge Transport and/or MailBox roles. Starting from Exchange Server 2007, logging is enabled by default on servers with Hub Transport, Edge Transport and MailBox roles. If it was disabled for some reason, it can be turned back on by running the following command: 

Set-TransportService SERVERNAME -MessageTrackingLogEnabled $true 

By default, log files are stored in the following folder: 
\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\MessageTracking 

This path can be changed by running this command: 
Set-TransportService SERVERNAME -MessageTrackingLogPath LOGPATH 

You can view the current logging settings using this command: 
Get-TransportService SERVERNAME | fl *messagetracking* 


You need to enter the path to log files used by Exchange Server in Domains and Servers editor in the Path to log files field of the appropriate server.

Tags: Exchange Server 2013, MailDetective, log file