Jump to content

Recommended Posts

Posted

Hi All,

 

What should be the configuration of Exchange Server Message tracking log ?

 

Get-ExchangeServer | where {$_.isHubTransportServer -eq $true} | Get-TransportServer | select Name, *MessageTracking* | ft -AutoSize

 

from the powershell above result here's the result:

 

Name        MessageTrackingLogEnabled MessageTrackingLogMaxAge MessageTrackingLogMaxDirectorySize MessageTrackingLogMaxFileSize MessageTrackingLogPat                                                                                                                                h                    
----        ------------------------- ------------------------ ---------------------------------- ----------------------------- ---------------------
ExHTServer1                      True 20.00:00:00              250MB                              10MB                          D:\Program Files\M...
ExHTServer2                      True 20.00:00:00              250MB                              10MB                          D:\Program Files\M...
ExHTServer3                      True 20.00:00:00              250MB                              10MB                          D:\Program Files\M...

 

what is the best practice if I want to have a retention of let say 6 months ?

 

I'm confused which parameter that is should/can be changes.

 

Thanks

Posted

Hi

 

It depends on the amount of traffic which goes through your email system

 

1. Why would you want to keep 6 months?

2. Normally, 30-40 days would be fine.

3. Tracking logs configured on HTS and MBS.

 

Regards

Sukh

  • Thanks 1
Posted

Hi

 

I can understand that. If you have the disk space then you can configure this. Also, if you do need to track a message older than the configured threshold, then providing you have backups in place, you can always restore the logs and analyse them.

 

What would you do if a user says I sent a message 7 months ago?

Normally, in my experience, users tend to request confirmation of email if the intended recipient did not reply back or contact them when they were expecting an answer. This depends our your environment.

 

Set-TransportServer YourExchangeServerName -MessageTrackingLogMaxAge 180.00:00:00 (for HT)

 

Set-MailboxServer YourExchangeServerName -MessageTrackingLogMaxAge 180.00:00:00 (for MBS)

 

Regards

Sukh

  • Thanks 1
Posted

oh, is that simple :-) I thought that I must /can specify the filesize chunk ?

maybe few large size logs is better than thousands of smaller file due to fragmentation issue.

Posted

Hi

 

You can specify many parameters such as log file size, location, age, folder size etc..

 

From your config output, the "MessageTrackingLogMaxDirectorySize" is the default 250MB. Which means tracking logs will get deleted after this directory has reached this limit. Therefore if you want to keep logs for 6 months, you have to consider this limit too otherwise you logs will be deleted. In addition to this, you have to set the "MessageTrackingLogMaxAge" which I showed above.

 

Please see Configure Message Tracking: Exchange 2010 SP1 Help for further information.

 

Regards

Sukh

  • Thanks 1
Posted

sukh, just for info, some establishments / organisations / authority's have legal requirements to hold the data for much longer in case of some legal mumbo jumbo where a complaint comes in due to a email not being recieved months down the line.

 

Just so ya know :)

 

EDIT: thanks for sharing the how to's :)

 

Nath

  • Thanks 1
Posted

Hi

 

It will depend on how many logs have been generated which is dependent on your mail flow in your Exchange Org. You need to have a baseline. Check the historical logs and see how many are generated per day. Allow some room for unexpected traffic and then set on all your HTS and MBS.

 

Are your HTS and MBS roles seperated?

 

Regards

Sukh

  • Thanks 1
Posted

albertwt, best checking how much space the logs current @ 20days have used, and then use that as a basis for how much space your gonna need.

 

Just maths really I guess and add 10% or more for growth and set yourself a reoccuring calendar entry to remember to check it :) or automate some reports of some description :)

 

HTH

Posted

Hi Nathan

 

I fully understand and thanks for highlighting. For this reason, backups should in place whereby you can restore tracking logs. However, this is where an archiving/journaling solution should be in place to comply with legal and compliance.

 

Message tracking will only show if the message was received or sent whereas archiving/journaling will actually keep the email in tact.

 

Regards

Sukh

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...