We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Delete certain SMTP aliases for every AD user?

Medium Priority
Last Modified: 2012-05-06
I have a domain that has been de-migrated from domainA to domainB.  The users in domainB have at least 2 SMTP aliases


I want to remove all the flastname@companyA.com SMTP aliases for all the users in domainB.  I was thinking maybe the recipient policy, but I don't know how to remove old addys with that.  Is there a clean way to remove all thoses aliases?
Watch Question

You're on the right lines, simply remove the old aliases from the recipient policy and apply the policy.
That will then remove the aliases from all users which has that policy tagged to it.


I didn't really make it terribly clear, but when the users were migrated from domainA to domainB, all AD attributes were brought over.  The domainB Exchange server only has 1 recipient policy, which is to create "@companyb.com".  So the other SMTP aliases weren't created w/the recipient policy.

Create a recipient policy for either those users or all users since they will all have the same scheme when done. If you set the policy  with the addresses you want, you should be good to go.

So the emails aliases of companyA.com are attached to the users manually in there AD properties?
there might be a good visual basic script out there for that, good question

The microsoft articel, http://support.microsoft.com/kb/318774 explains removing duplicate emails, however, the LDIFDE commands displayed can be modified to remove specified email aliases.
Have a good read of the article and it should point you in the right direction.



      I used Quest Migration Manager to migrate the domain.  That brings the attributes over.  Usually, it's a good idea to keep the old aliases when migrating a company INTO the domain, but since we divested a company, they can't really use the old @companyA.com email aliases.  They weren't manually created, they were migrated along with the users.
Expert of the Quarter 2009
Expert of the Year 2009
I don't think Recipient Policy will remove email addresses.
However I think admodify.net will do that.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Great Job!  I should have checked that first!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.