OPATH Email Address Policy question
I am trying to implement a fairly simple Email Address Policy (simple at least in terms of my ability to explain it... but I can't seem to create an OPATH filter to implement it).I have a multi-domain forest environment. User/Group/Contact objects in the companya.com AD domain should get an email address of the form SMTP:%1g%s@companya.com. Similarly, User/Group/Contact objects in the companyb.com AD domain should get an email addresses of the form SMTP:%1g%s@companyb.com.OK, easy to explain, but I cannot get an OPATH recipient filter to filter by domain. I have tried to use the RecipientFilter {userPrincipalName -like '*@companya.com'} and this works fine for users, but not for Groups/Contacts. I have tried to do similar matching with other OPATH attributes like canonicalName and distinguishedname but they do not allow wildcard matching. I am really stumped to find an OPATH attribute that contains the domain name and still allows me to perform matching!I can only believe that I am doing something really stupid, because this seems like a fairly standard EAP requirement and I cannot for the life of me figure out how to implement it.Ideas?
May 3rd, 2007 1:14am

Jim, We worked around a similar issue with groups but using a custom attribute field. This is the recipient filter I am using for one of our group email address policies: ((((RecipientType -eq 'MailEnabledUniversalDistributionGroup' -or RecipientType -eq 'MailEnabledUniversalSecurityGroup') -or RecipientType -eq 'MailEnabledNonUniversalGroup') -or RecipientType -eq 'DynamicDL') -and CustomAttribute1 -eq 'ColoState Group') --Nick
Free Windows Admin Tool Kit Click here and download it now
May 8th, 2007 2:37am

Hi Nick,So it seems you're using a CustomAttribute field as a substitute for the domain information in your EAP. However, when using the GUI, you can't set any CustomAttribute fields until after the object is created (after the EAP is applied).So with this solution are you forced to re-apply the Email Address Policies after creating each object?
May 9th, 2007 6:08pm

http://blogs.technet.com/evand/archive/2007/02/13/using-memberof-with-recipientfilter.aspx
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2007 11:17am

Jim, If you find a solution will you please post here ??? Looking for the same...
January 29th, 2008 7:02pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics