Announcement

Collapse
No announcement yet.

Email address policy based on group membership

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Email address policy based on group membership

    Hi all and a happy newyear!

    How do i create a email address polisy for members of a group?

  • #2
    Re: Email address policy based on group membership

    1. Create a group
    2. Add users to the group
    3. Create Recipient Policy with a custom LDAP filter, such as:

    (&(ObjectCategory=*)(memberOf=CN=YOUR GROUP,OU=OU WHERE GROUP IS,DC=YOUR DOMAIN,DC=YOUR DOMAIN))

    Comment


    • #3
      Re: Email address policy based on group membership

      Hi.

      Think i need to give som more info.

      I´m trying to cread a shared hosting server for test use.

      i hame the pri. domain (test)
      testdom.local
      Hosting OU
      Company1
      Users
      Groups
      Company2
      Users
      Groups

      2 test users i each User OU and joind them in there company group, ompany1 group and Company2 Group

      Can i on exchange 2007 SP1 make a powershell command to giver members off Eks. company1 group company1.com as smtp address??

      Comment


      • #4
        Re: Email address policy based on group membership

        Hi.

        Tryed that but with no output at all.

        neither on this command:
        new-emailaddresspolicy "testdom EAP" -recipientfilter {(memberofgroup -eq "te
        stdom1,UO=groups,OU=testdom,OU=hosting,DC=cpit,DC= local") -and (recipienttype -eq testdom1)} -enabledprimarySMTPaddresstemplate 'SMTP:%g%[email protected]'

        Comment


        • #5
          Re: Email address policy based on group membership

          You asked this question on another forum. Asking it here will not give you any different answers.

          As you were told elsewhere, you cannot generate email addresses based on group membership. It is not something that Exchange 2007 supports. You have to use a custom attribute.

          Simon.
          --
          Simon Butler
          Exchange MVP

          Blog: http://blog.sembee.co.uk/
          More Exchange Content: http://exchange.sembee.info/
          Exchange Resources List: http://exbpa.com/
          In the UK? Hire me: http://www.sembee.co.uk/

          Sembee is a registered trademark, used here with permission.

          Comment


          • #6
            Re: Email address policy based on group membership

            Hi you are right, but some times its good to get several persons input, thats the reson for my post her to.

            I can not get costum to work, i have used Rui Silva´s guide
            http://www.msexchange.org/articles_t...007-part1.html

            But i get to a hold on the costum attribute... it dossend work.
            Wen i klik preveiw no users apear iven the are i the right OU and group

            Comment

            Working...
            X