Exchange 2016 Distribution Groups mail Tracking

asked 2022-06-24T07:00:00.207+00:00
Nagori 1 Reputation point

Hi

We want to track mails sent to distribution group that mail sent to distribution group is delivered to all members of group or not not. Can we track mail just we are tracking mail sent by user to other users by Get-messagegrackinglog with different EventIDs

Thanks

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,069 questions
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2022-06-24T11:25:35.197+00:00
    Andy David - MVP 108.7K Reputation points Microsoft MVP

    Yes, I would track using the Message ID of the message

    Example:
    $Servers = Get-ExchangeServer; $Servers | where {$.isHubTransportServer -eq $true -or $.isMailboxServer -eq $true} | Get-MessageTrackingLog -MessageId ba18339e-8151-4ff3-aeea-
    87ccf5fc9796@mailbox01.contoso.com | Select-Object Timestamp,ServerHostname,ClientHostname,Source,EventId,Recipients | Sort-Object -Property Timestamp

    https://learn.microsoft.com/en-us/exchange/mail-flow/transport-logs/search-message-tracking-logs?view=exchserver-2019

    Look for any FAIL events.

    Or filter for them:

    Example

    $Servers = Get-ExchangeServer; $Servers | where {$.isHubTransportServer -eq $true -or $.isMailboxServer -eq $true} | Get-MessageTrackingLog -MessageId ba18339e-8151-4ff3-aeea-
    87ccf5fc9796@mailbox01.contoso.com -EventId Fail

    No comments