Link to home
Start Free TrialLog in
Avatar of goodoldave
goodoldave

asked on

Assigning default email address to OU by custom attribute

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?
ASKER CERTIFIED SOLUTION
Avatar of Alan Hardisty
Alan Hardisty
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Avatar of goodoldave
goodoldave

ASKER

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?
are u on exchange 2k7 or 2k10?
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.
oh well you can in exchange 2010 not in 2007 though you will need to follow alan advise
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!