• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

exchange 2010 message tracking

Greetings,

Using the get-messagetracking powershell command for exchange is there a way - or any other way for that matter, to get email from a specific server that is allowed to relay through the connector?  We recently added a couple and need to investigate by ip if possible.

Thanks!
0
bill_lynch
Asked:
bill_lynch
  • 3
  • 2
1 Solution
 
Will SzymkowskiSenior Solution ArchitectCommented:
Using the get-messagetracking powershell command for exchange is there a way - or any other way for that matter, to get email from a specific server

Unfortunately this cannot be done. Message tracking only tracks messages that pass mail through the transport service on the specified Exchange environment. You cannot query other transport servers that are outside of your domain.

You can search via external sender or recipient etc but not specifically by another transport server in another domain.

Will.
0
 
bill_lynchAuthor Commented:
HI WIll,

Thanks for the quick response.  Perhaps I didn't word it right.  These are internal boxes that we have allowed to relay to the outside via a relay send connector.  Does that make a difference?
0
 
bill_lynchAuthor Commented:
Here is the command I tried but I haven't had any luck...

Get-MessageTrackingLog -Server servername -ResultSize unlimited | Select-Object ServerIP | Where{$_.ServerIP -eq "RFC1918IPADDR"}
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Are they Exchange Transport Servers or just Application Servers sending mail anonymously? You can only perform message tracking queries on Exchange servers that hold the Transport Service (Hub transport role).

Any other servers in the environment you will not be able to track messages specifically from that server. If this is what you are after you will want to enable SMTP Logging which will provide logs to see where the emails have been sent/generated from.

Will.
0
 
bill_lynchAuthor Commented:
Rats, yeah these are linux machines.  I do believe we have verbose tracking enabled on the connector so I will see if I can dig through those.  I was hoping I could grab that information out of there in a nice easy way via powershell..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now