Exclude one group from another group
Hi, I've got a user who would like to setup a special interest DL which would initially include all people in our site. He would then like to give people the option to opt out of the group. What I was thinking was to have a query based distribution list "Special Interest Group" and create an exclusion group "Not interested in the special interest group". We already have a site group, "Everyone in the Site". I would configure a custom filter on the special interest group to include all members of the site group, and exclude all members of the exclusion group. If both the site group and the exclusion group are flat, the special interest group filter works fine. The problem is, the site group uses a number of nested groups to capture all users in the site. The filter doesn't handle nested groups. Does anyone have any ideas as to how I could make this work? We're running Exchange 2003 and AD 2003.
February 15th, 2011 1:16am

On Tue, 15 Feb 2011 06:07:32 +0000, Freddofrog123 wrote: > > >Hi, > >I've got a user who would like to setup a special interest DL which would initially include all people in our site. He would then like to give people the option to opt out of the group. > >What I was thinking was to have a query based distribution list "Special Interest Group" and create an exclusion group "Not interested in the special interest group". We already have a site group, "Everyone in the Site". I would configure a custom filter on the special interest group to include all members of the site group, and exclude all members of the exclusion group. > >If both the site group and the exclusion group are flat, the special interest group filter works fine. The problem is, the site group uses a number of nested groups to capture all users in the site. The filter doesn't handle nested groups. > >Does anyone have any ideas as to how I could make this work? > >We're running Exchange 2003 and AD 2003. You can expand (unroll) the membership of the site group. You'll have to write code to do that, but there are examples of how to do it (using recursion, of course) to be found with big/google/any-other-search-engine. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
February 15th, 2011 12:37pm

Thanks Rich, That would work as a one off. The owner of the special interest group would have to run the script to generate the list of recipients before sending any emails, which would be a bit of a pain. I was hoping the built in functionality of AD/LDAP would be able to handle this, but maybe not.
February 15th, 2011 6:31pm

On Tue, 15 Feb 2011 23:24:33 +0000, Freddofrog123 wrote: >That would work as a one off. The owner of the special interest group would have to run the script to generate the list of recipients before sending any emails, which would be a bit of a pain. You'd populate the "exclusion group" with a scheduled task several times a day. >I was hoping the built in functionality of AD/LDAP would be able to handle this, but maybe not. You'd use LDAP (or probably ADSI since it's a lot easier to use) to get the membership of the group and then recurse through the membership whenever you encountered another group. Keep track of the groups you've already encountered to prevent getting into an endless loop. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
February 15th, 2011 8:05pm

Hi, · “Both the site group and the exclusion group are flat, the special interest group filter works fine. The problem is, the site group uses a number of nested groups to capture all users in the site. The filter doesn't handle nested groups”. It because of Connector restriction checking is turned off by default. More information about enable connector restriction: http://technet.microsoft.com/en-au/library/aa995617(EXCHG.80).aspx Nested distribution group found in delivery restrictions: http://technet.microsoft.com/en-au/library/aa998498(EXCHG.80).aspx
February 17th, 2011 4:43am

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

Other recent topics Other recent topics