Message Tracking for SMTP relay

Sanjay Bhakuni 20 Reputation points
2025-05-11T17:26:41.6866667+00:00

We are using SMTP relay for sending email via our exchange server. I want to know the sending IP of the application which are sending email using relay.

Exchange | Hybrid management
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-05-12T02:01:12.1533333+00:00

    Hi Sanjay Bhakuni,

    Thank you for posting your question in the Microsoft Q&A forum.

     In general, we could use the command provided by Jose Benjamin Solis Nolasco to get message tracking log for on-prem emails and check the client IP.

     However, the email may be delivered via load balance or any other device before receiving by Exchange server. We also suggest you to add and check the parameter “OriginalClientIp”, which display the ipv4 or ipv6 address of the original client.

    Get-transportservice| Get-MessageTrackingLog -MessageSubject “email_subject” |sort-object timestamp | fl Timestamp,ClientIp,OriginalClientIp,Sender,Recipients,EventID,Source


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.