ENTERPRISE

Microsoft Exchange Server 2010 : Creating and Managing E-Mail Address Policies (part 2) - Creating E-Mail Address Policies

7/22/2014 3:52:21 AM

Creating E-Mail Address Policies

You can create e-mail address policies for your organization by completing the following steps:

  1. In the Exchange Management Console, expand the Organization Configuration node, and select the Hub Transport node.

  2. On the E-Mail Address Policies tab, right-click an open area of the details pane, and then select New E-Mail Address Policy. This starts the New E-Mail Address Policy Wizard, as shown in Figure 2.

    Create a new e-mail address policy.

    Figure 2. Create a new e-mail address policy.

  3. On the Introduction page, use the Name text box to identify the e-mail address policy. You can use a descriptive name that identifies the purpose of the e-mail address policy or simply enter the actual SMTP domain name to which it applies.

  4. Use the Include These Recipient Types options to specify the types of recipients to include in the policy. Select All Recipient Types, or select The Following Specific Types and then select the check boxes for the types of recipients to which you want to apply the policy.

  5. Click Next. On the Conditions page, you can now set the filter conditions. The following types of conditions are available:

    • Recipient Is In A State Or Province Filters recipients based on the value of the State/Province field on the Address And Phone tab in the related Properties dialog box. Click the related In The Specified State Or Province link. In the Specify State Or Province dialog box, type a state or province to use as a filter condition and then press Enter or click Add. Repeat as necessary, and then click OK.

    • Recipient Is In A Department Filters recipients based on the value of the Department field on the Organization tab in the related Properties dialog box. Click the related In The Specified Department(s) link. In the Specify Department dialog box, type a department to use as a filter condition and then press Enter or click Add. Repeat as necessary, and then click OK.

    • Recipient Is In A Company Filters recipients based on the value of the Company field on the Organization tab in the related Properties dialog box. Click the related In The Specified Company link. In the Specify Company dialog box, type a company name to use as a filter condition and then press Enter or click Add. Repeat as necessary, and then click OK.

  6. Click Next. On the E-Mail Address page, click the small arrow to the right of Add, and then select SMTP Address. The SMTP E-Mail Address dialog box appears, as shown in Figure 3.

    Select options to generate e-mail addresses.

    Figure 3. Select options to generate e-mail addresses.

  7. Use the E-Mail Address Local Part options to specify how to generate or rewrite e-mail addresses automatically for each recipient to which the policy applies. You can use the Exchange alias or parts of the user name in various orders.

  8. Use the Select The Accepted Domain For The E-Mail Address drop-down list to select the e-mail address domain, and then click OK.

  9. Click Next. If you want to create and apply the policy immediately, select Immediately. To schedule the policy application, select At The Following Time, and then set the date and time to apply the policy.

  10. Click Next, and then click New to create and apply the policy or schedule the policy to be applied. After the policy is applied, e-mail addresses for recipients to which the policy applies will be rewritten.

  11. On the Completion page, click Finish.

In the Exchange Management Shell, you create and apply e-mail address policies using separate tasks. You can create e-mail address policies using the New-EmailAddressPolicy cmdlet. Once you create a policy, you apply it using the Update-EmailAddressPolicy cmdlet. Samples Example 2 and Example 3 provide the syntax and usage for these cmdlets.

Note

Any time you receive an error regarding missing aliases, you should run the Update-EmailAddressPolicy cmdlet with the –FixMissingAlias parameter set to $true. This tells Exchange to generate an alias for recipients who do not have an alias.

Example 2. New-EmailAddressPolicy cmdlet syntax and usage

Syntax

New-EmailAddressPolicy -Name PolicyName
-EnabledPrimarySMTPAddressTemplate Template
-IncludedRecipients RecipientTypes {AddtlParams} {ConditionalParams}

New-EmailAddressPolicy -Name PolicyName
-EnabledEmailAddressTemplates Templates -RecipientFilter Filter
[-DisabledEmailAddressTemplates Templates] {AddtlParams}

New-EmailAddressPolicy -Name PolicyName
-EnabledPrimarySMTPAddressTemplate Template
-RecipientFilter Filter {AddtlParams}

New-EmailAddressPolicy -Name PolicyName
-EnabledEmailAddressTemplates Templates
-IncludedRecipients RecipientTypes
[-DisabledEmailAddressTemplates Templates]
{AddtlParams} {ConditionalParams}

{AddtlParams}
[-DomainController DCName] [-Organization OrgId]
[-Priority Priority] [-RecipientContainer OUId]
{ConditionalParams}
[-ConditionalCompany CompanyNameFilter1, CompanyNameFilter2,... ]
[-ConditionalCustomAttributeN Value1, Value2, ...]
[-ConditionalDepartment DeptNameFilter1, DeptNameFilter2, ... ]
[-ConditionalStateOrProvince StateNameFilter1, StateNameFilter2, ... ]


Usage

New-EmailAddressPolicy -Name "Primary E-Mail Address Policy"
-IncludedRecipients "MailboxUsers, MailContacts, MailGroups"
-ConditionalCompany "City Power & Light"
-ConditionalDepartment "Sales","Marketing"
-ConditionalStateOrProvince "Washington","Idaho","Oregon"
-Priority "Lowest"
-EnabledEmailAddressTemplates "SMTP:%g.%s@cpandl.com"

Example 3. Update-EmailAddressPolicy cmdlet syntax and usage

Syntax

Update-EmailAddressPolicy -Identity PolicyIdentity
[-DomainController DCName] [-FixMissingAlias <$true | $false>]


Usage

Update-EmailAddressPolicy -Identity "Primary E-Mail Address Policy"

Update-EmailAddressPolicy -Identity "Primary E-Mail Address Policy"
-FixMissingAlias
Other  
  •  Windows 7 : Programming Multiple I/O Queues and Programming I/O - WatchDog Timer: Self-Managed I/O
  •  Windows 7 : Programming Multiple I/O Queues and Programming I/O - Reading and Writing the Registry
  •  Windows 7 : Programming Multiple I/O Queues and Programming I/O - Retrieving Requests from a Manual Queue
  •  Windows 7 : Programming Multiple I/O Queues and Programming I/O - Handling Requests from a Parallel Queue
  •  Windows 7 : Programming Multiple I/O Queues and Programming I/O - Creating and Configuring the Queues (part 2)
  •  Windows 7 : Programming Multiple I/O Queues and Programming I/O - Creating and Configuring the Queues (part 1)
  •  Microsoft Exchange Server 2010 : Managing Mailbox and public Folder Databases (part 2) - Moving Databases
  •  Microsoft Exchange Server 2010 : Managing Mailbox and public Folder Databases (part 1) - Mounting and Dismounting Databases
  •  Microsoft Exchange Server 2010 : Using Public Folder Databases (part 4) - Configuring Public Folder Referrals, Recovering Deleted Items from Public Folder Databases
  •  Microsoft Exchange Server 2010 : Using Public Folder Databases (part 3) - Configuring Public Folder Replication
  •  
    Top 10
    Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
    Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS