Message Tracking for Rejected Messages

We are using Exchange 2013, trying to use message tracking to determine if a message that was sent to us was rejected, I can run the messagetracking powershell command and I get reslults. would there be a "reject" event id for these messages?

Thanks

Pat

February 25th, 2015 11:00am

Hi,

There is no reject event id for messages rejected by Exchange. If these messages are rejected, when we use Get-MessageTrackingLog to track these messages, the event id should be FAIL. You can try to track these messages by the following command:

Get-MessageTrackingLog Resultsize unlimited| where-object {$_.EventID -eq "Fail"}

It will take a long time to search, and will return many results. To limit the results, we can set unlimited to specify number.

Event Types in Message tracking

https://technet.microsoft.com/en-us/library/bb124375%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396#EventTypes

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
February 26th, 2015 1:48am

Hi ,

Below command will be used on the exchange management shell to have a grid-view on the output.

Get-TransportService | Get-MessageTrackingLog -recipients "yourname@abc.com" -ResultSize unlimited -MessageSubject "test" -eventid "fail" | Select-Object eventid,sender,timestamp,@{Name="Recipients";Expression={$_.recipients}},@{Name="RecipientStatus";Expression={$_.recipientstatus}},messagesubject | Out-GridView

(or)

Below command will be used on the exchange management shell to have the output on the csv file.

Get-TransportService | Get-MessageTrackingLog -recipients "yourname@abc.com" -ResultSize unlimited -MessageSubject "test" -eventid "fail" | Select-Object eventid,sender,timestamp,@{Name="Recipients";Expression={$_.recipients}},@{Name="RecipientStatus";Expression={$_.recipientstatus}},messagesubject | Export-csv c:\nithya.csv

Reference Link for message tracking : http://exchangeserverpro.com/exchange-2010-message-tracking-log-search-powershell/

February 26th, 2015 2:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics