Can I assign a recipient policy for distribution groups?

In my forest I have 4 domains, an empty root domain and 3 child domains. Corp, DomainA.Corp, DomainB.Corp, and DomainC.Corp. There are 5 sites (we'll call them Site1, Site2, Site3, Site4, Site5), each with its own Exchange administrative group and Exchange server. All DCs in the forest are 2003 and all Exchange versions are 2003. The forest and child domains are 2000 native mode.

Site1, Site2 and Site3 are all in the DomainA.Corp domain. Site4 has DomainB.Corp and Site5 has DomainC.Corp.

When I create a distribution group or make a security group mail-enabled, the group seems to get the recipient policy for Site1. Like the SMTP address it is assigned is groupname@DomainA.Corp and the administrative group is Site1. It isn't a big problem for Site2 and Site3 since they're the same domain, but the ones for Site4 and Site5 have to be manually changed.

Figure A on this page shows them getting the option to pick the admin group when they are establishing the email address, but on that page I don't get that drop down box. Maybe that was just an Exchange 2000 thing that was removed in 2003 though.

Am I missing something obvious here?
LVL 13
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can create a recipient policy based on a certain attribute, that will be unique to these Distribution Groups such as City or Office location and assign the coorect email address you need.. Then when you create the group, make sure they you enter a the correct value for the attributes.

This should assign the DG correct email addresses

Refer to the links below

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CrashDummy_MSAuthor Commented:
Thanks ach_patil, I think that puts me on the right path and it looks like I've got it working on the groups I was testing with, putting the city in extensionAttribute1, then having the recipient policy's custom search like "(&(objectCategory=group)(extensionAttribute1=CityName))"

What would be the best way to make all groups under an OU (or whole domain for the 2 remote domains) have this attribute set? I made a powershell script that sets it for one, and just have to add in the code to make it step through an OU or domain and set it for each group, then schedule that script to run periodically, maybe hourly or something.

Is there a better way to do that, maybe a GPO I can set so all groups in the OU get that attribute set?
You can use ADMODIFYutility to bulk modify the groups.

Download it here

Use the below link for steps to use ADMODIFY

Hope this helps..

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.