332 Chapter 6 • Managing the Hub Transport Server Role As you can see in Figure 6.11, you can choose between seven local e-mail address parts. The local part of an e-mail address is the name format appearing before the at sign (@). If none of the default seven local parts fi t what you need to use for your e-mail address policy, you can use the variables listed in Table 6.1. Table 6.1 Available E-Mail Address Parameters Variable Description %g Used for given name (fi rst name) %i Used for middle initial %s Used for surname (last name) %d Used for display name %m Used for Exchange alias %xs Uses the x number of letters of the surname. For example, if x = 2, then the fi rst two letters of the surname are used. %xg Uses the x number of letters of the given name. For example, if x = 2, then the fi rst two letters of the given name are used. 5. On the Schedule page, specify when the e-mail address policy should be applied and the maximum length of time it is permitted to run (Figure 6.12). Then, click Next. 6. On the Confi guration Summary page, click New. If you selected to apply the policy immediately, the proxy address will now be applied to all recipients matching the fi lter. When this task has completed, click Finish on the Completion page. TIP To create a new e-mail address policy via the Exchange Management Shell, you need to use the New-EmailAddressPolicy cmdlet. For example, to create a policy similar to the one we created using the GUI wizard, you would need to run the following command: New-EmailAddressPolicy –Name “Exchangedogfood.dk” –IncludedRecipients “MailboxUsers” –ConditionalCompany “Exchange Dogfood Corporation” –Priority “Lowest” –EnabledEmailAddressTemplates “SMTP:%g.%s@exchangedogfood.dk” Managing the Hub Transport Server Role • Chapter 6 333 When a new E-mail address policy has been created and applied to the recipients, you can verify that the proxy address has been stamped on the respective user objects under the E-Mail Addresses tab on the Properties page of a recipient object, as shown in Figure 6.13. Figure 6.12 The New E-Mail Address Wizard Schedule Page 334 Chapter 6 • Managing the Hub Transport Server Role When a recipient has Automatically Update E-mail Addresses Based On Email Address Policy option enabled, all primary e-mail addresses (default reply addresses) of e-mail address types will always be set from the e-mail address policy. This means that if you edit the primary address to be a different e-mail address, it will always revert back to the one specifi ed in the e-mail address policy. Transport Rules With the increasing complexity of government and industry regulations, there’s a greater need for effi cient management of internal message routing. Exchange 2007, or more specifi cally the Hub Transport Server role, now includes a new transport rules agent, providing an easy and fl exible way to Figure 6.13 The E-mail Addresses Tab on the User Mailbox Property Page Managing the Hub Transport Server Role • Chapter 6 335 set rules for internal message routing and content restriction throughout the Exchange organization. We can now, for example, append disclaimers to all messages sent within the organization, or create an ethical wall between two departments or groups that exchange confi dential data every day. An ethical wall can help isolate an individual or group from information to which they should not have access. Transport rules consist of three components: conditions, exceptions, and actions. These rules can be created under the Transport Rules tab. I’ll demonstrate to you how easy it is, for example, to append a disclaimer to all messages sent within the organization. To do so, perform the following steps: 1. Click the Transport Rules tab shown back in Figure 6.2. 2. Click New Transport Rule in the Action pane. 3. On the Introduction page of the New Transport Rule wizard, type Corporate Disclaimer, and enter a relevant comment, as shown in Figure 6.14. Figure 6.14 The New Transport Rule Wizard Introduction Page 336 Chapter 6 • Managing the Hub Transport Server Role 4. Click Next. 5. On the Conditions page, check from users inside or outside the organization (Figure 6.15), and then click Next. 6. Now, check append disclaimer text using font, size, color, with separator and fallback to action if unable to apply. In Step 2, click the disclaimer text link shown in Figure 6.16. Figure 6.15 The New Transport Rule Wizard Conditions Page . easy and fl exible way to Figure 6.13 The E-mail Addresses Tab on the User Mailbox Property Page Managing the Hub Transport Server Role • Chapter 6 335 set rules for internal message routing and. inside or outside the organization (Figure 6.15), and then click Next. 6. Now, check append disclaimer text using font, size, color, with separator and fallback to action if unable to apply. In. the Hub Transport Server Role • Chapter 6 333 When a new E-mail address policy has been created and applied to the recipients, you can verify that the proxy address has been stamped on the respective