Monday, May 4, 2009

Message Tracking in Exchange 2007

By default in Exchange 2007 , message tracking system is enabled. Youcan use message message tracking logs for mail flow analysis as well as troubleshooting .

You can get message tracking system settings by using Get-TransportServer for Edge and Hub transport roles and the Get-MailboxServer for Mailbox server roles.








You can modify the message tracking settings by using the Set-TransportServer and Set-MailboxServer





Using these commands above you can ;

Enable or disable message tracking system (Enabled by default)
Enable or disable logging of message subject lines (Enabled by default)


Set the maximum size of log files (10MB by default)
Set the maximum size of the log file directory (250MB by default)
Change the path of the log file (‘C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\MessageTracking’ by default)


Set the maximum age of message tracking log files (30 days by default)





Example Command





Set Maximum Directory size 1 GB maximum log file age 40 days





C:\>[PS] C:\Users\Administrator\Desktop>Set-TransportServer SV2008 -MessageTrackingLogMaxDirectorySize 1GB -MessageTrackingLogMaxAge 40.00:00:00[PS]






Searching Message Tracking Logs

Message sent from ittips@tricks.com to test@exchange2007.net between dates releated. (First 50 Result)

[PS] C:\>Get-MessageTrackingLog -Server SV2008 -EventID SEND -Sender ittips@tricks.com -Recipients test@exchange2007.net -Start 1/1/2009 -End 2/4/2009 –ResultSize 50

Search By Subject

$hubs Get-MessageTrackingLog -MessageSubject "Production" -Start "1/01/2009 00:00:00" -End "1/04/2009 23:59:59

1 comment:

  1. I have heard about one problem at my friend. Only today he told me everything about it. I suggested him an one thing, which aided him quickly and he unexpectedly thanked me many times. In this case on my view it would be the good solution for this trouble - edb recovery.

    ReplyDelete

 
span.fullpost {display:inline;}