Solved

Assigning default email address to OU by custom attribute

Posted on 2011-02-28
7
1,368 Views
Last Modified: 2012-05-11
Hello-

I'm sure this is an easy question but for the life of me I can't figure it out...we have a subsidiary called SOME COMPANY for which we host email for on Exchange 2007, and I've created an OU called SOME COMPANY under our DOMAIN.LOCAL Win 2003 AD that contains the employees of the subsidiary.  I've set up the SOMECOMPANY.COM domain in our accepted domains in Exchange and I'm now trying to set up the OU so that the employees in the OU will automagically be assigned the SOMECOMPANY.COM domain for their email.

So far,, I've been told to go to the Hub Transport and create a new Email address policy.  I have a new policy called SOME COMPANY POLICY where according to everyone,  I'm supposed to enter in a "where custom attribute 1 equals" value that points to the OU.  For the life of me I cannot figure out the syntax for what it will recognize as the name of the OU.  Is it...

where custom attribute equals "some company"?
where custom attribute equals OU="some company"?
where custom attribute equals DC="DOMAIN/DC="LOCAL"/OU="some company"?

Everything I've looked up simply says to "enter the OU into the custom attribute text box" whch isn't particularly helpful as it never says how. Does anyone have any examples that I can look at to specify how to identify an OU as a custom attribute?  I can handle the rest on my end.

Or, am I barking up the wrong tree and this really isn't a good way to assign default email addresses to an OU?
0
Comment
Question by:goodoldave
  • 3
  • 3
7 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 250 total points
ID: 35000775
You can simply set the custom attribute 1 to equal "SOME COMPANY" and then make sure you change the Custom Attribute 1 for each user of that company to show "SOME COMPANY" and then the Email Policy will automatically be applied and the relevant address added accordingly.
0
 
LVL 49

Expert Comment

by:Akhater
ID: 35001929
Are you trying to apply a specfic email address policy to all users in a sepcific OU ?

If so why don't you use the container ?

EMC -> Org config -> Hub Transport -> Email address policy -> new policy ->

on the first wizard page  you have "select recipient container where you want to apply the filter" click browse and select the OU
0
 

Author Comment

by:goodoldave
ID: 35008804
To alanhardistry: If we're obligated to modify every user in order for the policy to apply to them then isn't this the same as going to each user and assigning them a "SOMECOMPANY.COM" default address?  I would like to be able to have this done automatically when the user is put in the OU.

To Akhater: Yes, this is exactly what I'm trying to do...but on the first wizard page there is no "select recipient container where you want to apply the filter" option.  It onlyasks to identify the recipient  types that the policy applies to, with "all recipient types being the default.  Do you have a link showing where this option is?
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 49

Expert Comment

by:Akhater
ID: 35008879
are u on exchange 2k7 or 2k10?
0
 

Author Comment

by:goodoldave
ID: 35011271
Exchange 2007, under a Win 2003 AD.  From all that I've read it didn't seem that I could assign an email policy to an OU that easily.
0
 
LVL 49

Expert Comment

by:Akhater
ID: 35011624
oh well you can in exchange 2010 not in 2007 though you will need to follow alan advise
0
 

Author Closing Comment

by:goodoldave
ID: 35011830
It appears that the entire world says I can't assign email policies by OU, so I did the next best thing and set a group policy by an attribute (I.,E. where Department equals SNURFING and then enter SNERFING in all the users' department fields in AD)  It sounds like we should look into getting Exchange 2010...

Thanks for everyone's help!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 powershell/cmd/bash alternatives? 11 40
exchange out of office 8 39
Device Type 6 15
Filter IP range with PowerShell 1 21
This article will help you understand what HashTables are and how to use them in PowerShell.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now