Question : EmailAddressPolicy based on Organizational Units

I need a little help for an Exchange 2007 implementation at our company.
At the moment i have the problem to define an easy emailaddresspolicy, like it was possible with Exchange 2003. We match the user on the ou membership.
I searched all over the net, but it seems, that there is no recipientfiler option, that could us help. The user data in Active Directory isn't filled up with information, because it is not our central system and so no dupe work is done.

Microsoft documents show the filterable options:
http://technet.microsoft.com/en-us/library/bb738157(EXCHG.80).aspx

So i tried to set up an Dynamic Distribution Group, which scope is set to an OU. So the idea was to use the "memberofgroup" criteria like this (MunichDDG = Dynamic Distribution Group):

New-EmailAddressPolicy "Munich" -RecipientFilter {((MemberOfGroup -eq "CN=MunichDDG,OU=User,OU=Munich,DC=adcc,DC=local") -and (RecipientType -eq 'UserMailbox'))} -Priority 1 -EnabledPrimarySMTPAddressTemplate 'SMTP:%[email protected]'

The EMS accepts the input, but no changes are done to the user accounts.

The central question is how to set it up on the criteria, that no changes to the user accounts or the administration of undymnamic groups must be done, only the placement location in active directory is relevant.

Answer : EmailAddressPolicy based on Organizational Units


Hey,

You can't filter on Organisational Unit I'm afraid. This hasn't changed from Exchange 2003, it's not possible to generate either an LDAP filter or OPath filter for Organisational Unit.

As for setting the policy, executing New-EmailAddressPolicy does half the work. You also need to force an update with Update-EmailAddressPolicy. See below or Get-Help Update-EmailAddressPolicy for further details:

http://technet.microsoft.com/en-us/library/aa996869(EXCHG.80).aspx

The GUI does that step for you when you update a policy.

Chris
Random Solutions  
 
programming4us programming4us