exchange 2010 message tracking


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.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

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?
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"}
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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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..
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.