I have an Exchange 2010 server listening on a couple of different domains. So it receives and sends emails destinated and originating from several domains.
Now we want to get rid of a specific domain gradually and what I would like to do now is get a list of all the emails received or sent using that specific domain that we wants to get rid of. So we can figure how this domain is still getting used before getting rid of it.
Thanks.
You can use Powershell to retrieve this and dump it to a log file if you want.
Search for messages sent TO any users at domain.com:
Search for messages sent FROM users at domain.com: