Stop recipient policy from applying to contacts

Posted on 2008-10-22
Last Modified: 2011-10-19
I read the article posted previously, but it is geared more towards changing or adding an additional address.  It would be nice to know how to do this strictly for Contacts.  Do I need to add an address to create the policy?  This is what I have currently completed, but my e-mail address tab disappeared.

1.  Change RUS service to never run.
2.  Used ADModify to import Contacts.
3.  Used ADModify.Net to uncheck "Automatically Update e-mail addresses based on Recipeint Policy" for all imported Contacts.
4.  Changed RUS service to always run.

Any help with this is greatly appreciated.  Thanks..
Question by:ccrocket08
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4

Expert Comment

ID: 22778161
You can create a Policy that filters just on Users, Groups and Public Folders and delete the Default Policy.  However I don't recommend this.

Author Comment

ID: 22778749
Then what would you suggest?

Expert Comment

ID: 22778813
The manual method that you performed really.  Are there any particular reasons to have it remove the other addresses that Exchange stamps.

I take it you need the contacts to appear in the GAL correct?  If so then the RUS has to touch it at least once in order to stamp ShowInAddressBook.
If the object does not match any Recipient Policy then ShowInAddressBook will never be stamped and the contact will not show up in the GAL.

You could try this.  Create a new Policy that applies only to Contacts, but the issue is that you have to enter some sort of SMTP address domain, so the contacts will always have their external and at least one other SMTP address.
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.


Author Comment

ID: 22785699
OK, I created a recipient policy to added a bogus e-mail address to all users that do not have the primary SMTP address.  I import my contacts, uncheck "Automatically Update e-mail addresses based on Recipeint Policy", then my new policy runs and overwrites the SMTP addresses I imported to the bogus e-mail address.  Why doesn't the policy append the bogus address?

Expert Comment

ID: 22786045
What is it filtering on?  Is is set to apply to contacts as well or only users and groups?
Can u paste the filter here?

Author Comment

ID: 22786312
If you need to look at something else, please let me know.  Thanks..

Accepted Solution

dsolaris earned 125 total points
ID: 22788537
You want this to apply to all contacts correct?  If so your filter woudl just look like:
(&(&(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=contact)) ))))

Jsut to make sure of yoru process.  You are using ADMOdify to import the contacts.  Once they are imported you are clearing "Automatically Update e-mail addresses based on Recipeint Policy".  When you do the imported SMTP addresses are removed and the bogus one is being applied?  If so that is strange as when you clear that check box the RUS is told not to touch it.  I wonder if they are getting applied once they are imported.

You can try this:
Set the RUS schedule to Never Run
Perform your import
Clear the Check Box
Wait a bit for AD replication
Set your RUS back to what you want it set to.

Since you are using ADModify to create the objects, that is considered a programatic opeartion and did not go thru the actual APIs to create the obects so the behavior might be erratic.  To test, what behavior do you see when you manually create a contact in AD (not using ADModify)?  Do you get the same results?

Author Comment

ID: 22788648
I figured this out.

My recipient policy was filtering on "EMail Addresses" instead of "EMail Addresses (External)".  As soon as I changed this, ran my import again, this policy did not change my primary e-mail addresses.  You also do not have to uncheck "Automatically Update e-mail addresses based on Recipeint Policy".

Thanks for all of your help.

Assisted Solution

dsolaris earned 125 total points
ID: 22788679
Good the RUS is gone in 2007 though.
Glad you figured it out.

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question