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

How do I find email messages using old domain name?


I need assistance in finding any email traffic that is being used by and old domain in our company. The company I now work for has an old domain name (MyOldDomain.net) that they no longer use in production and the director wants everything to use MyDomain.com.

The users had the SMTP addresses with the old domain name removed and up to two years ago all applications and devices used emails with the old domain name. I have updated as many of the applications and devices I can find but I need help in finding any email traffic for @MyOldDomain.net.

The message tracking in the EMC are not wildcard friendly and my PowerShell attempts have come up dry.

Thank you.
1 Solution
If all the mail is routed through your Exchange server, I would probably create a transport rule that looks for @myolddomain.net in the email and bcc it to a specific recipient who can monitor for that email usage.  I just have Exchange 2013 so I can't comment on 2010 specifically but I see in ours I can one of the criteria is "sender address includes" so just put in the old domain and choose what to do with it.
matt160Author Commented:
That worked, thank you.

Just to let others know what I did. EMC > Organization Configuration > Hub Transport > Transport Rules tab and create two new rules since it uses "and" and not "or". Rule #1 Conditions: when the From address contains MyOldDomain.net; Actions Blind carbon copy (BCC) the message address: user@MyDomain.com. And for Rule #2 Conditions: when a recipient's address contains MyOldDomain.net; Actions Blind carbon copy (BCC) the message address: user@MyDomain.com.

Be sure the domain for the Action is MyOldDomain.net and not @MyOldDomain.net.
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.

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