Email Address Policy based on UPN-domain (2007) RRS feed

  • Question

  • Hello Technet

    I have users in my testlab with different UPN suffix's. How can I set an email policy in exchange 2007, to apply only users with a specific UPN suffix.


    Best Regards

    Jesper Vindum, Denmark


    Tuesday, October 18, 2011 9:57 PM


  • Hi Jesper,

    Please make sure you have already created related Accepted Domain first.

    After that, please try this one:

    New-EmailAddressPolicy -Name "MyPolicy" -RecipientFilter {UserPrincipalName -like "*@UPN suffix"}  -EnabledPrimarySMTPAddressTemplate


    Frank Wang

    Forum Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact

    • Marked as answer by Jesper Vindum Wednesday, October 19, 2011 12:23 PM
    Wednesday, October 19, 2011 8:01 AM