Technical Architecture of Exchange Server 2007
Technical Architecture of Exchange Server 2007
Technical Architecture of Exchange Server 2007
Microsoft Corporation Published: May 2007 Author: Microsoft Exchange Documentation Team
Microsoft .NET Framework Version 2.0, Microsoft Management Console (MMC) 3.0, Windows PowerShell, Microsoft Active Directory; applies to all server roles except for Edge Transport and Active Directory Application Mode (ADAM) SP1; applies to Edge Transport server role.
Abstract
Microsoft Exchange Server 2007 introduces several architectural changes from previous versions of Exchange Server. This document provides descriptions and overviews of server roles, topologies, and the transport architecture for Exchange 2007. Important: This document is a compilation of Exchange Server 2007 Help topics and is provided as a convenience for customers who want to view the topics in print format. To read the most up-to-date technical architecture topics, visit the Exchange Server 2007 Library.
Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted in examples herein are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. 2007 Microsoft Corporation. All rights reserved. Microsoft, MS-DOS, Windows, Windows Media, Windows Mobile, Windows NT, Windows PowerShell, Windows Server, Windows Vista, Active Directory, ActiveSync, Excel, Forefront, Internet Explorer, Outlook, SharePoint, SmartScreen, and Visual Basic are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are property of their respective owners.
Contents
Technical Architecture of Exchange Server 2007..........................................................................................................1 Contents...................................................................................................................................3 Technical Architecture of Exchange Server 2007.....................................................................17 Exchange Server 2007: Platforms, Editions, and Versions.......................................................17 32-Bit vs. 64-Bit Version.......................................................................................................18 Exchange 2007 and Virtualization........................................................................................19 Exchange 2007 and Longhorn Server..................................................................................19 Evaluations and Product Keys.............................................................................................20 What's Missing from the 32-bit Version.................................................................................20 Final Build - Versioning........................................................................................................20 Server Roles...........................................................................................................................21 Overview of Server Roles....................................................................................................21 Client Access..........................................................................................................................22 Outlook Web Access............................................................................................................23 Exchange ActiveSync..........................................................................................................23 POP3 and IMAP..................................................................................................................24 The Availability Service........................................................................................................24 The Autodiscover Service....................................................................................................24 Overview of Client Access Server Security..............................................................................24 Overview of SSL for Client Access Servers..........................................................................25 Overview of Using ISA Server 2006 for Client Access..........................................................25 Configuring ISA Server 2006 for Exchange Client Access........................................................26 ISA Server 2006 and Exchange 2007...................................................................................26 Benefits of Using ISA Server 2006 with Exchange 2007.......................................................26 New Exchange Publishing Rule Wizard...............................................................................28 Understanding SSL for Client Access Servers.........................................................................29 Overview of Digital Certificates............................................................................................29 Types of Certificates............................................................................................................30 Choosing a Certificate Type.................................................................................................32 Overview of Exchange ActiveSync..........................................................................................33 Overview of Exchange ActiveSync.......................................................................................33 New Features in Exchange ActiveSync................................................................................33
Managing Exchange ActiveSync..........................................................................................34 Understanding Direct Push......................................................................................................35 Overview..............................................................................................................................36 Understanding Exchange ActiveSync Mailbox Policies............................................................39 Overview..............................................................................................................................39 Exchange ActiveSync Mailbox Policy Examples...................................................................42 Understanding Remote Device Wipe.......................................................................................43 Overview..............................................................................................................................43 Understanding Exchange ActiveSync Autodiscover.................................................................44 Overview of Autodiscover with Exchange ActiveSync...........................................................45 Understanding Mobile Device Connectivity..............................................................................46 Cellular Connectivity............................................................................................................46 Wireless Connectivity...........................................................................................................47 Understanding Mobile Devices................................................................................................47 Exchange ActiveSync Enabled Devices...............................................................................47 Devices Enabled for Exchange ActiveSync..........................................................................48 Overview of POP3 and IMAP4................................................................................................50 POP3 and IMAP4 Protocols.................................................................................................51 Managing POP3/IMAP4 Features........................................................................................51 Overview of Outlook Web Access............................................................................................51 Overview of Outlook Web Access........................................................................................51 Managing Outlook Web Access............................................................................................52 Overview of Outlook Anywhere................................................................................................52 Outlook Anywhere and Exchange 2007................................................................................52 Benefits of Using Outlook Anywhere....................................................................................52 Deploying Outlook Anywhere...............................................................................................53 Managing Outlook Anywhere...............................................................................................53 Coexistence.........................................................................................................................54 Recommendations for Outlook Anywhere................................................................................54 Using Your Own Certification Authority.................................................................................55 Overview of the Autodiscover Service......................................................................................55 Outlook 2007 and Autodiscover...........................................................................................56 How the Autodiscover Service Works...................................................................................56 Deployment Options for the Autodiscover Service................................................................58 Deployment Considerations for the Autodiscover Service........................................................59 Autodiscover Service Topology Requirements......................................................................59
Connecting to the Autodiscover Service from the Internet....................................................59 Configuring the Autodiscover Service to Use Site Affinity for Internal Communication..........61 Configuring the Autodiscover Service for Multiple Forests....................................................63 Hosted Environments and the Autodiscover Service............................................................64 Autodiscover Security..........................................................................................................65 Understanding Proxying and Redirection.................................................................................66 Overview of Proxying...........................................................................................................67 Overview of Redirection.......................................................................................................71 Proxying with Network Load Balancing................................................................................74 Summary of Client Access Methods.....................................................................................77 Proxying Performance and Scalability..................................................................................78 Edge Transport........................................................................................................................79 Mail Flow.............................................................................................................................79 Anti-Spam and Antivirus Functionality..................................................................................80 Messaging Policy and Compliance.......................................................................................80 Hub Transport.........................................................................................................................81 Transport Policy and Compliance.........................................................................................82 Mailbox...................................................................................................................................83 Mailbox Server Interactions..................................................................................................83 Understanding Recipients.......................................................................................................86 Exchange 2007 Recipient Types..........................................................................................86 Understanding Recipient Restrictions......................................................................................96 Message Size Restrictions...................................................................................................96 Message Delivery Restrictions.............................................................................................98 Maximum Recipients per Message Restrictions...................................................................99 Mailbox Size Restrictions.....................................................................................................99 Understanding Recipient Scope............................................................................................101 Recommendations for Working with Recipient Scope.........................................................102 Setting the Recipient Scope...............................................................................................103 Understanding Disconnected Mailboxes................................................................................106 Working with Disconnected Mailboxes...............................................................................107 Understanding Offline Address Books...................................................................................109 Outlook Clients and OAB Version.......................................................................................110 OAB Distribution Methods..................................................................................................111 OAB Considerations...........................................................................................................117 Understanding Address Lists.................................................................................................118 Default Address Lists..........................................................................................................119
Custom Address Lists........................................................................................................120 Best Practices for Creating Address Lists...........................................................................121 Improvements in Exchange 2007.......................................................................................121 Understanding E-Mail Address Policies.................................................................................122 Improvements in Exchange 2007.......................................................................................123 Understanding Exchange Search..........................................................................................124 Improvements Over Exchange Server 2003 Content Indexing...........................................125 Exchange Search and Attachments...................................................................................125 Difference Between Exchange Search and Exchange Store Search..................................126 Differences Between Using Outlook Online Mode and Cached Exchange Mode Search....126 Exchange Search and Localization....................................................................................127 Scenarios Where Exchange Search Could Return Unexpected Results.............................127 Understanding the Availability Service...................................................................................128 Improvements Over Exchange 2003 Free and Busy..........................................................130 Out-of-Office Information....................................................................................................131 Performance......................................................................................................................132 Distribution Group Handling...............................................................................................132 Availability Service API.......................................................................................................133 Understanding Quota Messages...........................................................................................133 Storage Quotas..................................................................................................................133 Quota Messages................................................................................................................134 Understanding the Exchange 2007 Store..............................................................................136 Storage Features in Exchange 2007 Enterprise and Standard Editions..............................137 Logical Components of the Exchange Store..........................................................................138 Storage groups..................................................................................................................139 Mailbox Databases............................................................................................................139 Public Folder Databases....................................................................................................140 File Structure of the Exchange Store.....................................................................................140 Storage Group Files...........................................................................................................140 Recommendations for Configuring Storage Groups and Databases......................................143 Recommended Database Sizing........................................................................................143 Recommended Databases per Storage Group...................................................................143 Recommended Disk Configuration.....................................................................................144 Understanding Transaction Logging......................................................................................145 Exchange Transaction Logging..........................................................................................145 Lost Log Resilience and Transaction Log Activity in Exchange 2007.....................................148 Lost Log Resiliency............................................................................................................149
Transaction Log Roll..........................................................................................................149 Extensible Storage Engine Architecture.................................................................................150 Transactions......................................................................................................................151 ACID Transactions.............................................................................................................151 The Version Store..............................................................................................................152 Snapshot Isolation.............................................................................................................152 ESE Database Structure....................................................................................................153 Database Pages................................................................................................................153 ECC Checksum.................................................................................................................154 Database Consistency and -1018 Errors............................................................................154 Database Tree Balancing...................................................................................................155 Split...................................................................................................................................156 Merge................................................................................................................................156 Fan-Out.............................................................................................................................157 Indexes..............................................................................................................................157 Long-Values.......................................................................................................................157 Record Format...................................................................................................................158 Column Data Types............................................................................................................158 Fixed and Variable Columns..............................................................................................159 Tagged Columns................................................................................................................159 Understanding Public Folders................................................................................................160 Creation of the Public Folder Database During Setup........................................................160 Public Folder Management................................................................................................161 Public Folder Trees............................................................................................................161 Public Folder Replication...................................................................................................162 Mail-Enabled Public Folders...............................................................................................163 Considerations with Mixed Exchange 2007 and Exchange 2003 Organizations.................163 Best Practices....................................................................................................................165 Understanding Messaging Records Management.................................................................167 Messaging Records Management Strategy........................................................................168 Unified Messaging.................................................................................................................170 Unified Messaging Architecture.............................................................................................173 Overview of Unified Messaging Services............................................................................173 Service Ports.....................................................................................................................175 Unified Messaging Services...............................................................................................176 Overview of Telephony Concepts and Components...............................................................179 Overview............................................................................................................................179 Concepts and Components................................................................................................180 Circuit-Switched Networks.................................................................................................180
Packet-Switched Networks.................................................................................................181 PBX...................................................................................................................................182 IP/PBX...............................................................................................................................183 VoIP...................................................................................................................................183 IP/VoIP Gateways..............................................................................................................183 Understanding Protocols, Ports, and Services in Unified Messaging.....................................184 UM Protocols and Services................................................................................................184 Port Assignments...............................................................................................................186 Understanding PBX and IP/PBX Configurations....................................................................187 Overview of Telephony Systems........................................................................................187 Legacy and Traditional PBX Configurations.......................................................................190 IP/PBX Configurations.......................................................................................................192 Calling or Called Party Identification...................................................................................194 Overview of Unified Messaging Components........................................................................196 Active Directory Unified Messaging Objects.......................................................................197 Auto Attendants.................................................................................................................197 Subscriber Access.............................................................................................................198 Understanding Unified Messaging Incoming Call Handling....................................................199 Overview............................................................................................................................199 Voice Calls.........................................................................................................................199 Fax Calls............................................................................................................................200 Outlook Voice Access.........................................................................................................200 The Play on Phone Feature...............................................................................................201 UM Auto Attendants...........................................................................................................201 Understanding Unified Messaging Subscriber Access...........................................................202 Subscriber Access.............................................................................................................202 Outlook Voice Access.........................................................................................................203 Understanding Unified Messaging Audio Prompts.................................................................206 Overview of Audio Prompts and Greetings.........................................................................206 System Prompts.................................................................................................................208 UM Dial Plan Greetings and Announcements.....................................................................208 UM Auto Attendant Greetings, Announcements, and Menu Prompts..................................209 Customizing Greetings, Announcements, and Menu Prompts............................................211 Understanding Unified Messaging Audio Codecs..................................................................212 UM Audio Codecs..............................................................................................................212 UM Message Sizing...........................................................................................................213 Understanding Custom Prompt Distribution...........................................................................215 Overview............................................................................................................................215
Architecture........................................................................................................................216 Changing the Prompt Publishing Point...............................................................................219 Understanding Unified Messaging Languages.......................................................................220 UM Language Packs..........................................................................................................220 UM Language Components and Features..........................................................................222 Unified Messaging Languages...........................................................................................224 Understanding Automatic Speech Recognition Directory Lookups.........................................226 Overview of Grammar Files................................................................................................227 Default Grammar Files.......................................................................................................227 Grammar Generation.........................................................................................................229 Customizing Grammar Files...............................................................................................234 Understanding the DTMF Interface........................................................................................235 DTMF Overview.................................................................................................................235 UM Dial Plans and Dial by Name.......................................................................................236 DTMF Maps.......................................................................................................................237 DTMF Maps for Users Who Are Not Enabled for UM..........................................................237 DTMF Maps for Users Who Are Enabled for UM................................................................239 Understanding Storage Quotas and Voice Mail......................................................................240 UM Dial Plans....................................................................................................................240 Storage Quotas..................................................................................................................241 Voice Mail Delivery.............................................................................................................242 Understanding Unified Messaging VoIP Security...................................................................244 Protecting Unified Messaging.............................................................................................245 Types of Certificates..........................................................................................................248 Configuring MTLS..............................................................................................................252 IPsec.................................................................................................................................253 UM Dial Plans and VoIP Security.......................................................................................254 How UM Determines Security Mode and Selects Certificates.............................................256 Understanding Faxing in Unified Messaging..........................................................................257 Overview of Faxing............................................................................................................258 Faxing with Unified Messaging...........................................................................................263 Faxing Configuration Options.............................................................................................265 Journaling UM Fax Messages............................................................................................269 Understanding Operator Transfers in Unified Messaging.......................................................270 Overview of Operators in Unified Messaging......................................................................270 Dial Plan Operators............................................................................................................272 Auto Attendant Operators...................................................................................................275 Personal Operators............................................................................................................280
Understanding Outdialing......................................................................................................281 Overview............................................................................................................................281 Outdialing Settings.............................................................................................................284 Configuring Outdialing........................................................................................................287 Applying Configured Dialing Rule Groups..........................................................................289 Understanding Dial Codes, Number Prefixes and Formats....................................................291 Overview............................................................................................................................291 Outside Line Access Code.................................................................................................295 National Number Prefix......................................................................................................295 In-Country/Region Access Code........................................................................................295 International Access Code..................................................................................................296 In-Country/Region and International Number Formats........................................................296 Overview of Unified Messaging Active Directory Objects.......................................................297 UM Active Directory Objects...............................................................................................297 Understanding Unified Messaging Hunt Groups....................................................................299 What is a Hunt Group?.......................................................................................................299 Pilot Number......................................................................................................................300 UM Hunt Groups................................................................................................................300 Understanding Unified Messaging Auto Attendants................................................................301 Auto Attendants.................................................................................................................301 UM Auto Attendants...........................................................................................................302 Auto Attendant with Multiple Languages.............................................................................303 Auto Attendant Examples...................................................................................................304 Understanding Unified Messaging Dial Plans........................................................................306 Overview of UM Dial Plans.................................................................................................307 How Dial Plans Work.........................................................................................................309 Outlook Voice Access.........................................................................................................309 Understanding Unified Messaging IP Gateways....................................................................310 Overview of IP/VoIP Gateways...........................................................................................310 IP Gateway Objects............................................................................................................311 Enabling and Disabling UM IP Gateways...........................................................................312 Understanding Unified Messaging Mailbox Policies...............................................................312 UM Mailbox Policies...........................................................................................................312 Unified Messaging Policy Examples...................................................................................313 Understanding Unified Messaging Servers............................................................................314 Computer Objects..............................................................................................................314 Server Operation................................................................................................................315
Understanding Unified Messaging Users...............................................................................316 User UM Properties...........................................................................................................317 The Relationship of the UM User to Other Active Directory Objects....................................317 Overview of the Unified Messaging Call Processing..............................................................318 Incoming Calls Overview....................................................................................................318 Message Flow....................................................................................................................319 Unified Messaging Voice and Fax Call Processing................................................................320 Voice and Fax Incoming Messages....................................................................................320 Unified Messaging Outlook Voice Access Call Processing.....................................................322 Outlook Voice Access.........................................................................................................322 Outlook Voice Access Message Flow.................................................................................322 Unified Messaging Auto Attendant Call Processing................................................................324 UM Auto Attendants...........................................................................................................324 Auto Attendant Message Flow............................................................................................324 Unified Messaging Play on Phone Call Processing................................................................326 Play on Phone...................................................................................................................326 Overview of Unified Messaging Server Topologies................................................................328 Unified Messaging Topology That Has a Single PBX..........................................................328 Unified Messaging Topology That Has Multiple PBXs.........................................................329 Services Installed by Exchange Setup...................................................................................331 Topologies.............................................................................................................................342 Exchange Delivery Locations.............................................................................................342 Exchange Topology Layers................................................................................................343 Logical Topologies.................................................................................................................344 Core Logical Topologies.....................................................................................................345 Physical Topologies...............................................................................................................346 Centralized vs. Distributed Messaging Systems.................................................................346 Characteristics of a Centralized Messaging System...........................................................347 Important Considerations...................................................................................................347 Characteristics of a Distributed Messaging System............................................................348 Important Considerations...................................................................................................349 Active Directory Forest Topologies........................................................................................350 Active Directory Forests.....................................................................................................350 Active Directory Domains...................................................................................................355 Active Directory Sites.........................................................................................................355 Active Directory Deployment Scenarios.............................................................................356
Organization Topologies........................................................................................................358 Network Layer of an Exchange Topology...........................................................................358 Active Directory Layer of an Exchange Topology................................................................360 Exchange Layer of an Exchange Topology.........................................................................363 Exchange Organization Topology Definitions......................................................................364 Transport Architecture...........................................................................................................365 Understanding Active Directory Site-Based Routing..............................................................369 Overview of Message Routing in Exchange 2007...............................................................369 Intra-organizational Routing Components..........................................................................372 Active Directory Sites.........................................................................................................374 IP Site Links.......................................................................................................................376 Exchange 2007 Routing Tables..........................................................................................380 Determining the Ultimate Destination.................................................................................382 Determining the Least Cost Routing Path...........................................................................384 Next Hop Selection............................................................................................................386 Rerouting and the Unreachable Queue..............................................................................396 Message Routing in a Coexistence Environment...................................................................397 Routing Changes...............................................................................................................397 Introducing the First Exchange 2007 Server.......................................................................398 Creating Additional Routing Group Connectors..................................................................399 Coexistence and Link State................................................................................................400 SMTP Connectors..............................................................................................................401 Anti-Spam and Antivirus Functionality....................................................................................403 Anti-Spam and Antivirus Filters..........................................................................................404 Anti-Spam Stamps.............................................................................................................406 Microsoft Update for Anti-Spam Services...........................................................................406 Using Exchange Hosted Services......................................................................................407 Anti-Spam Stamps................................................................................................................408 Viewing the Anti-Spam Stamps..........................................................................................408 Anti-Spam Report..............................................................................................................408 Phishing Confidence Level Stamp......................................................................................413 Spam Confidence Level Stamp..........................................................................................413 Sender ID Stamp...............................................................................................................414 Attachment Filtering..............................................................................................................415 Types of Attachment Filtering in Exchange 2007................................................................415 File Filtering by Using Forefront Security for Exchange Server...........................................416 Connection Filtering..............................................................................................................417 IP Allow Lists and IP Block Lists.........................................................................................418
Content Filtering....................................................................................................................421 Using the Content Filter Agent...........................................................................................422 Recipient Filtering..................................................................................................................424 Recipient Data Sources.....................................................................................................426 Tarpitting Functionality.......................................................................................................426 Multiple Namespaces.........................................................................................................427 Sender Filtering.....................................................................................................................428 Sender ID..............................................................................................................................429 Using Sender ID to Combat Spoofing.................................................................................429 Sender Reputation................................................................................................................431 Calculation of the Sender Reputation Level........................................................................431 Use of the SRL..................................................................................................................434 Safelist Aggregation..............................................................................................................435 Information Stored in the Outlook User's Safelist Collection...............................................435 How Exchange Uses the Safelist Collection.......................................................................436 Hashing of Safelist Collection Entries.................................................................................436 Enabling Safelist Aggregation............................................................................................437 Adjusting the Spam Confidence Level Threshold...................................................................438 SCL Threshold Actions in Exchange 2007..........................................................................439 Best Practice for Setting Up and Adjusting SCL Thresholds...............................................440 Spam Quarantine..................................................................................................................441 Spam Confidence Level.....................................................................................................441 Using Spam Quarantine.....................................................................................................442 Using Exchange Hosted Services......................................................................................443 Understanding Anti-Spam and Antivirus Mail Flow.................................................................443 Connection Filtering...........................................................................................................447 Sender Filtering.................................................................................................................449 Recipient Filtering..............................................................................................................449 Sender ID Filtering.............................................................................................................450 Content Filtering.................................................................................................................452 Attachment Filtering...........................................................................................................453 Antivirus Scanning.............................................................................................................454 Outlook Junk E-mail Filtering.............................................................................................455 Configuring Anti-Spam Features to Reduce the Volume of Spam..........................................456 Strategy.............................................................................................................................456 Anti-Spam Updates...............................................................................................................458 Manual Updates.................................................................................................................459
Automatic Updates.............................................................................................................459 Planning Antivirus Deployment..............................................................................................459 Running Antivirus Software on Edge Transport and Hub Transport Servers.......................460 Running Antivirus Software on Other Computers in the Organization.................................460 Using Exchange Hosted Services......................................................................................462 Transport Policy and Compliance Agents..............................................................................462 Using Exchange Hosted Services......................................................................................463 Understanding How Transport Rules Are Applied in an Exchange 2007 Organization............463 Transport Rule Scope........................................................................................................464 Transport Rule Replication.................................................................................................464 Predicates..........................................................................................................................465 Actions...............................................................................................................................467 Understanding Ethical Walls..................................................................................................467 Understanding Attorney-Client Privileged Communication.....................................................467 Understanding Journal Reports.............................................................................................468 What is a Journal Report?..................................................................................................468 Journal Report Fields.........................................................................................................468 Examples of Journal Reports.............................................................................................473 Protecting Journal Reports....................................................................................................475 Protecting Journal Reports Sent Inside an Exchange 2007 Organization...........................476 Protecting Journal Reports Sent to Third-Party Solution Providers.....................................476 Understanding How to Manage Journal Reports....................................................................477 Journaling Mailbox Size.....................................................................................................478 Alternate Journaling Mailbox..............................................................................................478 Understanding Journaling in a Mixed Exchange Server 2003 and Exchange Server 2007 Environment.......................................................................................................................480 Journaling in Exchange 2003.............................................................................................480 Journaling in Exchange 2007.............................................................................................480 How Exchange 2003 and Exchange 2007 Identify Journal Reports and Journaled Messages .......................................................................................................................................481 Exchange 2003 and Exchange 2007 Journaling Interoperability.........................................482 Distribution Group Expansion.............................................................................................484 Understanding Edge Subscriptions........................................................................................486 Edge Subscription Process................................................................................................486 Resubscribing an Edge Transport Server...........................................................................491 Removing an Edge Subscription........................................................................................492 Adding an Edge Transport Server......................................................................................493
Adding or Removing a Hub Transport Server.....................................................................494 Verifying EdgeSync Results...............................................................................................494 EdgeSync Replication Data...................................................................................................495 Types of Data Replicated to ADAM....................................................................................496 Understanding the EdgeSync Synchronization Process........................................................501 Microsoft Exchange EdgeSync Service..............................................................................501 EdgeSync Synchronization Process...................................................................................502 Synchronization Schedule..................................................................................................504 EdgeSync and Send Connectors...........................................................................................505 Automatically Created Send Connectors............................................................................506 Manually Configuring Send Connectors.............................................................................510 Understanding Edge Subscription Credentials.......................................................................512 Edge Subscription Process................................................................................................513 EdgeSync Replication Accounts.........................................................................................514 Authenticating Initial Replication.........................................................................................516 Authenticating Scheduled Synchronization Sessions.........................................................517 Renewing EdgeSync Replication Accounts........................................................................518 Understanding Back Pressure...............................................................................................518 Options for Configuring Back Pressure..............................................................................519 How Back Pressure is Applied............................................................................................526 Back Pressure Logging Information....................................................................................529 Understanding Header Firewall.............................................................................................531 Custom Organization X-Headers and Forest X-Headers that Are Used in Exchange 2007. 531 Header Firewall for Organization X-Headers and Forest X-Headers...................................533 Header Firewall for Routing Headers.................................................................................539 Header Firewall and Earlier Versions of Exchange Server..................................................543 Understanding Content Conversion.......................................................................................546 Understanding the Structure of E-mail Messages...............................................................546 Exchange 2007 and Outlook Message Formats.................................................................550 Elements of Content Conversion........................................................................................553 Content Conversion Performed by the Store Driver............................................................555 TNEF Conversion Options.....................................................................................................555 TNEF Conversion Options for Messages That are Sent to Remote Domains.....................555 TNEF Conversion Options for Messages That are Sent to Mail Users and Mail Contacts...557 TNEF Conversion Options for Messages That are Available in Outlook..............................559 Order of Precedence for TNEF Conversion Options...........................................................561 Message Encoding Options...................................................................................................562
Message Encoding Options for Messages That are Sent to Remote Domains...................563 Message Encoding Options for Mail Users and Mail Contacts............................................566 Message Encoding Options That are Available in Outlook..................................................571 Order of Precedence for Message Encoding Options.........................................................574 Managing Content Conversion Tracing..................................................................................577 Configuring Content Conversion Tracing............................................................................577 How Content Conversion Tracing Works............................................................................578 Considerations for Content Conversion Tracing.................................................................579 Understanding Recipient Resolution......................................................................................580
17
Architectural information for developers can be found in the Exchange 2007 Software Development Kit (SDK).
18
product key to go from the Standard Edition to the Enterprise Edition. You can also re-license the server using the same edition product key. For example, if you had two Standard Edition servers with two keys, but you accidentally used the same key on both servers, you can change the key for one of them to be the other key that you were issued. You can take these actions without having to reinstall or reconfigure anything. After you enter the product key and restart the Microsoft Exchange Information Store service, the edition corresponding to that product key will be reflected. However, you cannot use product keys to downgrade from the Enterprise Edition to the Standard Edition, nor can you use them to revert to the Trial Edition. These types of downgrades can only be done by uninstalling Exchange 2007, reinstalling Exchange 2007, and entering in the correct product key. Exchange 2007 also comes in two client access license (CAL) editions, which are also called the Standard Edition and the Enterprise Edition. You can mix and match the server editions with the CAL editions. For example, you can use Enterprise CALs against the Standard server edition. Similarly, you can use Standard CALs against the Enterprise server edition. The Enterprise CAL is an additive CAL, which means that you buy the Standard CAL, and then add on an Enterprise CAL on top of it. An Enterprise CAL provides you with the features listed in the last column of the Exchange 2007 CAL Offerings table. Note that, as that page says, some of the listed features can only be purchased through a volume license program, and they are not available as retail purchases. When you're ready to buy Exchange 2007, see How to Buy Exchange Server 2007.
19
Although the 64-bit version can be the Standard Edition or the Enterprise Edition, the 32-bit version is always and only the Standard Edition. Single copy clusters (SCC) and cluster continuous replication (CCR) are only supported in production on the Enterprise Edition of Exchange 2007. However, Microsoft has made an exception in the 32-bit version code to allow SCC and CCR to be used for non-production use on the 32-bit version, even though the 32-bit version is the Standard Edition. This means that you can set up a 32-bit test lab for evaluating or testing SCC and CCR. Because it's 32-bit, you can create the non-production environments in a Microsoft Virtual Server environment for your lab or demos. See Video series - Exchange 2007 Cluster Continuous Replication (CCR) for a video demonstration of CCR that uses a virtual environment. Note: You can also install Unified Messaging (UM) with the 32-bit version in a non-production environment so that you can evaluate the UM-related features. For details about using a software-based UM test phone to test or demo UM features, see Testing Unified Messaging Server Functionality.
20
21
An exception to this version mismatch problem is present on the Edge Transport server. That will always and only display 685.25 for the version. This makes things interesting when looking at several Exchange servers in the Exchange Management Console that include one or more synchronized Edge Transport servers because the Version column will show both 685.24 (for non-Edge Transport servers) and 685.25 (for Edge Transport servers). Also, when you click Help | About Exchange Server 2007, you'll see a different version number altogether: 685.018. This happens on all Exchange 2007 servers. These versioning discrepancies are expected to be resolved in Service Pack 1 for Exchange 2007. Finally, if you use the Get-ExchangeServer cmdlet and examine the ExchangeVersion property, you'll notice yet another different version number: 0.1 (8.0.535.0). However, this number does not refer to the version of an installed product, but rather it refers to the minimum version of the product that can read the object. In this case, any Exchange server that is version 8.0.535.0 or later can read this object because the last changes to this object's schema were made in build 8.0.535.0.
Server Roles
In previous versions of Microsoft Exchange Server, administrators were offered limited choices on what features could or could not be installed. For example, in Exchange Server 2003 and Exchange 2000 Server, the setup process installed all features regardless of which features the administrator planned to use. This behavior required the administrator to turn off or disable the undesired features. Because organizations tend to group their management tasks around a core set of server roles, Exchange Server 2007 maps Exchange Server management to this more natural way of doing things. System management in Exchange 2007 fundamentally shifts the administrative experience for deploying and managing servers to focus on server roles.
22
Offers a simple installation, and the ability to fully customize a server to support your business goals and needs.
Client Access
In Microsoft Exchange Server 2007, there are five server roles that you can install and then configure on a computer that is running Microsoft Windows Server 2003. This topic provides an overview of the Client Access server role. The Client Access server role supports the Microsoft Office Outlook Web Access and Microsoft Exchange ActiveSync client applications, and the Post Office Protocol version 3 (POP3) and Internet Message Access Protocol version 4rev1 (IMAP4) protocols. The Client Access server role also provides access to free/busy data by using the Availability service and enables clients that are running Microsoft Outlook 2007 and certain mobile operating systems to download automatic configuration settings from the Autodiscover service. The Client Access server role accepts connections to your Exchange 2007 server from a variety of different clients. Software clients such as Microsoft Outlook Express and Eudora use POP3 or IMAP4 connections to communicate with the Exchange server. Hardware clients, such
23
as mobile devices, use ActiveSync, POP3, or IMAP4 to communicate with the Exchange server. You must install the Client Access server role in every Exchange organization. For more information about the new client features in Exchange Server 2007, see New Client Functionality.
Exchange ActiveSync
Exchange ActiveSync lets you synchronize data between your mobile device and Exchange 2007. You can synchronize e-mail, contacts, calendar information, and tasks. Devices that run Microsoft Windows Mobile software, including Windows Mobile powered Pocket PC 2002, Windows Mobile powered Pocket PC 2003, and Windows Mobile 5.0, are all supported. If you use a device that has Windows Mobile 5.0 and the Messaging Security and Feature Pack (MSFP) installed, your mobile device will support Direct Push. Direct Push is a technology that is built into Exchange ActiveSync that keeps a mobile device continuously synchronized with an Exchange mailbox. For more information about Exchange ActiveSync, see the following topics: Overview of Exchange ActiveSync Deploying Exchange ActiveSync Managing Exchange ActiveSync
24
25
encrypted. Also by default, Secure Sockets Layer (SSL) is required on all virtual directories, and a self-signed certificate is installed.
26
27
Feature
Description
How To
ISA Server 2006 balances the request from the client to an array of published servers. This eliminates the need to deploy Network Load Balancing (NLB) on the published array.
Web load balancing features are automatically implemented when you publish Outlook Web Access and Outlook Anywhere. Outlook Web Access automati cally selects a rule by using cookie-based load balancing. With cookie-based load balancing, all requests related to the same session (the same unique cookie provided by the server in each response) are forwarded to the same server. Outlook Anywhere uses sourceIP based load balancing. With source-IP based load balancing, all requests from the same client (source) IP address are forwarded to the same server. ISA Server 2006 implements link translation automatically when you configure Web publishing for Outlook Web Access.
Link Translation
Some published Web sites may include references to internal names of computers. Because only the ISA Server 2006 firewall and external namespaces are available to external clients, these references appear as broken links. ISA Server 2006 includes a link translation feature that you can use to create a dictionary of definitions for internal computer names that map to publicly known names.
28
Feature
Description
How To
For authenticated and encrypted client access, ISA Server 2006 provides end-toend security and application layer filtering by using SSL-toSSL bridging. This means that encrypted data is inspected before it reaches the Exchange server. The ISA Server 2006 firewall decrypts the SSL stream, performs stateful inspection, and then re-encrypts the data and forwards it to the published Web server. Stateful inspection is a firewall architecture that works at the network layer. Unlike static packet filtering, which examines a packet based on the information in its header, stateful inspection tracks each connection traversing all interfaces of the firewall and makes sure they are valid.
ISA Server 2006 implements SSL Bridging Support automatically when you configure Web publishing for Outlook Web Access.
In addition to the features listed in Table 1, ISA Server 2006 is designed to work specifically with the client access methods that you can use with Exchange 2007.
29
Exchange ActiveSync When you deploy ISA Server 2006 for Exchange ActiveSync, you use the New Exchange Publishing Rule Wizard on the Firewall Policy tasks. This new wizard shows you the specific settings that must be configured to allow for Exchange ActiveSync access. Follow the instructions in the New Exchange Publishing Rule Wizard for ISA Server 2006 to configure your Exchange deployment to use Exchange ActiveSync. Outlook Anywhere When you deploy ISA Server 2006 for Outlook Anywhere, you use the New Exchange Publishing Rule Wizard on the Firewall Policy tasks. This new wizard shows you the specific settings that must be configured to allow for Outlook Anywhere access. Follow the instructions in the New Exchange Publishing Rule Wizard for ISA Server 2006 to configure your Exchange deployment to use Outlook Anywhere. POP3 and IMAP4 Access When you deploy ISA Server 2006 for POP3 and IMAP4 access to Exchange 2007, you use the New Exchange Publishing Rule Wizard on the Firewall Policy tasks. This new wizard shows you the specific settings that must be configured to allow for POP3 and IMAP4 access. Follow the instructions in the New Exchange Publishing Rule Wizard for ISA Server 2006 to configure your Exchange deployment to use POP3 and IMAP4.
30
communications. A certificate is a digital statement that is issued by a certification authority (CA) that vouches for the identity of the certificate holder and enables the parties to communicate in a secure manner by using encryption. Digital certificates do the following: They authenticate that their holderspeople, Web sites, and even network resources such as routersare truly who or what they claim to be. They protect data that is exchanged online from theft or tampering.
Digital certificates can be issued by a trusted third-party CA or a Microsoft Windows public key infrastructure (PKI) by using Certificate Services, or they can be self-signed. Each type of certificate has advantages and disadvantages. Each type of digital certificate is tamper-proof and cannot be forged. Certificates can be issued for several uses. These uses include Web user authentication, Web server authentication, Secure/Multipurpose Internet Mail Extensions (S/MIME), Internet Protocol security (IPsec), Transport Layer Security (TLS), and code signing. A certificate contains a public key and attaches that public key to the identity of a person, computer, or service that holds the corresponding private key. The public and private keys are used by the client and the server to encrypt the data before it is transmitted. For Microsoft Windows-based users, computers, and services, trust in a CA is established when there is a copy of the root certificate in the trusted root certificate store and the certificate contains a valid certification path. For the certificate to be valid, the certificate must not have been revoked and the validity period must not have expired.
Types of Certificates
There are three primary types of digital certificates: self-signed certificates, Windows PKIgenerated certificates, and third-party certificates.
Self-Signed Certificates
When you install Exchange 2007, a self-signed certificate is automatically configured. A selfsigned certificate is signed by the application that created it. The subject and the name of the certificate match. The issuer and the subject are defined on the certificate. A self-signed certificate will allow some client protocols to use SSL for their communications. Microsoft Exchange ActiveSync and Office Outlook Web Access can establish an SSL connection by using a self-signed certificate. Outlook Anywhere will not work with a self-signed certificate. Self-signed certificates must be manually copied to the trusted root certificate store on the client computer or mobile device. When a client connects to a server over SSL and the server presents a self-signed certificate, the client will be prompted to verify that the certificate was issued by a trusted authority. The client must explicitly trust the issuing authority. If the client continues, SSL communications can continue.
31
Frequently, small organizations decide not to use a third-party certificate or not to install their own PKI to issue their own certificates because of the expense, because their administrators lack the experience and knowledge to create their own certificate hierarchy, or for both reasons. The cost is minimal and the setup is simple when you use self-signed certificates. However, it is much more difficult to establish an infrastructure for certificate life-cycle management, renewal, trust management, and revocation when you use self-signed certificates.
32
For more information about how to deploy a Windows-based PKI, see the Windows Server 2003 PKI Operations Guide.
33
Windows SharePoint Services and Universal Naming Convention (UNC) document access PIN reset Enhanced device security through password policies Autodiscover for over the air provisioning Support for Out of Office configuration Support for tasks synchronization
34
Direct Push
Note: The ability to use Autodiscover depends on the mobile device operating system that you are using. Not all mobile device operating systems that support synchronization with Exchange Server 2007 also support Autodiscover. For more information about which operating systems support Autodiscover, contact the manufacturer of your mobile device. Note: Many of these features require the use of the latest version of Windows Mobile that is currently in development. For more information about the new features in Exchange ActiveSync, see Client Features In Exchange ActiveSync.
Set policies such as minimum password length, device locking, and maximum failed password attempts Initiate a remote wipe to clear all data off a lost or stolen device Run a variety of reports for viewing or exporting into a reporting solution
35
36
Overview
For Direct Push to work, you must have a device that is Direct Push capable. These devices include the following: Cellular telephones that have Windows Mobile 5.0 and the Messaging & Security Feature Pack (MSFP) and later versions of Windows Mobile software. Cellular telephones or mobile devices that are produced by Exchange ActiveSync licensees and are designed specifically to be Direct Push compatible. By default, Direct Push is enabled in Exchange 2007. Mobile devices that support Direct Push issue a long-lived HTTPS request to the Exchange server. The Exchange server monitors activity on the users mailbox and sends a response to the device if there are any changes, such as new or changed e-mail messages or calendar or contact items. If changes occur within the lifespan of the HTTPS request, the Exchange server issues a response to the device that states that changes have occurred and the device should initiate synchronization with the Exchange server. The device then issues a synchronization request to the server. When synchronization is complete, a new long-lived HTTPS request is generated to start the process over again. This guarantees that e-mail, calendar, contact, and task items are delivered quickly to the mobile device and the device is always synchronized with the Exchange server.
Direct Push operates in the following way: 1. A mobile device that is configured to synchronize with an Exchange 2007 server issues an HTTPS request to the server. This request is known as a ping. The request tells the server to notify the device if any items change in any folder that is configured to synchronize in the next 15 minutes. Otherwise, the server should return an HTTP 200 OK message. The mobile device will then stand by. The 15-minute time span is known as a heartbeat interval. 2. If no items change in 15 minutes, the server returns a response of HTTP 200 OK. The mobile device receives this response, resumes activity (called waking up), and issues its request again. This restarts the process. 3. If any items change or new items are received within the 15 minute heartbeat interval, the server sends a response that informs the mobile device that there is a new or changed item and the name of the folder in which the new or changed item resides. After the mobile device receives this response, it issues a synchronization request for the folder that has the new or changed items. When synchronization is complete, the mobile device issues a new ping request and the whole process starts over. Direct Push depends on network conditions that support a long-standing HTTPS request. If the carrier network for the mobile device or the firewall does not support long-standing HTTPS
38
requests, the HTTPS request is stopped. The following steps describe how Direct Push operates when a mobile device's carrier network has a time-out value of 13 minutes. 1. A mobile device issues an HTTPS request to the server. The request tells the server to notify the device if any items change in any folder that is configured to synchronize in the next 15 minutes. Otherwise, the server should return an HTTP 200 OK message. The mobile device then stands by. 2. If the server does not respond after 15 minutes, the mobile device wakes up and concludes that the connection to the server was timed out by the network. The device reissues the HTTPS request, but this time uses a heartbeat interval of eight minutes. 3. After eight minutes, the server sends an HTTP 200 OK message. The device will then try to gain a longer connection by issuing a new HTTPS request to the server that has a heartbeat interval of 12 minutes. 4. After four minutes, a new e-mail message is received and the server responds by sending an HTTPS request that tells the device to synchronize. The device synchronizes and reissues the HTTPS request that has a heartbeat of 12 minutes. 5. After 12 minutes, if there are no new or changed items, the server responds by sending an HTTP 200 OK message. The device wakes up and concludes that network conditions will support a heartbeat interval of 12 minutes. The device will then try to gain a longer connection by reissuing an HTTPS request that has a heartbeat interval of 16 minutes. 6. After 16 minutes, no response is received from the server. The device wakes up and concludes that network conditions cannot support a heartbeat interval of 16 minutes. Because this failure occurred directly after the device tried to increase the heartbeat interval, it concludes that the heartbeat interval has reached its maximum limit. The device then issues an HTTPS request that has a heartbeat interval of 12 minutes because this was the last successful heartbeat interval. The mobile device tries to use the longest heartbeat interval the network supports. This extends battery life on the device and minimizes the amount of data that is transferred over the network. Mobile carriers can specify a maximum, minimum, and initial heartbeat value in the registry settings for the mobile device.
39
TCP port 443 is required for Secure Sockets Layer (SSL) and must be opened between the Internet and the Exchange Server computer that has the Client Access server role installed. In addition to opening ports on your firewall, for optimal Direct Push performance, you should increase the time-out value on your firewall from the default to 15 to 30 minutes. The maximum length of the HTTPS request is determined by the following settings: The maximum time-out that is set on the firewalls that control the traffic from the Internet to the Exchange server that has the Client Access server role installed The firewall time-outs that are set by the mobile carrier
A short time-out value causes the device to initiate a new HTTPS request more frequently. This can shorten battery life on your device. For more information about how to configure your firewall, see the ISA Server Product Documentation.
Overview
Exchange ActiveSync mailbox policies let you apply a common set of policy or security settings to a user or group of users. Table 2 summarizes the settings that you can specify by using Exchange ActiveSync mailbox policies.
Allows older devices (those that do not support the Autodiscover service) to connect to Exchange 2007 by using Exchange ActiveSync. Enables or disables the ability to use a simple password such as 1234. Requires that a password contains numeric and non-numeric characters. Enables attachments to be downloaded to the mobile device. Enables encryption on the device. Enables the device password. Enables the administrator to configure a length of time after which a device password must be changed. The number of past passwords stored in the user's mailbox. A user cannot reuse a previously stored password. Defines how frequently the device updates the Exchange ActiveSync policy from the server. Specifies the maximum size of attachments that are automatically downloaded to the device. Specifies how many times an incorrect password can be entered before the device performs a wipe of all data. Specifies the length of time a device can go without user input before it locks. Specifies the minimum password length. Enables the device password to be recovered from the server. Enables access to files stored on Universal Naming Convention (UNC) shares.
Allow simple password Alphanumeric password required Attachments enabled Device encryption enabled Password enabled Password expiration
Password history
Maximum inactivity time lock Minimum password length Password recovery UNC file access
41
Setting
Description
For example, you can create a policy that you apply to all users in your Exchange organization. Table 3 lists the settings that this policy could have. Table 3 Sample Exchange ActiveSync mailbox policy settings for all users
Setting Value
Allow non-provisionable devices Allow simple password Alphanumeric password required Attachments enabled Device encryption enabled Password enabled Password expiration Password history Maximum attachment size Maximum failed password attempts Minimum password length UNC file access WSS file access
False False True True True True 10 days 8 passwords stored 500 kilobytes (KB) 4 4 Disabled Disabled
Note: You do not have to specify all policy settings when you create a new Exchange ActiveSync mailbox policy. Any policy setting that you do not explicitly set will retain its default value. Exchange ActiveSync mailbox policies can be created in the Exchange Management Console or the Exchange Management Shell. If you create a policy in the Exchange Management Console, you can configure only a subset of the available settings. You can configure the rest of the settings by using the Exchange Management Shell. You do not have to assign a user to an Exchange ActiveSync mailbox policy. Table 4 summarizes the policy settings that are used if you do not assign a user to a policy.
Allow non-provisionable devices Allow simple password Alphanumeric password required Attachments enabled Device encryption enabled Password enabled Password expiration Password history Policy refresh interval Document browsing enabled Maximum attachment size Maximum failed password attempts Maximum inactivity time lock Minimum password length Password recovery UNC file access WSS file access
True False False True False False Unlimited 0 Unlimited True Unlimited 4 15 minutes 4 Disabled Enabled Enabled
Overview
Mobile devices can store sensitive corporate data and provide access to many corporate resources. If a device is lost or stolen, that data can be compromised. Through
44
Exchange ActiveSync policies, you can add a password requirement to your mobile devices. This requires that users enter a password to access their device. We recommend that, in addition to requiring a device password, you configure your devices to automatically prompt for a password after a period of inactivity. The combination of a device password and inactivity locking provides more security for your corporate data. In addition to these features, Exchange 2007 provides remote device wipe. You can issue a remote wipe command from the Exchange Management Shell. Users can issue their own remote wipe commands from the Outlook Web Access user interface. The remote device wipe feature also includes a confirmation function that writes a timestamp in the sync state data of the user's mailbox. This timestamp is displayed in Outlook Web Access and in the user's mobile device properties dialog box in the Exchange Management Console. Important: In addition to resetting the device to factory default condition, a remote device wipe also deletes any data on any storage card that is inserted in the device. If you are performing a remote device wipe on a device in your possession and want to retain the data on the storage card, remove the storage card before you initiate the remote device wipe.
45
device by returning the required system settings after you enter your e-mail address and password. By default, the Autodiscover service is enabled in Exchange 2007.
1. The user enters their e-mail address and password on the device. 2. The device connects to a root DNS server to retrieve the URL for the Autodiscover service and the IP address for the user's domain. 3. The device uses a Secure Sockets Layer (SSL) connection to connect through the firewall to the Autodiscover service virtual directory. The Autodiscover service assembles the XML response based on the server synchronization settings. 4. The Autodiscover service sends the XML response through the firewall over SSL. This XML response is interpreted by the device and synchronization settings are configured automatically on the device. Note: The ability to use Autodiscover depends on the operating system of the mobile device that you are using. Not all mobile device operating systems that support synchronization with Exchange Server 2007 support Autodiscover. For more information about operating systems that support Autodiscover, contact the manufacturer of your device.
46
Cellular Connectivity
All mobile devices that are enabled for Exchange ActiveSync can use cellular connectivity to synchronize with Exchange 2007. There are several different types of cellular data networks. Regardless of the type of cellular data network that your mobile device uses, the method of synchronization is the same. If the operating system of your device is Windows Mobile 5.0 with the Messaging & Security Feature Pack or Windows Mobile 6.0, synchronization is accomplished through Direct Push. If your device has another operating system, manual synchronization is used. When a device uses Direct Push to synchronize with Exchange 2007, it establishes a long-standing HTTPS connection with the Exchange server. When the connection is first established, the device sets a what is called a heartbeat interval. The default heartbeat interval is 15 minutes. If any new messages are added to monitored folders on the Exchange server within this heartbeat interval, the server informs the device and the device initiates synchronization. When synchronization is complete, a new HTTPS request is initiated and the process is repeated. For more information about Direct Push, see Understanding Direct Push. Cellular data plans can charge by the minute, by the megabyte, or offer unlimited data transfer. When you use a cellular data connection with Exchange 2007 Direct Push, we recommend purchasing an unlimited data plan.
47
Wireless Connectivity
Many of the mobile devices that are enabled for Exchange ActiveSync can connect to a wireless LAN. Connecting to a wireless LAN can provide faster network speeds and better coverage in areas where cellular coverage is unreliable. In addition, wireless access is sometimes offered at commercial locations such as coffee shops and book stores. The primary disadvantage to using wireless connectivity is that Direct Push will not work over a wireless LAN. Users who connect over a wireless LAN can perform manual synchronizations or configure scheduled synchronizations as frequently as every five minutes.
48
49
Direct Push
HTML e-mail support Message flags Quick message retrieval Enhanced calendar views Meeting attendee information Out of Office management Exchange se arch Windows Sha rePoint Services and Windows file share (UNC) document access
Enforcement of Exchange Active Sync mailbox policies Remote device wipe Certificatebased authentication S/MIME support (with Exchange 2007 S P1) Device storage card encryption Rights management support
50
Operating System
Productivity Enhancements
Security Enhancements
Administration Enhancements
Windows Mobile powered devices with the Messaging & Security Feature Pack
Direct Push
Enforcement of Exchange Active Sync mailbox policies Remote device wipe Certificatebased authentication S/MIME support (with Exchange 2007 S P1)
Microsoft Ope rations Manager integration and reporting Diagnostic tasks and health monitoring
Secure Sockets Layer (SSL) encryption Basic authentication Integration with Internet Security and Acceleration (ISA) Server
Microsoft Ope rations Manager integration and reporting Diagnostic tasks and health monitoring
For more information about how to manage Windows Mobile powered devices, visit the Windows Mobile Center Web site.
51
52
53
You can use the same URL and namespace that you use for Microsoft Exchange ActiveSync and Outlook Web Access. You can use the same Secure Sockets Layer (SSL) server certificate that you use for both Outlook Web Access and Exchange ActiveSync. Unauthenticated requests from Outlook cannot access Exchange servers. Clients must trust the certification authority that issues the certificate.
You do not have to use a virtual private network (VPN) to access Exchange servers across the Internet. You must allow only port 443 through your firewall, because Outlook requests use HTTP over SSL. If you already use Outlook Web Access with SSL or Exchange ActiveSync with SSL, you do not have to open any additional ports from the Internet.
54
Coexistence
Outlook Anywhere can be used in environments where Exchange 2003 is still being used. If you have users who have mailboxes located on Exchange 2003 servers, and these users are using Outlook 2007 or Outlook 2003, you must configure these clients manually. For more information about Outlook Anywhere coexistence, see How to Configure Outlook Anywhere with Exchange 2003.
55
Therefore, you must make sure that the client computers trust the certification authority. Additionally, if you use your own certification authority, when you issue a certificate to your Client Access server, you must make sure that the Common Name field or the Issued to field on that certificate contains the same name as the URL of the Client Access server that is available on the Internet. For example, the Common Name field or the Issued to field must contain a name that resembles mail.contoso.com. These fields cannot contain the internal fully qualified domain name of the computer. For example, they cannot contain a name that resembles mycomputer.contoso.com.
56
The Autodiscover service uses a user's e-mail address and password to provide profile settings to Outlook 2007 clients and supported mobile devices. If the Outlook 2007 client is joined to the domain, the user's domain account is used. Note: The Autodiscover service is available for Outlook 2007 clients and some mobile devices. Earlier versions of Outlook, including Microsoft Outlook 2003, cannot use the Autodiscover service.
The URLs for various Outlook features that govern such functionality as free/busy information, Unified Messaging, and the offline address book Outlook Anywhere server settings
When a user's Microsoft Exchange information is changed, Outlook automatically reconfigures the user's profile by using the Autodiscover service. For example, if a user's mailbox is moved or the client is unable to connect to the user's mailbox or to available Exchange features, Outlook will contact the Autodiscover service and automatically update the user's profile to have the information that is required to connect to the mailbox and Exchange features. The following sections provide information that you must have to successfully deploy the Autodiscover service for your organization.
57
When a user periodically checks for changes to the Exchange Web Services URLs.
When underlying network connection changes occur in your Exchange messaging environment. Additionally, a new Active Directory object named the service connection point (SCP) is created when you install the Client Access server role. The SCP object contains the authoritative list of Autodiscover service URLs for the forest. You can update the SCP object by using the Set-ClientAccessServer cmdlet. For more information about the Set-ClientAccessServer cmdlet, see Set-ClientAccessServer. Important: Before you save the new Active Directory object, make sure that the Authenticated Users account has Read permissions for the SCP object. If users do not have the correct permissions, they will be unable to search for and read items. For more information about SCP objects, see Publishing with Service Connection Points. Figure 4 illustrates how a client connects to a Client Access server the first time from inside the internal network. Figure 4 The Autodiscover service process for internal access
For external access, the client locates the Autodiscover service on the Internet by using the primary SMTP domain address from the user's e-mail address. Depending on whether you have configured the Autodiscover service on a separate site, the Autodiscover service URL will be either https://<smtp-address-domain>/autodiscover/autodiscover.xml or https://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml. Figure 5 illustrates a simple topology with a client connecting from the Internet.
When the client connects to the Active Directory directory service, the client looks for the SCP object that was created during Setup. In deployments that include multiple Client Access servers, an Autodiscover SCP object is created for each Client Access server. The SCP object contains the ServiceBindingInfo attribute that has the FQDN of the Client Access server in the form of https://CAS01/autodiscover/autodiscover.xml, where CAS01 is the FQDN for the Client Access server. By using the user credentials, the Outlook 2007 client authenticates to Active Directory and searches for the Autodiscover SCP objects. After the client obtains and enumerates the instances of the Autodiscover service, the client connects to the first Client Access server in the enumerated list and obtains the profile information in the form of XML data that is needed to connect to the user's mailbox and available Microsoft Exchange features.
59
information about how to deploy the Autodiscover service, see Deployment Considerations for the Autodiscover Service.
60
autodiscover.contoso.com. For information about how to configure your SSL certificate to use a Subject Alternative Name, see How to Configure SSL Certificates to Use Multiple Client Access Server Host Names. Additionally, you must correctly configure your Exchange services, such as the Availability service, before the Autodiscover service can provide the correct external URLs to clients. For more information, see How to Configure Exchange services for the Autodiscover service. When the client tries to connect to your Microsoft Exchange deployment, the client locates the Autodiscover service on the Internet by using the primary SMTP domain address from the user's e-mail address. Based on whether you have configured the Autodiscover service to have a separate name from your organization's existing DNS host name, the Autodiscover service URL will be either https://<smtp-address-domain>/autodiscover/autodiscover.xml or https://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml. For example, if the user's e-mail address is monica@contoso.com, the Autodiscover service should be located at either https://contoso.com/autodiscover.xml or https://autodiscover.contoso.com/autodiscover/autodiscover.xml. This means that you must have a host record for the Autodiscover service added to your external DNS zone. For more information, see How to Configure the Autodiscover Service for Internet Access.
61
3. (Optional) Update the SCP Object You must update the service connection point (SCP) object in the Active Directory directory service to specify to which Client Access server and Autodiscover virtual directory you want clients to connect. For more information, see How to Configure the Autodiscover Service for Internet Access. Figure 6 illustrates an environment in which the Autodiscover service is deployed in a different Active Directory site than the Active Directory site where your Exchange servers reside. Figure 6 Using multiple sites with the Autodiscover service
In Figure 6, the Internet Security and Acceleration (ISA) Server 2006 firewall is publishing two sites by using two Web listeners. The first site, autodiscover.contoso.com, provides access to the Autodiscover virtual directory on the Client Access server and is assigned to one IP address. For internal traffic on the Client Access server, configure one Web listener and publish all virtual directories on this site. The second site, mail.contoso.com, provides access to the other Exchange features and has a unique second IP address. Do not publish the Autodiscover virtual directory on this site.
Configuring the Autodiscover Service to Use Site Affinity for Internal Communication
If you manage a large, distributed organization that has Active Directory sites that are separated by low-bandwidth network connectivity, we recommend that you use site affinity for the Autodiscover service for intranet-based traffic. To use site affinity, you specify which Active Directory sites are preferred for clients to connect to a particular Autodiscover service instance. Specifying which Active Directory sites are preferred is also known as configuring site scope. You configure site affinity by using the Set-ClientAccessServer cmdlet. This cmdlet lets you specify the preferred Active Directory sites for connecting to the Autodiscover service on a specific Client Access server. After you configure site affinity for the Autodiscover service, the
62
client will connect to the Autodiscover service as you specified. For information on the SetClientAccessServer cmdlet, see Set-ClientAccessServer. Consider a topology that includes one forest with three sites that have the following names: US-contoso A contoso site that is located in North America Europe-contoso A contoso site that is located in Europe APAC-contoso A contoso site that is located in Asia
In this example, the Autodiscover service is enabled on each site and each site includes user mailboxes. The US-contoso site is connected to the Europe-contoso site by using a high-speed connection. The US-contoso site is connected to the APAC-contoso site by using a low-speed connection. The APAC-contoso site is connected to the Europe-contoso site by using a highspeed connection. Based on these connectivity factors, you might want to allow users in the US-contoso and Europe-contoso sites to use either the US-contoso or the Europe-contoso site, users in Europe-contoso site to use any site to access the Autodiscover service, and users in the APACcontoso site to use the APAC-contoso or the Europe-contoso site. Finally, the Client Access servers can be reached by using a common internal namespace across all sites. You can configure site scope for Client Access servers in the US-contoso site, setting them to prefer to use the US-contoso and Europe-contoso Active Directory sites to access the Autodiscover service by using the following command. Set-ClientAccessServer -Identity "us-cas" -AutodiscoverServiceInternalURI "https://internal.contoso.com/autodiscover/autodiscover.xml" -AutodiscoverServiceSiteScope "us-contoso,europe-contoso You do not have to specify the Active Directory sites to which your users should connect to access the Autodiscover service on Client Access servers in the Europe-contoso site because it connects well to other sites. The following command enables all users in the Europe-Contoso site to access any Client Access server to use the Autodiscover service: Set-ClientAccessServer -Identity "europe-cas" -AutodiscoverServiceInternalURI "https://internal.contoso.com/autodiscover/autodiscover.xml" Finally, you can configure site scope for the Autodiscover service on Client Access servers in the APAC-contoso site, setting them to prefer to use the APAC-contoso and Europe-contoso sites because they connect well to these sites. To do this, use the following command: Set-ClientAccessServer -Identity "apac-cas" -AutodiscoverServiceInternalURI "https://internal.contoso.com/autodiscover/autodiscover.xml" -AutodiscoverServiceSiteScope "apac-contoso,europe-contoso
63
Therefore, if a client in the US-contoso site has a mailbox located in the Europe-contoso site and tries to locate the Autodiscover service, the client can select the service instance that has site=US-contoso or site=Europe-contoso. If you do not specify site scope for the Autodiscover service, the client might return the autodiscoverInternalUri parameter for the APAC-contoso site because of the slow connection to the US-contoso site. Note: If you do not configure a specific set of Active Directory sites for clients to use, Outlook 2007 will randomly select Client Access servers to use to access the Autodiscover service. For more information about site affinity, see How to Configure Autodiscover to Use Site Affinity.
64
65
For each hosted e-mail domain, you should set up a site together with its corresponding DNS entries. For example, the domain named for example contoso.no should be called autodiscover.contoso.no, and the domain named example.contoso.se should be called autodiscover.contoso.se. In the site in Figure 7, there is no need for any virtual directories and you do not have to set up SSL certificates. In IIS Manager, configure redirection for each of your sites to https://mail.contoso.com/autodiscover/autodiscover.xml. Note: These sites should be configured only for HTTP (port 80) traffic. When you configure redirection on these sites, you must use anonymous access and disable authenticated access. Also, make sure that you do not configure other options such as The exact URL entered above, A directory below URL entered, and A permanent redirection for this resource. Configuring redirection in this manner ensures that the Outlook 2007 client receives an HTTP 302 response. After you configure redirection, Outlook 2007 clients will try to connect to https://contoso.no/autodiscover/ and https://autodiscover.contoso.no/autodiscover/ by using an HTTP POST request. Because these sites are unavailable, Outlook will try an HTTP GET request to http://autodiscover.contoso.no/autodiscover. Note: No information, such as the user's e-mail address and password, is sent in this request. Because redirection is configured on this site, IIS will return a 302 redirection response for https://mail.contoso.com/. The client will receive the response and prompt the user to accept or reject the request. The user must accept this request. After this occurs, the client will then be redirected by using an HTTPS POST request. In this example, there will be no security alert. Finally, the client will receive the necessary Autodiscover service response. Note: When you configure a redirector to redirect clients to a new site, as in the previous example, additional SSL certificates are not required. However, you must configure additional IIS sites.
Autodiscover Security
If you use a separate site for the Autodiscover service together with an advanced firewall server such as ISA Server 2006, you must configure ISA Server 2006 to have two Web listeners. ISA Server Web listeners are used to indicate the IP address and port for the client to use. The first Web listener is used for the Autodiscover service and the second Web listener is used for the other Microsoft Exchange features, such as Microsoft Exchange ActiveSync and Outlook
66
Anywhere. You can configure the SSL certificate for a single site that uses both Web listeners by using the subject alternate name property of the certificate. For more information, see How to Configure SSL Certificates to Use Multiple Client Access Server Host Names. By default, Exchange 2007 Setup offers the option to install a self-signed SSL certificate. It is best not to use self-signed certificates for external sites. We recommend that you use a certificate from a trusted certification authority. For more information about how to create and use valid SSL certificates, see the following topics: How to Create a Certificate or Certificate Request for TLS How to Obtain a Server Certificate from a Certification Authority How to Add Certificate Manager to Microsoft Management Console
67
Overview of Proxying
An Exchange 2007 Client Access server can proxy requests in the following two situations: Between Exchange 2007 Client Access servers Proxying requests between two Exchange 2007 Client Access servers enables organizations that have multiple Active Directory sites to designate one Client Access server as an Internet-facing server and have that server proxy requests to Client Access servers in sites that have no Internet presence. The Internet-facing Client Access server then proxies the request to the Client Access server that is closest to the user's mailbox. This is known as CAS-CAS proxying. Between an Exchange 2007 Client Access server and an Exchange Server 2003 front-end server Proxying requests between an Exchange 2007 Client Access server and a Microsoft Exchange Server 2003 front-end server enables Exchange 2007 and Exchange 2003 to coexist in the same organization. External clients who connect to Outlook Web Access by using the \Exchange virtual directory or connect to Exchange ActiveSync by using the \Microsoft-Server-ActiveSync virtual directory will have their requests proxied to the appropriate Exchange 2003 back-end server Proxying is supported for clients that use Outlook Web Access, Exchange ActiveSync, Exchange Web Services, and the Availability service. Figure 8 illustrates how proxying works in an organization that has multiple Client Access servers and multiple mailbox servers. Note: In each Exchange organization, only one Client Access server must be Internet-facing. A Client Access server that has no Internet presence does not have to have its own Internet host name. It relies on the Internet-facing Client Access server to proxy all pertinent requests from external clients. Note: Proxying will not work for Post Office Protocol version 3 (POP3) or Internet Message Access Protocol version 4rev1 (IMAP4) clients. A client who is using POP3 or IMAP4 must connect to a Client Access server in the same Active Directory site as their Mailbox server.
In the previous figure, the mailbox of User 1 is located on Mailbox server 01. The mailbox of User 2 is located on Mailbox server 02, and the mailbox of User 3 is located on Mailbox server 03. User 1 can access their mailbox through Client Access server 01 without using proxying. If User 1 tries to access Client Access server 02 by using Exchange ActiveSync, they will receive an error because Client Access server 01 is the appropriate Client Access server for their mailbox. If they try to access Client Access server 02 by using Outlook Web Access, their browser will display a message that includes the correct URL for their Client Access server. This process is known as redirection. If User 3 tries to access Client Access server 02, that server will proxy their request to Client Access server 03. Client Access server 03 is not Internet-facing but can receive requests from other servers inside the firewall. Proxying is not visible to the user. Note: Communications between Client Access servers in different sites occur over Secure HTTP (HTTPS).
69
2. If the user's mailbox is on an Exchange 2003 server, the incoming request is proxied to the Exchange 2003 server that hosts the user's mailbox and the Exchange ActiveSync virtual directory. By default, in Exchange 2003, the Exchange ActiveSync virtual directory was installed on all mailbox servers. If the incoming request is to an Exchange 2007 Client Access server that is in a different Active Directory site than the destination back-end server, the request will be proxied directly to the destination back-end server, even if there is an Exchange 2007 Client Access server within the destination Active Directory site. If the incoming request is to an Exchange 2007 Client Access server within the same Active Directory site as the destination back-end server, the request will be proxied directly to the destination back-end server. 3. If the user's mailbox is on an Exchange 2007 Mailbox server, CAS-01 locates a Client Access server in the same Active Directory site as the user's Mailbox server. If there is a Client Access server that is closer to the user's Mailbox server, Exchange 2007 determines whether the Client Access server has the InternalURL property configured and if the authentication method is Integrated Windows authentication. If so, the user is proxied to the Client Access server specified by the InternalURL property. Otherwise, the request is rejected. An error code is returned to the mobile device if the request is rejected. Important: Proxying is not supported between virtual directories that use Basic authentication. For client communications to be proxied between virtual directories on different servers, the virtual directories must use Integrated Windows authentication.
70
3. If the user's mailbox is on an Exchange 2007 mailbox server, CAS-01 locates a Client Access server that is in the same Active Directory site as the user's mailbox server. When one is found, Exchange 2007 determines whether the Client Access server has the InternalURL property configured and if the authentication method on the virtual directory is set to Integrated Windows authentication. CAS-01 then determines whether an external URL is specified. If so, the user is redirected to the server that is specified by the ExternalURL property. If an external URL is not specified, CAS-01 will proxy the user's request to the Client Access server that is specified by the InternalURL property. Note: An internal URL is configured automatically during Exchange 2007 Setup. For Client Access servers that do not have an Internet presence, the ExternalURL property should be set to $null.
Proxying Configuration
If your Client Access server is Internet-facing, set the ExternalURL property on the Exchange ActiveSync and Outlook Web Access virtual directories by using the Exchange Management Console or the Exchange Management Shell. The InternalURL property is configured automatically during the initial setup of Exchange 2007 and should rarely have to be changed. The ExternalURL property should contain the domain name that is registered for your Exchange organization in DNS. Table 6 contains the appropriate values for the ExternalURL and InternalURL properties for an Internet-facing Client Access server for the Exchange organization that is named www.contoso.com. Table 7 contains the appropriate ExternalURL and InternalURL property values for a non-Internet-facing Client Access server in a second Active Directory site for www.contoso.com. You must configure the authentication method on all these virtual directories to be Integrated Windows authentication. Proxying is not supported for virtual directories that use other authentication methods. Note: If new Outlook Web Access virtual directories are created by using the Exchange Management Shell, you must manually configure the InternalURL property on those virtual directories. Table 6 Proxying InternalURL and ExternalURL settings for an Internet-facing Client Access server
Exchange 2007 service InternalURL setting ExternalURL setting
https://computername/OWA
https://www.contoso.com/OW A
71
InternalURL setting
ExternalURL setting
https://computername/EWS https://computername/AS
https://www.contoso.com/EWS https://www.contoso.com/AS
Table 7 Proxying InternalURL and ExternalURL settings for a non-Internet-facing Client Access server
Exchange 2007 service InternalURL setting ExternalURL setting
Outlook Web Access Exchange ActiveSync Exchange Web Services Availability service
https://computername/OWA
$N$Null
For more information about how to configure virtual directories, see the following topics: Managing Exchange ActiveSync Virtual Directories Managing Outlook Web Access Virtual Directories in Exchange Server 2007
Overview of Redirection
Outlook Web Access users who access an Internet-facing Client Access server that is in a different Active Directory site than the site that contains their mailbox can be redirected to the Client Access server that is in the same site as their Mailbox server if that Client Access server is Internet-facing. When an Outlook Web Access user tries to connect to a Client Access server that is outside the Active Directory site that contains their Mailbox server, they will see a Web page that contains a link to the correct Client Access server for their mailbox. Figure 9 illustrates how redirection works in an organization that has multiple Client Access servers in multiple Active Directory sites.
In the previous figure, the mailbox of User 1 is located on Mailbox server 01. The mailbox of User 2 is located on Mailbox server 02, and the mailbox of User 3 is located on Mailbox server 03. User 1 can access their mailbox through Client Access server 01 without using redirection. If User 1 tries to access Client Access server 02, their browser will display a message that includes the correct URL for their Client Access server. The user will be prompted to click the Outlook Web Access URL for their Client Access server. They will not be redirected automatically. If User 3 tries to access Client Access server 02, that server will proxy their request to Client Access server 03. Client Access server 03 is not Internet-facing, but can receive requests from other servers within the firewall. Proxying is not visible to the user. Note: Redirection is supported only for clients that use Outlook Web Access. Clients that use Exchange ActiveSync, Exchange Web Services, POP3, and IMAP4 cannot use redirection. Note: When you install Exchange 2007, four virtual directories are created for Outlook Web Access: owa, Exchange, Public, and ExchWeb. The owa virtual directory provides access to Exchange 2007 mailboxes. The Exchange and Public virtual directories provide Exchange 2003 mailbox access. If a user who has a mailbox on an Exchange 2003 server logs on by using https://server name/owa, they will receive an error telling them that their mailbox is on an Exchange 2003 server. They must use the Exchange virtual directory. If they log on by using https://server name/Exchange, the Exchange 2007 Client Access server will proxy their request to the
73
Exchange 2003 mailbox server. If a user who has a mailbox on Exchange 2007 accesses Outlook Web Access by using https://server name/owa, they will be able to access their mailbox directly. If they log on to Outlook Web Access by using https://server name/Exchange, they will be redirected to https://server name/owa.
Configuring Redirection
If your Client Access server is Internet-facing, set the ExternalURL property on the Outlook Web Access virtual directories by using the Exchange Management Console or the Exchange Management Shell. The InternalURL property is configured automatically during the initial setup of Exchange 2007 and should rarely have to be changed. You must also configure the authentication method on these virtual directories to be Integrated Windows authentication. Redirection is not supported for virtual directories that use other authentication methods. The following two tables list the ExternalURL and InternalURL settings for Client Access servers in two Active Directory sites for Contoso. The two sites are www.usa.contoso.com and www.europe.contoso.com. Note: If new Outlook Web Access virtual directories are created by using the Exchange Management Shell, you must manually configure the InternalURL property on those virtual directories. For more information about how to manage Outlook Web Access virtual directories, see Managing Outlook Web Access Virtual Directories in Exchange Server 2007. Table 8 Redirection InternalURL and ExternalURL settings for an Internet-facing Client Access server in the usa.contoso.com site
Exchange 2007 service InternalURL setting ExternalURL setting
https://computername/OWA
https://www.usa.contoso.com/ OWA
Table 9 Redirection InternalURL and ExternalURL settings for an Internet-facing Client Access server in the europe.contoso.com site
Exchange 2007 service InternalURL setting ExternalURL setting
https://computername/OWA
https://www.europe.contoso.co m/OWA
Disabling Redirection
If your organization has multiple Internet-facing Active Directory sites and the Internet connection to one of those sites is disabled, you can temporarily disable redirection and
74
configure Outlook Web Access to use proxying instead. After the Internet connection in the site that has the problem is restored, you can reinstate redirection. You can disable redirection by using the Set-OWAVirtualDirectory cmdlet with the following syntax: set-owavirtualdirectory "owa (default web site)" -RedirectToOptimalOWAServer $false To restore redirection, use the same cmdlet and change the RedirectToOptimalOWAServer parameter to $true.
Table 10 lists the settings for the virtual directories that are on the Client Access servers CAS01 and CAS-02 for the Internet-facing Active Directory site www.contoso.com.
75 Table 10 Virtual directory settings for Internet-facing Client Access servers in an organization that uses NLB
Virtual directory InternalURL setting ExternalURL setting Authentication method
/OWA
https://computername /OWA
https://www.contoso.c om/OWA
Forms-based authentication if the Internet Security and Acceleration (ISA) Server computer is using forms-based authentication. If the ISA Server computer is not using formsbased authentication, use Integrated Windows authentication. Integrated Windows authentication
https://www.contoso.c om /OAB
https://www.contoso.c Integrated Windows om /UnifiedMessaging authentication https://www.contoso.c om /Microsoft-ServerActiveSync https://www.contoso.c om /EWS Integrated Windows authentication Integrated Windows authentication
The non-Internet-facing Active Directory site has three servers: CAS-03, CAS-04, and CAS-05. Table 11 lists the settings for the virtual directories for all three servers. Table 11 Virtual directory settings for non-Internet-facing Client Access servers in an organization that uses NLB
Virtual directory InternalURL setting ExternalURL setting Authentication method
$Null $Null
https://NLBname/OAB $Null
76
Virtual directory
InternalURL setting
ExternalURL setting
Authentication method
$Null $Null
$Null
The ExternalURL property for all the virtual directories should be set to $Null. If the ExternalURL property is set to anything other than $Null, the non-Internet-facing Client Access servers will operate as if they are exposed to the Internet, and will prevent clients from successfully connecting to these servers. Outlook Web Access and Exchange Web Services handle load balancing differently than the Availability service and Exchange ActiveSync. Outlook Web Access and Exchange Web Services implement their own load balancing when they are deployed on multiple Client Access servers within the same Active Directory site. If a user tries to access Outlook Web Access through https://www.contoso.com/OWA and is proxied to CAS-01, the next time that user tries to access Outlook Web Access, they will again be proxied to CAS-01, even if CAS-02 has fewer concurrent connections. This occurs because of cookie-based load balancing. If CAS-01 is unavailable, the user will be proxied to CAS-02. The process is different for Exchange ActiveSync. When an Internet-facing Client Access server proxies a request to a non-Internet-facing Client Access server, the connection is maintained by using information that is stored in the local Administrator account. This connection can then be used by other user requests. In a Network Load Balancing situation, the Client Access servers in the Internet-facing NLB will establish connections to the Client Access servers in the non-Internet-facing NLB. The number of connections will be equal to the number of Client Access servers in the destination Active Directory site. We recommend implementing round robin load balancing within the NLB array. For the Availability service, we also recommend round robin load balancing. Availability service requests do not have to maintain their connection state. In other words, two consecutive Availability service requests from the same client can be proxied to different Client Access servers in the destination Active Directory site without affecting performance. For more information about Network Load Balancing, see the Windows Server 2003 documentation.
77
Yes
Yes
Must have a Client Access server in each Active Directory site to use Outlook Web Acc ess. Must have a Client Access server in each Active Directory site to use Exchange Active Sync. Must have a Client Access server in each Active Directory site to use Exchange Web Services.
No
No (unnecessary)
Yes
No
No
Yes
78
Protocol
Client Access server to Mailbox server communication supported between Active Directory sites
Comments
No (unnecessary)
Yes
Must have a Client Access server in each Active Directory site to use the Availability service. Not applicable
Outlook Anywhere (RPC over HTTP) WebDAV and Exchange 2000 Server or Exchange 2003 POP3 and IMAP4
No
Not applicable
No
Not applicable
Not applicable
No
No
No
POP3 and IMAP4 clients must access a Client Access server in the same Active Directory site as their mailbox.
79
To resolve these issues, you can configure several ASP.NET parameters by editing the Machine.config file on the Client Access server computers. For more information about how to configure these parameters, see Microsoft Knowledge Base article 821268, Contention, poor performance, and deadlocks when you make Web service requests from ASP.NET applications. Two of the parameters that are explained in the previous Knowledge Base article must be set differently in an Exchange 2007 proxying environment. We recommend that you allow for 36 threads per processor and that you set the maxconnections value to 2000. For more information about server performance, see the following topic: Managing the .NET Framework on Windows Server 2003
Edge Transport
The Microsoft Exchange Server 2007 Edge Transport server role is deployed in your organization's perimeter network and handles all Internet-facing mail flow, providing protection against spam and viruses.
Mail Flow
The Edge Transport server role accepts mail coming into the Exchange 2007 organization from the Internet and routes all outbound messages to the Internet. The Edge Transport server role acts as a smart host and SMTP relay for the Exchange organization. You configure Send connectors and Receive connectors on the Edge Transport server to control message processing.
80
81
comply with these legal, regulatory, and internal requirements by providing ways to configure rules and settings that help you meet these requirements. The following messaging policy and compliance agents are available on the Edge Transport server role: Address Rewrite agent This agent enables the modification of the SMTP address for any sender or recipient of messages sent or received by your organization. Address rewriting can be useful in scenarios where an organization wants to hide internal domains, to enable multiple organizations appear as a single organization, or to integrate services that are provided to an organization by a third-party. Edge Rules agent You configure the Edge Rules agent on the Edge Transport server role to create rules that control the flow of messages that are sent to or received from the Internet. The Edge Transport rules help protect corporate network resources and data by applying an action to messages that meet specified conditions. These rules are configured for each server. Edge Transport rule conditions are based on data, such as specific words or text patterns in the message subject, body, header, or From address, the spam confidence level (SCL), or attachment type. Actions determine how the message is processed when a specified condition is true. Possible actions include quarantine of a message, dropping or rejecting a message, appending additional recipients, or logging an event. Optional exceptions exempt particular messages from having an action applied.
Hub Transport
The Microsoft Exchange Server 2007 Hub Transport server role is deployed inside your organization's Active Directory directory service. It handles all mail flow inside the organization, applies organizational message policies, and is responsible for delivering messages to a recipient's mailbox. Hub Transport servers provide the following functionality: Mail flow The Hub Transport server role processes all mail that is sent inside the Exchange 2007 organization before it is delivered to a recipient's Inbox inside the organization or routed to users outside the organization. There are no exceptions to this behavior. Categorization The categorizer performs recipient resolution, routing resolution, and content conversion for all messages that move through the Exchange 2007 transport pipeline.
82
Routing The Hub Transport server role determines the routing path for all messages that are sent and received in the organization. Delivery Messages are delivered to a recipient's mailbox by the store driver. Messages that are sent by users in your organization are picked up from the sender's Outbox by the store driver and are put in the Submission queue on a Hub Transport server.
83
Mailbox
In Microsoft Exchange Server 2007, the Mailbox server role is one of several server roles that you can install and then configure on a computer. The Mailbox server role hosts mailbox and public folder databases. It also generates the offline address book. Mailbox servers provide services that calculate e-mail address policies and address lists for recipients, and enforce managed folders.
84 Figure 11 The relationship between the Mailbox server and the other server roles, clients, and Active Directory server
Figure 11 shows what protocol the Mailbox server uses to communicate with each of these roles or computers. Each numbered interaction in 11 corresponds to the following list, describing what types of information is shared between these roles and computers. Note: If more than one server role coexists on a single computer, the server roles still use the protocols described in Figure 11 to communicate. However, the communication is internal to a single computer instead of traveling across your network to reach a different computer.
85
1. The Mailbox server accesses recipient, server, and organization configuration information from Active Directory. 2. The Store driver on the Hub Transport server places messages from the transport pipeline into the appropriate mailbox. The Store driver on the Hub Transport server also adds messages from the Outbox of a sender on the Mailbox server to the transport pipeline. 3. The Client Access server sends requests from clients to the Mailbox server, and returns data from the Mailbox server to the clients. The Client Access server also accesses offline address book files on the Mailbox server through NetBIOS file sharing. The types of data that the Client Access server sends between the client and the Mailbox server are messages, free/busy data, client profile settings, and offline address book data. 4. The Unified Messaging server retrieves e-mail and voice mail messages and calendar information from the Mailbox server for Outlook Voice Access. The Unified Messaging server also retrieves storage quota information from the Mailbox server. 5. Outlook clients that are inside your firewall can access a Mailbox server directly to send and retrieve messages. Outlook clients outside the firewall can access a Mailbox server using remote procedure call (RPC) over Hypertext Transfer Protocol (HTTP). Note: To send free/busy information and client profile settings between an Outlook client and a Mailbox server, you must have the Client Access server role installed. This information cannot be passed directly between the Outlook client and the Mailbox server. 6. The administrator-only computer retrieves Active Directory topology information from the Microsoft Exchange Active Directory Topology service. It also retrieves e-mail address policy information and address list information.
86
Understanding Offline Address Books Understanding Address Lists Understanding E-Mail Address Policies Understanding Exchange Search Understanding the Availability Service Understanding Quota Messages Understanding the Exchange 2007 Store Understanding Public Folders Understanding Messaging Records Management
Understanding Recipients
The people and resources that send and receive messages are the core of any messaging and collaboration system. In an Exchange Server organization, these people and resources are referred to as recipients. A recipient is any mail-enabled object in the Active Directory directory service to which Exchange can deliver or route messages. This topic discusses various recipient types that are supported in Microsoft Exchange Server 2007.
The Exchange Management Console uses the recipient types to render different property pages. For example, the resource capacity is displayed for a conference room mailbox, but is not present for a user mailbox.
87
Table 13 lists the available recipient types in Exchange 2007. All of these recipient types are discussed in more detail later in this topic. Table 13 Exchange 2007 recipient types
Recipient type Description
User mailbox
A mailbox that is assigned to an individual user in your Exchange organization. It typically contains messages, calendar items, contacts, tasks, documents, and other important business data. A mailbox that is assigned to an individual user in a separate, trusted forest. A mailbox that is not primarily associated with a single user and is generally configured to allow logon access for multiple users. A mailbox that resides on a server running Exchange Server 2003 or Exchange 2000 Server. A resource mailbox that is assigned to a meeting location, such as a conference room, auditorium, or training room. Room mailboxes can be included as resources in meeting requests, providing a simple and efficient way of organizing meetings for your users. A resource mailbox that is assigned to a nonlocation specific resource, such as a portable computer projector, microphone, or a company car. Equipment mailboxes can be included as resources in meeting requests, providing a simple and efficient way of utilizing resources for your users. A mail-enabled Active Directory contact that contains information about people or organizations that exist outside an Exchange organization. Each mail contact has an external e-mail address. All messages sent to the mail contact are routed to this external e-mail address.
Legacy mailbox
Room mailbox
Equipment mailbox
Mail contact
88
Recipient type
Description
A mail contact that represents a recipient object from another forest. Mail forest contacts are typically created by Microsoft Identity Integration Server (MIIS) synchronization. A mail-enabled Active Directory user that represents a user outside the Exchange organization. Each mail user has an external e-mail address. All messages sent to the mail user are routed to this external e-mail address. A mail user is similar to a mail contact, except that a mail user has Active Directory logon credentials and can access resources.
Mail user
A mail-enabled Active Directory distribution group object that can be used only to distribute messages to a group of recipients. A mail-enabled Active Directory security group object that can be used to grant access permissions to resources in Active Directory, and can also be used to distribute messages. A mail-enabled Active Directory global or local group object. Mail-enabled non-universal groups are de-emphasized in Exchange 2007 and can only exist if they were migrated from previous versions of Exchange. You cannot use Exchange 2007 to create new non-universal distribution groups. A distribution group that uses recipient filters and conditions to derive its membership at the time messages are sent. An Exchange public folder that is configured to receive messages.
Mailboxes
Mailboxes are the most common recipient type used by information workers in an Exchange organization. Each mailbox is associated with an Active Directory user account. The
89
user can use the mailbox to send and receive messages, and to store messages, appointments, tasks, notes, and documents. It is the primary messaging and collaboration tool for the users in your Exchange organization.
Mailbox Components
Each mailbox consists of an Active Directory user and the mailbox data that is stored in the Exchange mailbox database (Figure 12). All configuration data for the mailbox is stored in the Exchange attributes of the Active Directory user object. The mailbox database contains the actual data that is in the mailbox associated with the user account. Important: When you create a mailbox for a new or existing user, the Exchange attributes that are required for a mailbox are added to the user object in Active Directory. The associated mailbox data is not created until the mailbox either receives a message or the user logs on to it. Figure 12 Components of a mailbox
Caution: If you remove a mailbox, the mailbox data that is stored in the Exchange mailbox database is marked for deletion and the associated user account is also deleted from Active Directory. To retain the user account and delete only the mailbox data, you must disable the mailbox.
Mailbox Types
Exchange 2007 supports the following mailbox types:
90
User mailbox User mailboxes are assigned to individual users in your Exchange organization. User mailboxes provide your users with a rich collaboration platform. They can send and receive messages, manage their contacts, schedule meetings, and maintain a task list. Users can also have voice mail messages delivered to their mailboxes. User mailboxes are the most commonly used mailbox type, and it is typically the mailbox type that is assigned to users in your organization. Linked mailbox Linked mailboxes are mailboxes that are accessed by users in a separate, trusted forest. Linked mailboxes may be necessary for organizations that choose to deploy Exchange in a resource forest. The resource forest scenario allows an organization to centralize Exchange in a single forest, while allowing access to the Exchange organization with user accounts in one or more trusted forests. For more information about deploying Exchange in a resource forest topology, see the following topics: Planning for a Complex Exchange Organization How to Deploy Exchange 2007 in an Exchange Resource Forest Topology
As stated in the "Mailbox Components" section earlier in this topic, every mailbox must have a user account associated with it. However, the user account that will access the linked mailbox does not exist in the forest where Exchange is deployed. Therefore, a disabled user account that exists in the same forest as Exchange is associated with each linked mailbox. Figure 13 illustrates the relationship between the linked user account that will be used to access the linked mailbox and the disabled user account in the Exchange resource forest that is associated with the linked mailbox. Figure 13 Linked mailbox
Shared mailbox Shared mailboxes are mailboxes that are not primarily associated with individual users and are generally configured to allow logon access for multiple users.
91
Although it is possible to grant additional users the logon rights to any mailbox type, shared mailboxes are dedicated for this functionality. The Active Directory user that is associated with a shared mailbox must be a disabled account. After a shared mailbox is created, you must grant permissions to all users that require access to the shared mailbox. Important: Even though Exchange 2007 supports shared mailboxes, it is a de-emphasized feature. You can only use the Exchange Management Shell to manage shared mailboxes. Shared mailboxes are not displayed in the Exchange Management Console. We recommend that you use resource mailboxes or Microsoft SharePoint Portal Server portals for collaboration instead of shared mailboxes. To learn more about converting a shared mailbox to a resource mailbox, see How to Convert a Mailbox. Legacy mailbox Legacy mailboxes are mailboxes that reside on servers running Exchange 2003 or Exchange 2000. You can manage legacy mailboxes by using the Exchange Management Console or the Exchange Management Shell. However, not all Exchange 2007 features will apply to these mailboxes. For more information about using Exchange 2007 with Exchange 2003 or Exchange 2000, see Coexisting with Exchange Server 2003 and Exchange 2000 Server. Room and equipment mailbox Resource mailboxes are special mailboxes that are designed to be used for scheduling resources. Like all mailbox types, a resource mailbox has an associated Active Directory user account, but it must be a disabled account. There are two types of resource mailboxes available in Exchange 2007: Room mailboxes These are resource mailboxes that are assigned to meeting locations, such as conference rooms, auditoriums, and training rooms. Equipment mailboxes These are resource mailboxes that are assigned to nonlocation specific resources, such as portable computer projectors, microphones, or company cars. You can include both types of resource mailboxes as resources in meeting requests, providing a simple and efficient way to utilize resources for your users. You can configure resource mailboxes to automatically process incoming meeting requests based on the resource booking policies that are defined by the resource owners. For example, you can configure a conference room to automatically accept incoming meeting requests except recurring meetings, which can be subject to approval by the resource owner. To learn more about using resource mailboxes, see Managing Resource Scheduling.
92
Unified Messaging Exchange 2007 introduces Unified Messaging (UM) for mailbox users. UM combines voice messaging, fax, and e-mail messaging into a single messaging infrastructure. UM puts all e-mail, voice, and fax messages into Exchange 2007 mailboxes that can be accessed from a variety of devices. After Exchange 2007 UM servers have been deployed on the network, users can access their messages from a telephone by using Microsoft Outlook Voice Access, from a mobile device, or from the computer of a user who is running Microsoft Windows XP. To learn more about UM in Exchange 2007, see New Unified Messaging Functionality. New and improved client functionality Exchange 2007 provides new and improved ways for users to access their mailboxes. To learn more about new and improved client features, see New Client Functionality. Information worker functionality Exchange 2007 includes several feature and functionality improvements in the information worker area. These include improvements and enhancements to calendaring, resource management, the Out of Office feature, and messaging records management (MRM). To learn more about the new information worker features, see New Information Worker Functionality.
Distribution Groups
Distribution groups are mail-enabled Active Directory group objects that are primarily used for distributing messages to multiple recipients. Any recipient type can be a member of a distribution group. Important: It is important to note the terminology differences between Active Directory and Exchange 2007. In Active Directory, a distribution group refers to any group that does not have a security context, whether it is mail-enabled or not. In contrast, in Exchange 2007, all mail-enabled groups are referred to as distribution groups, whether they have a security context or not.
93
Exchange 2007 supports the following types of distribution groups: Mail-enabled universal distribution groups These are Active Directory distribution group objects that are mail-enabled. They can be used only to distribute messages to a group of recipients. Mail-enabled universal security groups These are Active Directory security group objects that are mail-enabled. They can be used to grant access permissions to resources in Active Directory and can also be used to distribute messages. Mail-enabled non-universal groups These are Active Directory global or local group objects that are mail-enabled. In Exchange 2007, you can create or mail-enable only universal distribution groups. You may have mail-enabled groups that were migrated from previous versions of Exchange that are not universal groups. These groups can still be managed by using the Exchange Management Console or the Exchange Management Shell. Note: To convert a domain-local or a global group to a universal group, you can use the Set-Group cmdlet in the Exchange Management Shell. For more information, see Set-Group.
94
a list of conditions that the recipients must meet. You can create precanned conditions based on the following properties: Custom attributes 115 State or province Company Department
You can also specify conditions based on recipient properties other than those previously listed. To do this, you must use the Exchange Management Shell to create a custom query for the dynamic distribution group. Keep in mind that the filter and condition settings for dynamic distribution groups that have custom recipient filters can be managed only by using the Exchange Management Shell. For an example of how to create a dynamic distribution group by using a custom query, see How to Create a New Dynamic Distribution Group. Note: In the Exchange Management Console, you use the Distribution Group node under Recipient Configuration to manage dynamic distribution groups. There is not a separate node for dynamic distribution groups.
Mail Contacts
Mail contacts typically contain information about people or organizations that exist outside your Exchange organization. Mail contacts can appear in the global address list (GAL) and other address lists, and can be added as members to distribution groups. Each contact has an external e-mail address, and all e-mail messages that are sent to a contact are automatically forwarded to that address. Exchange 2007 supports the following types of mail contacts: Mail contacts These are mail-enabled Active Directory directory service contacts that contain information about people or organizations that exist outside your Exchange organization. Mail forest contacts These represent recipient objects from another forest. These contacts are typically created by MIIS synchronization. Contacts are ideal for representing people external to your Exchange organization who do not need access to any internal resources.
Mail Users
Mail users are similar to mail contacts. Both have external e-mail addresses, both contain information about people outside your Exchange organization, and both can be displayed in the GAL and other address lists. However, unlike a mail contact, mail
95
users have Active Directory logon credentials and can access resources to which they are granted permission. If a person external to your organization requires access to resources on your network, you should create a mail user instead of a mail contact. For example, you may want to create mail users for short-term consultants who require access to your server infrastructure, but who will use their own external e-mail addresses. Another scenario is to create mail users in your organization for whom you do not want to maintain an Exchange mailbox. For example, after an acquisition, the acquired company may maintain their separate messaging infrastructure, but may also need access to resources on your network. For those users, you may want to create mail users instead of mailbox users. Note: In the Exchange Management Console, you use the Mail Contact node under Recipient Configuration to manage mail users. There is not a separate node for mail users.
96
For more information about managing resource scheduling, see Managing Resource Scheduling. For more information about managing distribution groups, see Managing Distribution Groups. For more information about managing mail contacts and mail users, see Managing Mail Contacts. For more information about managing public folders, see Managing Public Folders.
97
megabytes (MB). In this case, for a mail contact that has external addresses, you should set the maximum receive size to be no larger than 10 MB. Although a sender in your organization will be able to submit a message larger than 10 MB to this mail contact, the message would be rejected by the Hub Transport server. To learn more about how different message size restrictions affect each other and the order of precedence, see Managing Message Size Limits.
98
99
groups and dynamic distribution groups are configured to require all senders to be authenticated. Note: In previous versions of Exchange, by default, no recipients were configured to require all senders to be authenticated. Therefore, any distribution groups that you migrate from a previous version of Exchange will not have this restriction configured. Use this restriction to specify that recipients receive messages only from internal senders that have been successfully authenticated. For example, to prevent messages that originate outside of your Exchange organization from being delivered to distribution groups that are used for internal communications, you can configure these groups to require sender authentication. For detailed steps about how to configure message delivery restrictions for a recipient, see How to Configure Message Delivery Restrictions.
100
practice to configure storage quotas at the mailbox database level and use the mailbox level configuration only for exceptions. For detailed steps about how to configure storage quotas for a mailbox database, see How to Configure Storage Quotas for a Mailbox Database. Because storage quotas have a direct impact on your storage capacity planning, you must plan your storage quotas carefully. Storage quotas, number of mailboxes per mailbox database, and the storage subsystem that hosts each mailbox database are all factors that you should consider when planning your deployment. To learn more about how each of these factors affects your deployment planning, see Planning Disk Storage. Before deploying Unified Messaging (UM) in your Exchange organization, you must review any existing storage quotas you have configured. Because Windows Media Audio (.wma) and Waveform audio (.wav) files are attached to each voice message, voice messages may be larger than e-mail messages. As a result, voice messages may cause user mailboxes to exceed their quota more quickly than e-mail messages that do not include attachments. To learn more about the impact of UM on storage quotas, see Understanding Storage Quotas and Voice Mail. For detailed steps about how to configure storage quotas for a mailbox, see How to Configure Storage Quotas for a Mailbox.
101
The recipient scope applies to the first class recipient objects. In Exchange 2007, first class recipient objects refers to all mailboxes, mail contacts, mail users, distribution groups, and dynamic distribution groups. Important: The properties of first class recipient objects are not bound by the recipient scope. For example, when adding members to a distribution group, you can select any recipient in the forest, regardless of the recipient scope. Similarly, when configuring the manager of a mailbox user, you can select any mail-enabled user or contact in the forest.
103
Furthermore, if you have a large Active Directory deployment with recipients spread across multiple domains, using a forest-wide recipient scope can reduce the performance of the management interfaces due to the sheer number of recipients that is returned. If you have a complex Active Directory replication topology, or if you have high replication latency, specify the global catalog that is most up to date when setting the recipient scope to the entire forest. If you use a specific domain controller on which all updates to Active Directory are made, you can specify that domain controller as the preferred recipient domain controller when setting the recipient scope. For example, if you have an account provisioning system that works with a specific domain controller, you can specify that domain controller as the preferred recipient domain controller.
104
Note: The Microsoft Management Console (MMC) saves any changes you make to a snap-in as preferences in your user profile on the administrator computer. The recipient scope setting is also saved as one of your preferences. As a result, the next time you start the Exchange Management Console on the same computer, the default setting of the recipient scope is overwritten by the scope that you last specified. However, if you use another computer or a different user account to run the Exchange Management Console, you will need to adjust the recipient scope again. To modify the recipient scope in the Exchange Management Console, select the Recipient Configuration node, and then click Modify Recipient Scope in the action pane. For more information about changing the recipient scope in the Exchange Management Console, see How to Change the Recipient Scope.
105
DefaultScope
This field stores the recipient scope for the current session of the Exchange Management Shell in canonical format. For example, if the recipient scope is set to the Users OU in the contoso.com domain, the value for DefaultScope will be contoso.com/Users. Note: This field is ignored if the ViewEntireForest field is set to $true.
PreferredGlobalCatalog
If this field is specified, and if ViewEntireForest is set to $true, the Exchange Management Shell will use the specified global catalog server to query for recipients. If this field is not specified, Exchange will automatically select a suitable global catalog server.
ConfigurationDomainController
This field specifies the domain controller that the Exchange Management Shell uses to read the Exchange configuration information. If this field is specified, and if ViewEntireForest is set to $false, the Exchange Management Shell will use the specified domain controllers to query for recipients. Note: You can specify only one domain controller per domain. You can specify more than one domain controller only if the recipient scope you are using spans more than one domain. If this field is not specified, Exchange will automatically select a suitable domain controller.
PreferredDomainControllers
By manipulating the values that are stored in this variable, you can use the Exchange Management Shell to control the recipient scope. For more information about modifying the recipient scope in the Exchange Management Shell, see How to Change the Recipient Scope.
106
A disconnected mailbox is a mailbox object in an Exchange mailbox database that is not associated with an Active Directory user account. When you remove or disable a mailbox, the data that is stored in the Exchange mailbox database is no longer associated with the user account in Active Directory and becomes a disconnected mailbox.
107
Caution: If you remove a mailbox, the mailbox data that is stored in the Exchange mailbox database is marked for deletion and the associated user account is also deleted from Active Directory. To retain the user account and only disassociate the mailbox data from the user account, you must disable the mailbox. For detailed instructions, see How to Disable a Mailbox. To provide a method for recovering mailbox data without having to restore the entire mailbox database, disconnected mailboxes are retained in the mailbox database for a specific amount of time. By default, Exchange retains a disconnected mailbox for 30 days. During this time, the disconnected mailbox can be recovered by associating it with an existing Active Directory user account. To learn more about deleted mailbox retention, see Configuring Deleted Mailbox and Deleted Item Retention.
108
node under Recipient Configuration. For detailed instructions about how to connect a disconnected mailbox, see How to Connect a Mailbox. After you connect a mailbox to an existing Active Directory user account, that user account becomes the owner of the mailbox and has full access to any content within the mailbox.
To learn more about mailboxes, see Understanding Recipients. To learn more about managing mailboxes, see Managing Mailboxes.
109
110
Diagnostic logging improvements make it easier to notice problems that may occur with OAB downloads. For more information, see Diagnostic Logging of Exchange Processes.
Therefore, changing minimal bytes of information for half of your recipients could create a Changes.oab file that is larger than one-eighth the size of your entire OAB file.
111
information about improvements that have been made in OAB version 4, see "Improvements in Exchange Server 2003 SP2 and Outlook 2003 SP2" in Improvements for Offline Address Books.
To determine which OAB download method to use, Microsoft Office Outlook 2007 uses information that is provided by the Autodiscover service. If you have not selected an OAB download method for your Exchange server, the Test E-mail AutoConfiguration tool in Outlook 2007 will report Public Folder as the OAB URL. Outlook will then use the traditional method (public folder distribution) to download OAB data. For more information about public folder distribution methods, see "Public Folder Distribution" later in this document.
Web-Based Distribution
Web-based distribution is the distribution method by which Outlook 2007 clients that are working offline or through a dial-up connection access the OAB. Web-based distribution does not require the use of public folders. With Web-based distribution, after the OAB is generated, the Client Access server replicates the files. Web-based distribution uses HTTPS and BITS. For an overview about how BITS works, see About BITS. Important: Although Web-based distribution is enabled by default and does not require further configuration, we recommend that you enable Secure Sockets Layer (SSL) for the OAB distribution point. For more information, see How to Require SSL for Offline Address Book Distribution. There are several advantages to using Web-based distribution, including: Support of more concurrent client computers. Reduction in bandwidth usage.
112
More control over the OAB distribution points. With Web-based distribution, the distribution point is the HTTPS Web address where client computers can download the OAB. To benefit most from Web-based distribution, client computers must be running Outlook 2007. Organizations that also have client computers running Outlook 2003 or earlier can use both public folder distribution and Web-based distribution. The Outlook 2003 and earlier clients will still access their OABs by using public folders, while Outlook 2007 clients will take advantage of the new Web-based distribution method. To function properly, Web-based distribution depends on the following components: OAB generation process This is the process by which Exchange creates and updates the OAB. To create and update the OAB, the OABGen service runs on the OAB generation server. To support OAB distribution, this server must be an Exchange 2007 Mailbox server. Microsoft Exchange File Distribution service The Microsoft Exchange File Distribution service runs on Client Access servers and is responsible for gathering the OAB and keeping the content synched with the content on the Mailbox server. OAB virtual directory The OAB virtual directory is the distribution point used by the Web-based distribution method. By default, when Exchange 2007 is installed, a new virtual directory named OAB is created in the default internal Web site in Internet Information Services (IIS). If you have client-side users that connect to Outlook from outside your organization's firewall, you can add an external Web site. Alternatively, when you run the New-OABVirtualDirectory cmdlet in the Exchange Management Shell, a new virtual directory named OAB is created in the default IIS Web site on the local Exchange 2007 server. For information about how to create an OAB virtual directory, see How to Create an Offline Address Book Virtual Directory. Autodiscover service This is a feature available in Outlook 2007 and some mobile devices that automatically configures the clients for access to Exchange 2007. The service runs on a Client Access server and returns the correct OAB URL for a specific client connection. For more information about the Autodiscover service, see Overview of the Autodiscover Service. Figure 16 illustrates workflow for the OAB Web-based distribution method. The figure assumes that all client users have the same OAB and that the OAB is distributed to all Client Access servers.
In figure 16, a company has offices in London and San Paolo. The Mailbox servers for the entire company are in the corporate headquarters in London. San Paolo, which is a slow link, has Client Access servers to which the San Paolo client users connect to Outlook. In addition, the company has users who work remotely and connect to the corporate network through the Internet. Before a user connects to a MAPI-based client computer, such as Outlook, the following happens: 1. The OAB is generated on one of the Mailbox servers in the London office. 2. On each of the Client Access servers in London, the Microsoft Exchange File Distribution service copies the new OAB files from the OAB Mailbox server in London. 3. On the Client Access server in Sao Paulo, the Microsoft Exchange File Distribution service copies the files over the slow link from the Mailbox server in London. Depending on the speed of the slow link, the copy process may take from several minutes to several hours. The new OAB is not made available to client computers until it is completely copied and verified. Note: Not all Client Access servers will copy the new OAB at the exact same time. There is a poll interval (the default is 8 hours) that starts copying if there are new differential files. The first poll occurs when the Microsoft Exchange File Distribution
114
service starts. Therefore, unless the Client Access servers were started at the same time, the server polls will be different on each Client Access server. After all of the Client Access servers have copied the OAB content, there are several scenarios by which the client user will download the OAB: Scenario 1 Onsite user
In this scenario, all actions occur in the London office: a. User A, who is located in the London office and whose Outlook is set to Cached Exchange Mode, connects to Outlook. b. Outlook connects to the Autodiscover service to obtain the URL to the closest OAB distribution point. c. The Autodiscover service returns the URL to one of the Client Access servers in London. d. Outlook uses BITS to connect to the URL that was provided by the Autodiscover service. e. Outlook downloads the OAB. Scenario 2 Slow link user
In this scenario, User B's mailbox resides in the London office because there are no Mailbox servers in the Sao Paulo office. Because User B is preparing to leave for a business trip and requires a local copy of the OAB, User B must download the OAB. User B's OAB will be downloaded from the Client Access server that is closest to the San Paolo office: a. User B, who is located in the San Paolo office, connects to Outlook. b. Outlook connects to the Autodiscover service to obtain the URL to the closest OAB distribution point. c. The Autodiscover service returns the URL to the Client Access server in San Paolo. d. Outlook uses BITS to connect to the URL that was provided by the Autodiscover service. e. Outlook downloads the OAB. However, because San Paolo's Client Access server copies the OAB to London over a slow link, User B may not get the most recent version of the OAB. Scenario 3 Internet user
In this scenario, because the user connects using the Internet, Exchange cannot locate the Client Access server that is closest to the user's physical location. Therefore, Exchange defaults to a Client Access server that is close to the user's Mailbox server: a. User C, whose mailbox server is in London, connects to Outlook from the Internet.
115
b. Outlook connects to the Autodiscover service to obtain the URL to the closest OAB distribution point. c. Because User C's mailbox is located on the Mailbox server in London, the Autodiscover service returns the URL to one of the Client Access servers in London. d. Outlook connects to the URL that was provided by the Autodiscover service by using BITS. e. Outlook downloads the OAB.
116
Each time an OAB download request occurs, administrative rights on the Exchange server are verified for the requestor. If the security context that is used for the request is the equivalent of the local administrator on the Exchange server, it is assumed that an internal function is requesting the download. In this event, the requestor is allowed to proceed with a full OAB download. However, the bytes that are transmitted to the administrative client are still calculated as part of the average full OAB bytes downloaded. If the requestor does not have administrative rights, the average full OAB bytes that are downloaded over the last 10 seconds are determined. If this value is less than the configured threshold, a full OAB download is allowed. Note: Setting the registry key to 0 allows a maximum of one client without administrative rights, in 10 second intervals, at a time to download a full OAB. When setting the OAB download bandwidth threshold, we recommend that you configure thresholds on the individual servers to values that will not cause an overload of the Exchange server's network adapter or the network. If you have not already gathered and analyzed network and Exchange server performance data, you should do so before you configure the registry entry.
Effects of OAB Downloads on the Network When Using Public Folder Distribution
Because there are several cases that can cause a large number of full OAB downloads, you should understand the effect on bandwidth that a large OAB download has on the network. The Exchange server can easily handle many download requests for the OAB. As a result, multiple attempts to download a full OAB over a slow link can saturate a network. (All the available bandwidth is being used.) When this happens, there are two significant effects: Applications that must use the wide area network (WAN) will perform slowly. This is because they wait for their network requests to traverse the saturated WAN link. The actual traffic needed on the WAN increases because individual network requests may time out, resulting in additional requests being made. When the network becomes saturated, the latency increases, not only the time it takes for each client computer to download the OAB, but the overall duration of the download process. Normally, this means that the data rate for each client computer is reduced. However, if the latency is too high, RPC packets will time out, causing additional RPC requests for the same data to be retrieved. Also, if an Outlook user attempts to download the OAB and the download is canceled or fails, Outlook deletes the data that has been downloaded and attempts to download the OAB again. As a result, more data is requested, which in turn, increases the overall duration for a large set of OAB downloads. Outlook downloads the OAB from the Exchange server through a series of RPC packets. Each packet is received and acknowledged, and then the next packet is sent. Based on the latency
117
between Outlook and Exchange, a single Outlook client is limited to how quickly it can receive and acknowledge each packet. Because of this delay, a single Outlook client may not be able to saturate a network link. However, as more Outlook clients begin to download the OAB, the combined download rate of all clients could saturate the link. The link will remain saturated until the full OABs are downloaded. The relationship is linear in that the larger the latency between the Outlook client and the Exchange server, the fewer packets can be received. Fewer clients are able to download an OAB before a slow link is saturated. The reverse is also true. If latency is low, more clients are needed to saturate a slow link. The number of Outlook clients that can download the OAB simultaneously without saturating the WAN will increase as either network latency decreases or network bandwidth increases.
OAB Considerations
As a best practice, whether you use a single OAB or multiple OABs, consider the following factors as you plan and implement your OAB strategy: Size of each OAB in your organization. For more information, see "OAB Size Considerations" later in this document. Number of OAB downloads. Number and frequency of parent distinguished named changes. Simple Mail Transfer Protocol (SMTP) address mismatches. Overall number of changes made to the directory.
118
Information that a company adds to Active Directory for each mailbox-enabled or mailenabled object. For example, some organizations populate the address properties on each user; others do not.
For more information about address lists, see the following topics: Understanding Address Lists Managing Address Lists
Address lists reside in Active Directory. Therefore, mobile users who are disconnected from the network are also disconnected from these server-side address lists. However, you can create offline address books (OABs) for users who are disconnected from the network. These OABs can be downloaded to a user's hard disk drive. Frequently, to conserve resources, OABs are subsets of the information in the actual address lists that reside on your servers. For more information, see Understanding Offline Address Books. Note: If you have a coexistence scenario with Exchange 2007 and Exchange 2003, you can edit the global address list (GAL) and address list objects from Exchange 2003 or Exchange 2007. However, you must upgrade Exchange 2003 objects before they be edited by Exchange 2007. After you upgrade the object, it cannot be edited by Exchange 2003.
120
All Groups This address list contains all mail-enabled groups in your organization. Mail-enabled groups are a group of recipients that are created to expedite the mass emailing of messages and other information. When an e-mail message is sent to a mailenabled group, all members of that list receive a copy of the message. To learn more about mail-enabled groups, see Understanding Recipients. All Rooms This address list contains all resources that have been designated as a room in your organization. Rooms are resources in your organization that can be scheduled by sending a meeting request from a client application. The user account that is associated with a room is disabled. For instructions about how to add resource mailboxes to an address list, see How to Add a Resource Mailbox to an Address List. To learn more about resource mailboxes, see Understanding Recipients All Users This address list contains all mail-enabled users in your organization. A mail-enabled user represents a user outside your Exchange organization. Each mailenabled user has an external e-mail address. All messages sent to mail-enabled users are routed to this external e-mail address. A mail-enabled user is similar to a mail contact, except that a mail-enabled user has Active Directory logon credentials and can access resources. To learn more about mail-enabled users, see Understanding Recipients. Default Global Address List This address list contains all mail-enabled users, contacts, groups, or rooms in the organization. During setup, Exchange creates various default address lists. The most familiar address list is the GAL. By default, the GAL contains all recipients in an Exchange organization. In other words, any mailbox-enabled or mail-enabled object in an Active Directory forest that has Exchange installed is listed in the GAL. For ease of use, the GAL is organized by name, not by e-mail address. For more information, see Managing Global Address Lists. Public Folders This address list contains all public folders in your organization. Access permissions determine who can view and use the folders. Public folders are stored on computers running Exchange. For more information about public folders, see Managing Public Folders.
121
recipients in their division, these custom address lists allow employees to select only the address list that is specific to their division. However, if an employee is unsure about the division in which the recipient exists, the employee can search within the GAL, which contains all recipients in both divisions. You can also create subcategories of address lists called hierarchical address lists. For example, you can create an address list that contains all recipients in Manchester and another that contains all recipients in Stuttgart. called Research and Development within the Manchester address list container that contains all employees who work in Manchester's Research and Development department.
122
custom filters that can be defined by using the OPath filter syntax in the Exchange Management Shell. OPath is a querying language designed to query object data sources. For more information, see How to Create an Address List By Using Recipient Filters. Ability to filter recipient properties Exchange 2007 allows you to filter the results of a command by using the recipient type. For example, the Get-User, Get-Recipient, GetMailbox, Get-MailUser, Get-Contact, Get-MailContact, Get-Group, GetDistributionGroup, and Get-DynamicDistributionGroup cmdlets all have a Filter parameter with which you can specify the users or groups to retrieve with the command. When combined with the Set-Address List or New-AddressList cmdlets, you can specify a set of users or groups to retrieve by using a filter string. This type of filter does not modify any configuration or attributes of objects. It only modifies the set of objects that the command returns. For more information about how to create filters in recipient commands, see Creating Filters in Recipient Commands. Ability to schedule application of address lists at a later time In Exchange 2007, you can specify when changes to the address list should be applied. You can also specify the amount of time that the tasks should run. For more information, see How to Edit an Address List.
123
illustrates a configuration in which the recipient David Hamilton can receive e-mail messages that are addressed to hdavid@mail.contoso.com and hamilton.david@mail.contoso.com. Figure 18 E-mail address configuration for recipient David Hamilton
124
In Exchange 2007, the recipient policy functionality is divided into two features: e-mail address policies and accepted domains. Note: A detailed discussion about accepted domains is outside the scope of this topic. For information about accepted domains, see Managing Accepted Domains. Exchange 2007 has eliminated the asynchronous behavior of the Exchange 2003 Recipient Update Service in favor of a more predictable, synchronous provisioning process. When you run the Update-EmailAddressPolicy cmdlet in the Exchange Management Shell, the recipient object is updated with the e-mail address policy. For detailed syntax and parameter information, see Update-EmailAddressPolicy. In Exchange 2007, each time a recipient object is modified and saved, Exchange 2007 enforces the correct application of the e-mail address criteria and settings. When an e-mail address policy is modified and saved, all associated recipients are updated with the change. In addition, if a recipient object is modified, that recipient's e-mail address policy membership is re-evaluated and enforced.
125
126
Outlook 2000. Use the Advanced Find feature (with the Subject Field & Message Body box selected).
Exchange Search is based on words, phrases, and sentences. Exchange store search is based on a stream of bytes. This means that Exchange Search will ignore punctuation and spaces, and is also not case sensitive, whereas Exchange store search will find only an exact match of all characters. Exchange Search searches within attachments types that are supported by the installed filters. Exchange store search does not search within attachments. Exchange Search uses its full-text index to locate records. Exchange store search performs a serial scan of the entire folder. Exchange Search is not case sensitive. Exchange store search is case sensitive.
Exchange Search can be used only for text searches. Exchange store search supports the full set of MAPI restrictions, which includes non-text property types such as date and time.
Differences Between Using Outlook Online Mode and Cached Exchange Mode Search
In Outlook 2003 and later versions, users can create either Online or Cached Exchange Mode profiles to access their e-mail messages. Using a Cached Exchange Mode profile allows users to work with their e-mail even when a connection to their e-mail server is not available. There are a several differences between Outlook Cached Exchange Mode and online mode search: In Office Outlook 2007, Cached Exchange Mode search uses Windows Desktop Search, which is a prerequisite for the Outlook 2007 Instant Search(WDS 3.0) feature. If WDS 3.0 is not installed, Instant Search falls back to the Outlook 2003 model - a sequential scan of the entire search scope. Outlook 2007 in online mode uses Exchange Search if possible, and reverts to using Exchange store search if Exchange Search is not available. In Outlook 2003, Cached Exchange Mode search does not use an index and runs on the client computer to sequentially scan every message in the search
127
scope. Outlook 2003online mode search uses Exchange Search by using pre-built indexes, and reverts to using Exchange store search if Exchange Search is not available. Cached Exchange Mode search uses an index that is built on the cached copy of the users offline folder file l (.ost) and runs on the client computer. Online mode searches occur on the server. While online mode searches have a performance impact on the Exchange server, they are likely to have better performance because they can use the resources of a server instead of a client computer.
The language must match the locale of the client computer, as identified by the connection to the server.
128
130
Up-to-date information
There was no guarantee that free and busy information was up-to-date. There were multiple factors that caused free and busy information to be outdated: By default, Outlook only updated free and busy information every 45 minutes. Furthermore, because of bandwidth and scalability issues, you could not decrease this interval. There were latencies that resulted from public folder replication. In cross-forest scenarios, there were delays when you used the Microsoft Exchange InterOrganization Replication tool to replicate free and busy information across forests.
Free and busy information is guaranteed to be up to date within a small time period (60 seconds) on all the data retrieved.
131
Granularity
The four meeting states (Free, Tentative, Busy, and Out-Of-Office) were available in one stream. To retrieve appointment details, additional MAPI calls were required. For any authenticated user, all free and busy data was available in a public folder. This meant that any authenticated user could delete, modify, or publish another user's free and busy information.
By default, free and busy information displays the start and end times for individual appointments. Additional calendar properties (such as Subject and Location) will be accessible through the Availability service. Free and busy information provides increased security, similar to general calendar sharing. In compliance with your company's policy, you can specify the amount of free and busy information to share with a specific user. Because the Availability service reads directly from a user's mailbox, a user cannot modify or publish another user's free and busy information. No publishing is required in an Exchange 2007 and Outlook 2007 organization.
Security
Publishing frequency
Out-of-Office Information
The Availability service also provides access to out-of-office messages for out-of-office appointments and global out-of-office information. Information workers use the Out of Office feature in Outlook to alert others when they are unavailable to respond to e-mail messages. To improve out-of-office management, the Exchange 2007 implementation of the Out of Office feature makes configuring and managing out-of-office tasks easier and more flexible for both information workers and administrators. For more information about the Out of Office feature, see Managing the Out of Office Feature.
132
Performance
You can use the Performance Monitor tool to automatically collect performance data from local or remote computers that are running Exchange 2007. You can define start and stop times for automatic log generation, manage multiple logging sessions from a single console window, and set an alert on a computer that enables a message to be sent or a log to be started when your criteria are met. For information about using Performance Monitor, see Windows Server 2003 Monitoring Features and Tools in the Microsoft Exchange Service Management Guide. You can use the following performance counters to collect information about the Availability service: Number of availability request serviced/second Number of availability request dropped/second Number of mailbox queried/second Number of availability service referrals/second Number of requests answered at none level/second Number of requests answered at F/B level/second Number of requests answered at detailed level/second Number of unique users mailbox opened
133
For more information about providing secure Web communications on the Internet or intranet, see Creating a Certificate or Certificate Request for TLS.
Storage Quotas
A storage quota is a storage size limit for a mailbox or a public folder. You can use the Exchange Management Console or the Exchange Management Shell to view or set the storage quotas for all of the mailboxes or public folders in a database. You can also use the Exchange Management Console or the Exchange Management Shell to set storage quotas on a per-mailbox basis, thereby overriding the storage quotas that are set at the database level. However, storage quotas for individual public folders can be viewed or set only in the Exchange Management Shell. For more information about viewing and configuring storage quotas, see the following topics: How to Configure Storage Quotas for a Mailbox Database How to Configure Storage Quotas for a Mailbox
134
Set-MailboxDatabase Set-Mailbox How to Configure the Settings of Public Folders Set-PublicFolderDatabase Set-PublicFolder
Quota Messages
By default, Exchange sends a quota message to mailbox or public folder owners when a: Mailbox or public folder exceeds its Issue warning limit (the lowest storage quota).
Mailbox exceeds its Prohibit send limit or a public folder exceeds its Prohibit post limit (the middle storage quota). Mailbox exceeds its Prohibit send and receive quota (the highest storage quota).
Quota messages for mailboxes are sent to mailbox owners. If a mailbox is owned by a security group (that is, if it is a shared mailbox), quota messages are sent to the security group. Quota messages for public folders are sent to every public folder owner. Owners of mailboxes and public folders can be users, contacts, or security groups. Quota messages are sent with high importance and are not subject to storage quotas. They are always delivered, even if the recipient's mailbox is full. Exchange Server 2007 can generate quota messages in many languages. For a list of the supported language locales that are available for use with quota messages, see Supported Locales for Use with System Messages. You can use the New-SystemMessage, Get-SystemMessage, Set-SystemMessage, and Remove-SystemMessage cmdlets in the Exchange Management Shell to view existing quota messages or to create, view, modify, or remove customized ones. For more information about customizing quota messages, see How to Customize Quota Messages.
Graphical representation of the storage quota and the amount of storage used in the message body (except for mailboxes or public folders of unlimited size)
135
Please reduce your mailbox size. Delete any items you don't need from your mailbox and empty your Deleted Items folder. Please reduce your mailbox size. Delete any items you don't need from your mailbox and empty your Deleted Items folder. Your mailbox can no longer send messages. Please reduce your mailbox size. Delete any items you don't need from your mailbox and empty your Deleted Items folder. Your mailbox can no longer send or receive messages. Please reduce your mailbox size. Delete any items you don't need from your mailbox and empty your Deleted Items folder.
Mailbox of limited size exceeds its Prohibit Send and Receive quota
Please reduce the size of your public folder by deleting any items you don't need
136
Event
Subject of message
Public folder of limited size exceeds its Issue Warning quota Public folder of limited size exceeds its Prohibit Post quota
Your public folder is almost full Please reduce the size of your public folder by deleting any items you don't need. Your public folder is full Users can no longer post items to this folder. Please reduce the size of your public folder by deleting any items you don't need.
For information about how to manage recipient storage quotas, see Mailbox Recipient Tasks.
137
The following topics in this section provide an overview of the Exchange 2007 store components: Logical Components of the Exchange Store
This topic provides details about three logical components within the Exchange store: storage groups, mailbox databases, and public folder databases. File Structure of the Exchange Store
This topic provides details about the files used by the Exchange store, including Exchange database (.edb) files, transaction logging (.log) files, and checkpoint (.chk) files. Recommendations for Configuring Storage Groups and Databases
This topic provides recommendations for configuring storage groups and databases, including database sizing and disk recommendations. Understanding Transaction Logging
This topic provides a detailed description about how transaction logging works, including circular logging.
Five storage groups are supported. Five databases are supported. Not supported. Supported.
138
Feature
Standard Edition
Enterprise Edition
Not supported.
Supported.
For more information about storage design, see Going 64-bit with Microsoft Exchange Server 2007. For a list of the Exchange Management Shell cmdlets that you can use to manage storage groups and databases, see Storage Group and Database Cmdlets. For more information about cluster continuous replication, see Cluster Continuous Replication. For more information about local continuous replication, see Local Continuous Replication. For more information about single copy clusters, see Single Copy Clusters.
139
Storage groups
An Exchange storage group is a logical container for Exchange databases and their associated system and transaction log files. Storage groups are the basic unit for backing up and restoring data in Microsoft Exchange (although you can restore a single database). All databases in a storage group share a single backup schedule and a single set of transaction log files. Exchange Server 2007 Enterprise Edition supports up to 50 storage groups. Exchange 2007 Standard Edition supports up to five storage groups. For information about managing storage groups, see Managing Storage Groups and Databases and Understanding the Exchange 2007 Store.
Mailbox Databases
Mailbox databases contain the data, data definitions, indexes, checksums, flags, and other information that comprise mailboxes in Exchange 2007. Mailbox databases hold data that is private to an individual user and contain mailbox folders that are generated when a new mailbox is created for that user. A mailbox database is stored as an Exchange database (.edb) file. Exchange 2007 Enterprise Edition supports a total of 50 databases. Exchange 2007 Standard Edition supports a total of five databases. Both editions support a maximum of five databases per storage group, and all five databases can be mailbox databases. For information about managing mailbox databases, see Managing Mailbox Databases.
140
141 Figure 20 Logical structure of the storage groups and databases on a single server and the resulting file structure
142
143
Databases in a storage group are not fully independent because they share transaction log files. As the number of databases in a storage group increases, more transaction log files are created during normal operation. This larger number of transaction log files requires additional
144
time for transaction log replay during recovery procedures. An increase in time for transaction log replay consequently results in an increase in recovery times. If you implement LCR or cluster continuous replication (CCR), you are limited to one database per storage group. For more information about LCR and CCR, see Local Continuous Replication and Cluster Continuous Replication. For more information about transaction logging, see Understanding Transaction Logging. For more information about disaster recovery, see Disaster Recovery Strategies.
For more information about disk configuration, see Planning Disk Storage. For maximum performance and reliability, we recommend that even comparatively simple systems, such as systems that contain a single storage group, should also place log files and database files on separate disks.
145
For more information about storage design, see Going 64-bit with Microsoft Exchange Server 2007. For a list of the Exchange Management Shell cmdlets that you can use to manage storage groups and databases, see Storage Group and Database Cmdlets.
146
The checkpoint file (Enn.chk) tracks how far Exchange has progressed in writing logged information to the database files. There is a checkpoint file for each log stream, and a separate log stream for each storage group. Within a single storage group, all the databases share a single log stream. Thus, a single log file often contains operations for multiple databases. Log files are numbered in a hexadecimal manner, so the log file after E0000009.log is E000000A.log, not E000010.log. You can convert log file sequence numbers to their decimal values by using the Windows Calculator (Calc.exe) application in Scientific mode. To do this, run Calc.exe, and then, from the View menu, click Scientific. To view the decimal sequence number for a specific log file, you can examine its header by using the Exchange Server Database Utilities (Eseutil.exe) tool. The first 4-KB page of each log file contains header information that describes and identifies the log file and the databases it belongs to. The command Eseutil /ml [log file name] displays the header information. For more information about Eseutil, see Eseutil. If you use the wrong switch for displaying a header (for example, by using /ml with a database header instead of /mh), an error is displayed or the header information that is displayed may be garbled or incorrect. You cannot view the header of a database while it is mounted. You also cannot view the header of the current log file (Enn.log) while any database in the storage group is mounted. Exchange holds the current log file open as long as one database is using it. You can, however, view the checkpoint file header while databases are mounted. Exchange updates the checkpoint file every thirty seconds, and its header is viewable except during the moment when an update is occurring. As an Exchange administrator, it is valuable to understand Exchange file headers. If you understand the file headers, you can determine which database and log files belong together and which files are needed for successful recovery. In the following log file header example, note the first four lines. Base name: e00 Log file: e00.log lGeneration: 11 (0xB) Checkpoint: (0xB,7DC,6F) These log file header lines show that this log file is the current log file because the log file name does not have a sequence number. The lGeneration line shows that when the log is filled and closed, its sequence number will be B, corresponding to the decimal value 11. The base name is e00, and therefore the final log file name will be E000000B.log. The Checkpoint value in the previous header example is not actually read from the log file header, but it is displayed as if it were. Eseutil.exe reads the Checkpoint value directly from Enn.chk, so you do not have to enter a separate command to learn where the checkpoint file is. If the checkpoint file has been destroyed, the Checkpoint value reads NOT AVAILABLE. In this case, the checkpoint is in the current log file (0xB), and the numbers 7DC and 6F indicate
147
how far into the log file the checkpoint is. Note that you will seldom have a practical need for this information. If the checkpoint file is destroyed, Exchange can still recover and replay log files appropriately. But to do so, Exchange begins scanning log files, beginning with the oldest file available, instead of starting at the checkpoint log. Exchange skips data that has already been applied to the database and works sequentially through the logs until data that must be applied is encountered. Typically, it takes only one or two seconds for Exchange to scan a log file that has already been applied to the database. If there are operations in a log file that must be written to the database, it can take anywhere from 10 seconds to several minutes to apply them. On average, a log file's contents can be written to the database in 30 seconds or less. When an Exchange database shuts down normally, all outstanding data is written to the database files. After normal shutdown, the database file set is considered consistent, and Exchange detaches it from its log stream. This means that the database files are now selfcontainedthey are completely up to date. The transaction logs are not required to start the database files. You can tell whether a database has been shut down cleanly by running the command Eseutil /mh and examining the file headers. With all databases in a storage group disconnected and in a Clean Shutdown state, all log files can be safely deleted without affecting the databases. If you were then to delete all log files, Exchange would generate a new sequence of logs starting with Enn00000001.log. You could even move the database files to a different server or storage group that has existing log files, and the databases would attach themselves to a different log stream. Note: Although you can delete the log files after all databases in a storage group have been shut down, doing so will affect your ability to restore older backups and roll forward. The current database no longer needs the existing log files, but they may be necessary if you must restore an older database. If a database is in a Dirty Shutdown state, all existing transaction logs from the checkpoint forward must be present before you can mount the database again. If these logs are unavailable, you must repair the database by running the command Eseutil /p to make the database consistent and ready to start. Caution: If you have to repair a database, some data may be lost. Data loss is frequently minimal; however, it may be catastrophic. After running Eseutil /p on a database, you should completely repair the database with the following two operations: First, run Eseutil/d to defragment the database. This operation discards and rebuilds all database indexes and space trees. Second, run the Information Store Integrity Checker (Isinteg.exe) tool in its fix mode. This tool scans the database for logical
148
inconsistencies that are created by discarding outstanding transaction logs. For example, there may be references in the database that are not up to date with each other. Isinteg.exe attempts to correct such problems with the minimum data loss possible. In addition to allowing Exchange to recover reliably from an unexpected database stop, transaction logging is also essential to making and restoring online backups. For more information about making and restoring online backups, see Database Backup and Restore.
Circular Logging
Although it is not recommended as a best practice, you can configure Exchange to save disk space by enabling circular logging. Circular logging allows Exchange to overwrite transaction log files after the data that the log files contain has been committed to the database. However, if circular logging is enabled, you can recover data only up until the last full backup. In the standard transaction logging that is used by Exchange 2007, each database transaction in a storage group is written to a log file and then to the database. When a log file reaches one megabyte (MB) in size, it is renamed and a new log file is created. Over time, this results in a set of log files. If Exchange stops unexpectedly, you can recover the transactions by replaying the data from these log files into the database. Circular logging overwrites and reuses the first log file after the data it contains has been written to the database. In Exchange 2007, circular logging is disabled by default. By enabling it, you reduce drive storage space requirements. However, without a complete set of transaction log files, you cannot recover any data more recent than the last full backup. Therefore, in a normal production environment, circular logging is not recommended. Note: If local continuous replication (LCR) is enabled, you cannot enable circular logging. For information about how to enable and disable circular logging in Exchange 2007, see How to Enable and Disable Circular Logging for a Storage Group.
149
150
Rolling a log forward means that the current (Exx.log) log file is closed and a new transaction log file is generated, even if the current log file is not full. For more information about transaction logging, see Understanding Transaction Logging.
The storage group must have one or more mailboxes that are frequently logged on to by a process or by an application. The maximum number of log files that will be generated each day for an idle storage group depends on the configuration of the Mailbox server. The maximum number of log files per idle storage group for each Mailbox server configuration is listed in Table 14. Table 18 Maximum number of log files per idle storage group for each Mailbox server configuration
Mailbox server configuration Maximum number of transaction log files generated per day by an idle storage group
Stand-alone (with and without LCR) Single copy cluster CCR with Lossless availability
96
384 675
Mailbox servers generally create more transaction logs than the value shown in the preceding table because of user activity, online maintenance, and other factors.
151
There are two versions of ESE: ESENTl The database engine for Active Directory and many Microsoft Windows components. Unlike other versions of ESE (which use five MB log files and four KB page sizes), the Active Directory implementation of ESENT uses ten MB log files and eight KB pages. ESE98 The database engine in Exchange 2000 Server, Exchange Server 2003, and Exchange Server 2007. ESE was previously known as Joint Engine Technology (JET) Blue. JET Blue is not the same as the version of JET found in Microsoft Access (known as "JET Red").
Transactions
ESE is a sophisticated, transaction-based database engine. A transaction is a series of operations that are treated as an atomic (indivisible) unit. All operations in a transaction are either completed and permanently saved, or no operations are performed. Consider, for example, the operations involved when moving a message from the Inbox to your Deleted Items folder. The message is deleted from one folder, added to another folder, and the folder properties are updated. If a failure occurs, you do not want two copies of the message, no copies at all, or folder property values (such as item count) that are inconsistent with the actual folder contents. To prevent problems such as this, ESE bundles operations inside a transaction. ESE makes sure that none of the operations are permanently applied until the transaction is committed to the database file. When the transaction is committed to the database file, all the operations are permanently applied. If a server stops responding, ESE also handles automatic recovery when you restart the server and rolls back any uncommitted transactions. If ESE fails before a transaction is committed, the entire transaction is rolled back, and it is as if the transaction never occurred. If ESE stops responding after the transaction is committed, the entire transaction is persisted, and the changes are visible to clients.
ACID Transactions
Transactions such as those listed in the previous section are generally referred to as ACIDtransactions. ACID is an acronym for the following attributes: Atomic This term indicates that a transaction state change is all or none. Atomic state changes include database changes, and messages and actions on transducers. Consistent This term indicates that a transaction is a correct transformation of the state. The actions taken as a group do not violate any one of the integrity constraints associated with the state. This requires that the transaction be a correct program.
152
Isolated This term indicates that even though transactions run at the same time, it appears to each transaction (t), that other transactions executed either before t or after t, but not both. Durable Committed transactions are preserved in the database, even if the system stops responding.
Snapshot Isolation
After a transaction starts, ESE guarantees that the session views a single, consistent image of the database, as it exists at the start of its transaction, plus its own changes. Because other sessions can also modify the data and commit their transactions, these changes are invisible to any transaction that started before the commit. A user can modify a record only if that user is viewing the latest version. Otherwise, the update fails with JET_errWriteConflict. Versions earlier than the latest transaction are automatically discarded. ESE features a transaction isolation level called Snapshot Isolation. Snapshot Isolation level allows users to access the last committed row using a transitionally consistent view of the
153
database. Snapshot Isolation is a concurrency control algorithm that was first described in the paper A Critique of ANSI SQL Isolation Levels. Snapshot Isolation is implemented by ESE by using repeatable reads.
Database Pages
The page size in ESE is defined by the application that uses it. For example, ESE98 (Exchange 2000 Server and Exchange Server 2003) use four KB pages, whereas ESENT (Active Directory) uses eight KB pages. Each of these four KB or eight KB pages contains pointers to other pages or to the actual data that is being stored in the B-tree. The pointer and data pages are intermixed in the file. To increase performance wherever possible, pages are cached in a memory buffer for as long as possible. This reduces the need to go to disk. Each page starts with a 40-byte page header, which includes the following values: pgnoThis This value indicates the page number of the page. DbtimeDirtied This value indicates the Dbtime the page was last modified. pgnoPrev This value indicates the page number of the adjacent left page on the leaf.
pgnoNext This value indicates the page number of the adjacent right page on the leaf. ObjidFDP This value indicates the Object ID of a special page in the database, referred to as Father of the Data Page (FDP), which indicates which B-tree this page belongs to. The FDP page is used during repair. cbFree This value indicates the number of bytes available on the page.
cbUncommittedFree This value indicates the number of uncommitted bytes available (bytes that are free but available for reclaim by rollback) on the page.
154
ibMicFree This value indicates the page offset for the next available byte at the top of the page.
ECC Checksum
Error Correcting Code (ECC) Checksum enables the correction of single-bit errors in database pages (in the .edb file). It consists of two 32-bit checksums. The first is an XOR checksum in which the page number is used as a seed in the calculation. The second 32-bit checksum is an ECC checksum, which allows for the correction of single-bit errors on the page.
Constructs a page correctly, but tells the operating system to write the page in the wrong location. If a system administrator encounters a -1018 error or runs diagnostic hardware tests against the server and these tests report no issues, the administrator might conclude that Exchange must be responsible for the issue, because the hardware passed the initial analysis. Frequently, additional investigation by Microsoft or hardware vendors uncovered subtle issues in hardware, firmware, or device drivers that are actually responsible for damaging the database file. Ordinary diagnostic tests might not detect all the transient faults for several reasons. Issues in firmware or driver software might fall outside the capabilities of diagnostic programs. Diagnostic tests might be unable to adequately simulate long run times or complex loads. Also, the addition of diagnostic monitoring or debug logging might change the system enough to prevent the issue from appearing again. The simplicity and stability of the Exchange mechanisms that generate checksums and write pages to the database file suggest that a -1018 error is probably caused by something other than Exchange. The checksum and incorrect page detection mechanisms are simple and reliable, and have remained fundamentally the same since the first Exchange release, except for minor changes to adapt to database page format changes between database versions.
155
A checksum is generated for a page that is about to be written to disk, after all other data is written to the page, including the page number itself. After Exchange adds the checksum to the page, Exchange instructs the Microsoft Windows Server operating system to write the page to disk by using standard, published Windows Server APIs. The checksum might be generated correctly for a page, but the page might be written to the wrong location on the hard disk. This can be caused by a transient memory error, such as a "bit flip." For example, suppose Exchange constructs a new version of page 70. The page itself does not experience an error, but the copy of the page number that is used by the disk controller or by the operating system is randomly changed. This problem can occur if 70 (binary 1000110) has been changed to 6 (binary 000110) by an unstable memory cell. The page's checksum is still correct, but the location of the page in the database is now wrong. Exchange reports a -1018 error for the page when it detects that the logical page number does not match the physical location of the page. Another kind of page numbering error (caused by Exchange) may occur if Exchange writes the wrong page number on the page itself. But this causes other errors, not the -1018 error. If Exchange writes 71 on page 70, and then performs the checksum on the page correctly, the page is written to location 71 and passes both the page number and checksum tests. Frequently, a single -1018 error that is reported in an Exchange database does not cause the database to stop or result in a symptom other than the presence of the -1018 error itself. The page might be in a folder that is infrequently accessed (for example, the Sent or Deleted Items folders), or in an attachment that is seldom opened, or even empty. Even though a single -1018 error is unlikely to cause extensive data loss, -1018 errors are still cause for concern because a -1018 error is proof that your storage system did not reliably store or retrieve data at least one time. Although the -1018 error might be a transient issue that never occurs again, it is more likely that this error is an early warning of an issue that will become progressively worse. Even if the first -1018 error is on an empty page in the database, you cannot know which page might be damaged next. If a critical global table is damaged, the database might not start, and database repair might be partly or completely unsuccessful. After a -1018 error is logged, you must consider and plan for the possibility of imminent failure or additional random damage to the database, until you find and eliminate the root cause.
Note: Although the trees inside an ESE database are generally referred to as B-trees, they are actually B+ trees. B+ trees include all the characteristics of B-trees, but additionally each data page in the B+ tree has page pointers to its previous and next adjacent page on the leaf. Although there is an overhead during insertion or split and merge operations to keep these pointers up-to-date, the pointers allow for faster sequential seeking through the data in the B+ tree structure. From an ESE perspective, a database table is a collection of B-trees. Each table consists of one B-tree that contains the data, although there can be many secondary index B-trees used to provide different views of the data. If a column or field in a table becomes too wide to store in the B-tree, it is divided to a separate B-tree, named the long-value tree. The definition of these tables and their associated B-trees is stored in another B-tree, named the system catalog. Loss of the system catalog is a serious problem. Therefore, ESE keeps two identical copies of this B-tree in each database.
Split
When a page becomes almost full, about half the data is put on a secondary page and an extra key is put in the secondary page's parent page. This process is performed unless the parent page is also full. In this event, the parent page is split, and a pointer is added to this page's parent page. Ultimately, every pointer page up to the root block might need to be split. If the root block needs to be split, an additional level of pages is inserted into the tree. Figuratively speaking, the tree grows in height.
Merge
When a page is almost empty, it is merged with an adjacent page, the pointers in the parent page are updated, and if it is required, the page is merged. Ultimately, if every pointer page up
157
to the root block is merged, the tree shrinks in height. To obtain to a leaf (data), ESE starts at the root node and follows the page pointers until it gets to the desired leaf node.
Fan-Out
The tree structure of an ESE B-tree has very high fan-out. High fan-out means ESE can reach any piece of data in a 50 GB table with no more than four disk reads (three pointer pages and the data page itself). ESE stores over 200 page pointers per four KB page, enabling ESE to use trees with a minimal number of parent/child levels (also called shallow trees). ESE also stores a key of the current tree, which enables ESE to quickly search down the current tree. The preceding diagram is a tree with three parent/child levels; a tree with four parent/child levels can store many gigabytes of data.
Indexes
A traditional B-tree is indexed in only one particular way. It uses one key, and the data must be retrieved using that key. For example, the records in the messages table are indexed on a message's unique identifier, called the message transfer service (MTS)-ID. However, a user probably wants to view the data in the messages table ordered in a more user friendly format. Indexes, or more specifically, secondary indexes, are used to retrieve the data. Each secondary index is another B-tree that maps the chosen secondary key to the primary key. This makes Btrees small compared to the data they index. To understand how a secondary index is used, consider what occurs when a user changes the way messages are presented in a messaging folder. If you change your folder view in Outlook so that subject, instead of received time, orders the view, Outlook causes the store and ESE to build a new, secondary index on your message folder table. When you change views on a large folder for the first time, you will experience a delay. If you look closely at the server, you see a small spike in disk activity. When you switch to that view again, the index is already built, and the response is much quicker. The Microsoft Exchange Information Store services' secondary index B-trees live for eight days. If they are not used, the Microsoft Exchange Information Store service deletes them as a background operation.
Long-Values
A column or a record in ESE cannot span pages in the data B-tree. There are values (such as PR_BODY, which is the message body of a message) that break the 4KB boundary of a page. These are referred to as long-values (LV). A table's long-value B-tree is used to store these large values.
158
If a piece of data is entered in an ESE table, and it is too large to go into the data B-tree, it is divided into four KB sized pages and stored in the table's separate long-value B-tree. The record in the data B-tree contains a pointer to the long-value. This pointer is called the longvalue ID (LID) and means that the record has a pointer to LID 256.
Record Format
A collection of B-trees represents a table, and a table is a collection of rows. A row is also called a record. A record consists of many columns. The maximum size of a record, and therefore the number of columns that appear in a single record, is governed by the database page size, minus the size of the header. ESE has a four KB-page size. Therefore, the maximum record size is approximately 4,050 bytes (4,096 bytes, minus the size of the page header).
Bit Unsigned Byte Short Unsigned Short Long Unsigned Long LongLong Currency IEEE Single IEEE Double Date Time GUID Binary Text
NULL, 0, or non-0 1-byte unsigned integer 2-byte signed integer 2-byte unsigned integer 4-byte signed integer 4-byte unsigned integer 8-byte signed integer 8-byte signed integer 4-byte floating-point number 8-byte floating-point number 8-byte date-time (integral date, fractional time) 16-byte unique identifier Binary string, length <= 255 ANSI or Unicode string, length <= 255 bytes
159
Description
Large value binary string, length < 2 GB Large value ANSI or Unicode string, length < 2 GB
The column data types fall into two categories. The first category is fixed and variable columns. The second category is tagged columns. Each column is defined as a 16-byte FIELD structure, plus the size of the column name. When a table is created in an ESE database, the table is defined by using an array of FIELD structures. This array identifies the individual columns in the table. Within this array, each column is represented through an index value, called the column ID. This is similar to an ordinary array in which you can reference array members by ID, such as array[0], array[1], and so on. Columns are quickly accessed by ID, but a search by column name requires a linear scan through the array of FIELD structures.
Tagged Columns
ESE defines columns that occur rarely or have multiple occurrences in a single record as tagged columns. An undefined tagged column incurs no space overhead. A tagged column can have repeated occurrences in the same record. If a tagged column is represented in a secondary index, each distinct occurrence of the column is referenced by the index. Tagged columns can contain an unlimited, variable length of data. The column ID and length are stored with the data. All data types can be defined as tagged columns. Each table can define up to 64,993 tagged columns.
160
161
a pure Exchange 2007 organization, as you install the Mailbox server role on the first server, Setup will prompt you with the question: "Do you have any client computers running Outlook 2003 and earlier or Entourage in your organization?" If the answer is Yes, a public folder database is created. If the answer is No, a public folder database is not created. When you install the second server, you are not prompted with the question, and Setup does not create a public folder database. Whether a public folder database is needed in the organization is decided only when you install the first server. After that, all public folder databases are optional. If you do not create a public folder database during Setup, you can always create one anytime after Setup is complete. For more information about how to create a public folder database, see How to Create a New Public Folder Database. In a mixed Exchange organization, Setup does not prompt you with the question. In these organizations, to ensure backward compatibility to Exchange versions prior to Exchange 2007, a public folder database is created by default. Specifically, because Exchange 2007 is installed in its own administrative group, this public folder database will support legacy Schedule+ free and busy functionality. For more information about installing Exchange 2007, see Deployment.
162
Exchange 2007 server that is installed in the first administrative group. This is the location where organizational forms are stored for legacy Outlook clients (clients using an Outlook version earlier than Outlook 2007). Offline Address Book and Schedule+ Free Busy The Offline Address Book folder and the Schedule+ Free Busyfolder automatically contain a subfolder for each administrative group (or site) in your topology. By default, a content replica of a specific administrative group folder resides on the first server that is installed in the administrative group. These folders are used to store legacy free and busy information and OAB data for legacy Outlook clients. Legacy Outlook clients do not support the new features in Exchange 2007 that manage free and busy information and OAB data. (These features include the Availability service, the Autodiscover service, and OAB distribution on Client Access servers). OWAScratchPad Each public folder database has an OWAScratchPad folder, which is used to temporarily store attachments that are being accessed by using Outlook Web Access. Do not modify this folder. Outlook Web Access running on Exchange 2007 Client Access servers does not use these folders to store attachment data. However, this folder is created during a pure installation of Exchange 2007. StoreEvents Each public folder database has a StoreEvents folder, which holds registration information for custom Exchange database events. Do not modify these folders. Other folders To support internal Exchange database operations, a tree may contain several other system folders, such as schema-root. Do not modify these folders.
The folder's position in the public folder tree (including its parent and child folders, if any) Content Messages that form the content of the folders. To replicate content, you must configure a folder to replicate its content to a specific public folder database or list of databases. Only the databases that you specify will have copies of the content. A copy of the folder that includes content is called a content replica.
163
For information about managing the replication of public folder content, see the following topics: How to Suspend Public Folder Content Replication How to Resume Public Folder Content Replication
Setup
When you install Exchange 2007 in a mixed Exchange 2007 and Exchange 2003 organization, Setup automatically creates a new administrative group and routing group within the Exchange 2003 organization. The Exchange 2007 servers that are added to your organization will be included in the new administrative group and routing group. As previously mentioned, Setup also installs a public folder database on the first Exchange 2007 Mailbox server. In that public folder database, Exchange 2007 creates a new free and busy folder for the new administrative group. The legacyExchangeDN property for users whose mailboxes were created on an Exchange 2007 server (not migrated from Exchange 2003) will map to the Exchange 2007 administrative group name, and will therefore also map to the Free/Busy folder. By default, to facilitate free and busy searches from Outlook 2003 and earlier client users whose mailboxes reside on an Exchange 2003 server, the client users' free and busy information will be posted to the Free/Busy public folder.
164
Management
In a mixed Exchange 2007 and Exchange 2003 organization, you can use Exchange System Manager to manage public folders. The following scenarios are supported: Exchange System Manager should only connect to the Exchange 2003 public folder database for administration. From there, changes will replicate to Exchange 2007. In a pure Exchange 2007 organization, you cannot reinstall Exchange System Manager to manage public folders. You must use the Exchange Management Shell. When verifying hierarchy replication or when viewing the Local Replica Age Limit value on a folder, we recommend using Exchange System Manager for public folders that exist on an Exchange 2003 server and using the Exchange Management Shell for public folders that exist on an Exchange 2007 server.
165
Best Practices
This section provides the best practices to consider when performing the following public folder tasks in your Exchange 2007 organization: Creating public folder databases Designing the public folder hierarchy
166
quickly performed if you have several smaller databases. Ultimately, the number of public folder databases that you deploy must address your business requirements. As you determine the number of databases that you want to deploy, you must balance the cost of replication traffic against the costs of database backup, maintenance, and restore times.
167
This DACL data must be parsed so that the display can be updated for all the public folder subscribers every time that a public folder replication message is received. Therefore, it is recommended that you arrange your public folder hierarchy according to the user sets that gain access to the parent folders. Additionally, do not implement complex permission models for your public folder hierarchies.
For more information about how to create and manage public folders by using Outlook 2007, see Public folders. For more information about how to create and manage public folders by using Outlook 2003, see Using Public Folders. For more information about how to create and manage public folders by using Outlook 2000, see Create an Office document library in an Outlook public folder.
169
170
Moving the content to a managed folder that is set up for user review before deleting the content. This gives users a chance to review items before the items are permanently removed. Marking messages as past their retention date in the user's mailbox in Outlook 2007, prompting the user to take any required action. For more information about how to handle obsolete messages, see How to Create Managed Content Settings.
Unified Messaging
In Microsoft Exchange Server 2007, the Unified Messaging server role is one of several server roles that you can install and then configure on a computer that is running Exchange 2007. Unified Messaging (UM) is new to the Exchange product line, and its introduction brings new concepts that may not be familiar to an Exchange administrator. Unified Messaging combines voice messaging, fax, and e-mail messaging into one store, accessible from a telephone and a computer. Exchange 2007 Unified Messaging integrates Exchange Server with telephony networks and brings the Unified Messaging features to the core of Exchange Server. Figure 22 illustrates the relationship between an organization's telephony network components and the Exchange 2007 Unified Messaging system.
171 Figure 23 The relationship between telephony components and Exchange Server 2007 Unified Messaging
Currently, most users and IT departments manage their voice mail and fax messages separately from their e-mail. Voice mail and e-mail exist as separate inboxes hosted on separate servers that are accessed through the desktop for e-mail and through the telephone for voice mail. Fax messages are not received into a user's inbox, but are instead received by stand-alone fax machines or a centralized fax server. Unified Messaging offers an integrated store for all messages and access to content through the computer and the telephone. Exchange 2007 Unified Messaging provides a single point of message administration for Exchange administrators in an organization. The features within Exchange 2007 Unified Messaging enable an Exchange administrator to: Manage the voice mail, e-mail, and fax systems from a single platform.
172
Manage Unified Messaging using scriptable commands. Build highly available and reliable Unified Messaging infrastructures.
The Unified Messaging server role in Exchange 2007 lets users access voice mail, e-mail, fax messages, and calendar information that is located in their Exchange 2007 mailbox from an email client such as Microsoft Outlook or Outlook Web Access, from a mobile device that has Microsoft Exchange ActiveSync enabled, such as a Windows Mobile powered smartphone or a personal digital assistant (PDA), or from a telephone. Unified Messaging in Exchange 2007 gives users features such as: Call Answering Call answering includes answering an incoming call on behalf of a user, playing their personal greeting, recording a message, and submitting it for delivery to their inbox as an e-mail message. Fax Receiving Fax receiving is the process of submitting a fax message for delivery to the Inbox. The fax receiving feature lets users receive fax messages in their Inbox. Subscriber Access The subscriber access feature enables dial-in access for company users. Company users or subscribers who are dialing into the Unified Messaging system can access their mailbox using Outlook Voice Access. Subscribers who use Outlook Voice Access can access the Unified Messaging system by using the telephone keypad or voice inputs. By using a telephone, a subscriber or user can: Access voice mail over a telephone. Listen, forward, or reply to e-mail messages over a telephone. Listen to calendar information over a telephone.
Access or dial contacts stored in the global address list or a personal contact list over a telephone. Accept or cancel meeting requests over a telephone. Set a voice mail Out-of-Office message. Set user security preferences and personal options.
Auto Attendant An auto attendant is a set of voice prompts that gives external users access to the Exchange 2007 Unified Messaging system. An auto attendant lets the user use either the telephone keypad or speech inputs to navigate the menu structure, place a call to a user, or locate a user and then place a call to that user. An auto attendant gives the administrator the ability to: Create a customizable set of menus for external users.
Define informational greetings, business hours greetings, and non-business hours greetings. Define holiday schedules. Describe how to search the organization's directory.
173
Describe how to connect to a user's extension so external callers can call a user by specifying their extension. Describe how to search the organization's directory so external callers can search the organization's directory and call a specific user. Enable external users to call the operator.
Note: Installing and running the Unified Messaging server role in a virtualized environment is not supported.
174
and the Microsoft Exchange Speech Engine service (SpeechService.exe). The Service Control Manager controls and monitors both of these services and their related processes. The Microsoft Exchange Unified Messaging service enables voice and fax messages to be stored in an Exchange 2007 mailbox and gives users telephone access to e-mail, voice mail, calendar, and contacts. If you stop this service, Unified Messaging features will not be available for users in your organization. For the Microsoft Exchange Unified Messaging service to work, the Microsoft Exchange Speech Engine service must already be started and functioning correctly. The Microsoft Exchange Speech Engine service controls the following: The dual tone multi-frequency (DTMF), also known as touchtone, interface
Automatic Speech Recognition (ASR) that is used with the Voice User Interface (VUI) in Outlook Voice Access The Text-to-Speech Engine (TTS) that reads e-mail, voice mail, and calendar items and plays the menu prompts for callers When the Microsoft Exchange Unified Messaging service and Microsoft Exchange Speech Engine service are starting, they each create their own worker processes: the UM worker process (UMWorkerProcess.exe) and the Speech Engine service worker process (SESWorker.exe). Each UM worker process enables the Microsoft Exchange Unified Messaging service and the Microsoft Exchange Speech Engine service to interact to provide Outlook Voice Access and call answering. The Speech Engine service worker process provides the TTS engine features, enables callers to use both Outlook Voice Access interfaces, and plays the system prompts for callers. For more information about Outlook Voice Access, see Understanding Unified Messaging Subscriber Access. For more information about Unified Messaging system prompts, see Understanding Unified Messaging Audio Prompts. Figure 23 illustrates the relationships between Unified Messaging components.
Service Ports
The Microsoft Exchange Unified Messaging service and the UM worker process use multiple Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) service ports to communicate with IP/VoIP gateways and the Speech Engine service worker process that is created by the Microsoft Exchange Speech Engine service at startup. The Microsoft Exchange Unified Messaging service and the UM worker process use Session Initiation Protocol (SIP) over TCP. By default, the Microsoft Exchange Unified Messaging service listens on TCP port 5060 in unsecured mode and TCP port 5061 when Transport Layer Security (TLS) is used. Each UM worker process that is created listens on TCP port 5065 and 5066. However, a UM worker process sends all Realtime Transport Protocol (RTP) traffic to the Speech Engine service worker process by using valid UDP ports that range from 1024 through 65535. A TCP control port is also used on a Unified Messaging server. When a UM worker process is created, the Microsoft Exchange Unified Messaging service passes the appropriate configuration options to the UM worker process. The configuration options that are sent include the parameters for the TCP control port number that is used for communication between the Microsoft Exchange Unified Messaging service and the UM worker process. The TCP control port that is chosen will fall between TCP ports 16,000 to 17,000.
176
Loads the configuration information for monitoring Unified Messaging worker processes from the UmRecycleConfig.xml file Initializes the UM Worker Process Manager and the startup of a UM worker process Registers SIP endpoints
The Microsoft Exchange Unified Messaging service first accepts all incoming connections, and then reroutes those requests to a UM worker process that handles the incoming request. In addition, the Microsoft Exchange Unified Messaging service monitors any UM worker process that is created and ensures that the UM worker process is functioning correctly. If a UM worker process becomes unresponsive, the Microsoft Exchange Unified Messaging service stops the UM worker process, and then create a new UM worker process to replace it. Note: By default, each UM worker process will be recycled every seven days or 604800 seconds. The setting can be found in the \bin\umrecyclerconfig.xml file. The Microsoft Exchange Unified Messaging service works with the Microsoft Exchange Speech Engine service to implement all the telephony features that are offered by Exchange 2007 Unified Messaging. The Microsoft Exchange Unified Messaging service handles call control and interacts with the Microsoft Exchange Speech Engine service to handle the incoming media streams that are negotiated in the SIP signaling information between the Microsoft Exchange Unified Messaging service and a SIP-enabled telephony device such as an IP/VoIP gateway or IP/PBX. The following events occur when an incoming call is initiated by the Microsoft Exchange Unified Messaging service: 1. A call session is initiated by the Microsoft Exchange Unified Messaging service. 2. The Microsoft Exchange Unified Messaging service redirects the call to a UM worker process. 3. The UM worker process requests that a media session be established with the Microsoft Exchange Speech Engine service, and then the UM worker process relays the media information back to the caller. 4. The Speech Engine Service worker process that is created by the Microsoft Exchange Speech Engine service provides a UDP port for the RTP stream. 5. The UM worker process uses the SIP signaling information to inform the Speech Engine Services worker process to end the call session when the RTP media stream is no longer needed.
177
For more information about Voice over IP (VoIP) security in Unified Messaging, see Understanding Unified Messaging VoIP Security. The Unified Messaging worker process also contains a fax provider that lets users receive fax messages in their Exchange 2007 mailbox. The fax provider that is included in a UM worker process uses the T.38 protocol over UDP Transport Layer (UDPTL). This UM worker process transfers the fax message and then creates and processes the compressed Tagged Image File Format (TIFF) of the fax message that is received. For more information about faxing in Unified Messaging, see Understanding Faxing in Unified Messaging.
178
Microsoft Exchange Speech Engine service processes the RTP stream that is associated with the call, and then passes the information and events to the UM worker process that is managing the SIP connection. The Microsoft Exchange Speech Engine service supports the following features in Unified Messaging: Automatic Speech Recognition (ASR) input recognition DTMF, or touchtone, input recognition The TTS conversion process Recording e-mail and voice mail messages Playing e-mail and voice mail messages to the user
For more information about Automatic Speech Recognition, see Understanding Automatic Speech Recognition Directory Lookups. For more information about the TTS engine, see Understanding Unified Messaging Audio Prompts. When the Microsoft Exchange Speech Engine service is starting, it creates the Speech Engine Service worker process. During call flow, the Speech Engine Service worker process is responsible for recognizing touchtone or voice input from the user. For example, if a caller uses ASR or voice inputs to navigate the main menu, the following steps occur: 1. An Outlook Voice user calls a subscriber access number and logs on to their mailbox or an outside caller dials in to a number that is configured to have a UM auto attendant and they use ASR or voice inputs to navigate the main menu. 2. When a call is received by a Unified Messaging server, the Unified Messaging server determines whether the menu is speech-enabled. If the menu is speech-enabled, the Unified Messaging server uses specific prompts and grammars. 3. The UM worker process notifies the Speech Engine Service worker process to begin recognition based on the grammar file that is needed. For this example, the main menu is needed. Therefore, the Speech Engine Service worker process loads the mainmenu.grxml file. The Microsoft Exchange Speech Engine service plays the main menu prompts over the telephone to the Outlook Voice Access user. 4. For example, the user may respond by saying e-mail. The voice traffic that is created is sent over an RTP stream and is received by the Speech Engine Service worker process. The Speech Engine Service worker process, which has already loaded the mainmenu.grxml file, compares the voice recognition results to the contents in the file. The result is sent to the UM worker process. 5. The UM worker process determines what transition to make based on the results from the Speech Engine Service worker process. For this example, the next transition state is to play the menu of e-mail options to the user. 6. The correct activity manager is loaded into memory for playing the e-mail menu. The corresponding grammar file for the e-mail menu, which is email.grxml, is then loaded by the Speech Engine Service worker process.
179
7. The UM worker process sends a request to the Microsoft Exchange Speech Engine service to play the corresponding prompts for the e-mail menu. For more information about the grammar files that are used in Unified Messaging, see Understanding Automatic Speech Recognition Directory Lookups. A similar series of events occurs when a caller is using DTMF, or touchtone, inputs to navigate the menus. Handling of DTMF input resembles handling voice inputs, except that the Speech Engine Service worker process notifies the UM worker process when DTMF events are detected in the RTP stream. The data that is passed by this event corresponds to the number pressed by the caller. For more information about the DTMF or touchtone interface, see Understanding the DTMF Interface.
Overview
In earlier versions of Microsoft Exchange, the Exchange administrator's main responsibility was managing e-mail messages and, sometimes, managing a network infrastructure. However, the earlier versions of Exchange did not have unified messaging capabilities. The Exchange Server version 5.5, Exchange 2000 Server, and Exchange Server 2003 administrator had to focus only on the Exchange environment and the network infrastructure and relied heavily on telephony consultants to manage their telephony environment and infrastructure. To successfully deploy a Unified Messaging server, you must have a good understanding of basic telephony concepts and telephony components. After you gain a good understanding of
180
telephony basics, you can successfully integrate Exchange 2007 Unified Messaging into an Exchange 2007 organization.
Circuit-Switched Networks
In circuit-switched networks, such as the Public Switched Telephone Network (PSTN), multiple calls are transmitted across the same transmission medium. Frequently, the medium that is used in the PSTN is copper. However, fiber optic cable might also be used. A circuit-switched network is a network in which there exists a dedicated connection. A dedicated connection is a circuit or channel that is set up between two nodes so that they can communicate. After a call is established between two nodes, the connection may be used only by these two nodes. When the call is ended by one of the nodes, the connection is canceled. Note: PSTN is a grouping of the world's public circuit-switched telephone networks. This grouping resembles the way that the Internet is a grouping of the world's public IPbased packet-switched networks. There are two basic types of circuit-switched networks: analog and digital. Analog was designed for voice transmission. For many years, the PSTN was only analog, but today, circuitbased networks such as the PSTN have transitioned from analog to digital. To support an analog voice transmission signal over a digital network, the analog transmission signal must be encoded or converted into a digital format before it enters the telephony WAN. On the receiving end of the connection, the digital signal must be decoded or converted back into an analog signal format. There are advantages and disadvantages to circuit-switched networks. Circuit-switched networks have several disadvantages. Circuit-switched networks can be relatively inefficient,
181
because bandwidth can be wasted. This is not the case when VoIP is used on a packetswitched network. VoIP shares the available bandwidth with all other network applications and makes more efficient use of the available bandwidth. Another disadvantage to circuit-switched networks is that you have to provision for the maximum number of telephone calls that will be required for peak usage times and then pay for the use of the circuit or circuits to support the maximum number of calls. Circuit switching has one big advantage over packet-switched networks. In a circuit-switched network when you use a circuit, you have the full circuit for the time that you are using the circuit without competition from other users. This is not the case with packet switched networks. Note: Synchronous Digital Hierarchy (SDH) has become the primary transmission protocol for most PSTN networks. SDH is carried over fiber optic networks.
Packet-Switched Networks
Packet switching is a technique that divides a data message into smaller units that are called packets. Packets are sent to their destination by the best route available, and then they are reassembled at the receiving end. In packet-switch networks such as the Internet, packets are routed to their destination through the most expedient route, but not all packets traveling between two hosts travel the same route, even those from a single message. This almost guarantees that the packets will arrive at different times and out of order. In a packet-switched network, packets (messages or fragments of messages) are individually routed between nodes over data links that may be shared by other nodes. With packet switching, unlike circuit switching, multiple connections to nodes on the network share the available bandwidth. Note: With circuit switching, all packets go to the receiver in order and along a single path. Packet-switched networks exist to enable data communication on the Internet throughout the world. A public data network or packet-switched network is the data counterpart to the PSTN. Packet-switched networks are also found in such network environments as LAN and WAN networks. A WAN packet-switched environment relies on telephone circuits, but the circuits are arranged so that they retain a permanent connection with their end point. In a LAN packetswitched environment, such as with an Ethernet network, the transmission of the data packets relies on packet switches, routers, and LAN cables. In a LAN, the switch establishes a connection between two segments only long enough to send the current packet. Incoming packets are saved to a temporary memory area or buffer in memory. In an Ethernet-based LAN, an Ethernet frame contains the payload or data portion of the packet and a special header that includes the media access control (MAC) address information for the source and destination of the packet. When the packets arrive at their destination, they are put back in
182
order by a packet assembler. A packet assembler is needed because of the different routes that the packets may take. Packet-switched networking has made it possible for the Internet to exist and, at the same time, has made data networksespecially LAN-based IP networksmore available and widespread.
PBX
A legacy PBX is a telephony device that acts as a switch for switching calls in a telephony or circuit-switched network. Note: A legacy PBX is a PBX that cannot pass IP packets. In many businesses, legacy PBXs have been replaced by IP/PBXs. A PBX is a telephony device that is used by most medium- and larger-sized companies. A PBX enables users or subscribers of the PBX to share a certain number of outside lines for making telephone calls that are considered external to the PBX. A PBX is a much less expensive solution than giving each user in a business a dedicated external telephone line. Telephone sets, in addition to fax machines, modems, and many other communication devices, can be connected to a PBX. The PBX equipment is typically installed at a business's premises and connects calls between the telephones located and installed in the business site. A limited number of outside lines, also known as trunk lines, are typically available for making and receiving calls that are external to the business from an external source such as the PSTN. Internal business calls made to external telephone numbers by using a PBX are made by dialing 9 or 0 in some systems followed by the external number. An outgoing trunk line is automatically selected to complete the call. Conversely, the calls placed between users within the business do not ordinarily require special dialing digits or use of an external trunk line. This is because the internal calls are routed or switched by the PBX between telephones that are physically connected to the PBX. In medium- and larger-sized businesses, the following PBX configurations are possible: A single PBX that supports the whole business. A grouping of two or more PBXs that are not networked or connected to each other. A grouping of two or more PBXs that are connected together or networked.
Note: An Exchange 2007 Unified Messaging dial plan can span more than one PBX and one IP/VoIP gateway.
183
IP/PBX
An IP/PBX is a Private Branch eXchange (PBX) that supports the IP protocol to connect phones by using an Ethernet or packet-switched LAN and sends its voice conversations in IP packets. A hybrid IP/PBX supports the IP protocol for sending voice conversations in packets, but also connects traditional analog and digital circuit-switched Time Division Multiplex (TDM) telephones. An IP/PBX is telephone switching equipment that resides in a private business instead of the telephone company. IP/PBXs are frequently easier to administer than legacy PBXs, because administrators can easily configure their IP/PBX services by using an Internet browser or another IP-based utility. Plus, no additional wiring, cabling, or patch panels must be installed. With an IP/PBX, moving an IP-based telephone is as simple as unplugging a telephone and plugging it in at a new location, instead of the costly service calls to move a telephone from legacy PBX vendors. Additionally, businesses that own an IP/PBX do not have the additional infrastructure costs that are required to maintain and manage two separate circuit-switched and packet-switched networks.
VoIP
Voice over Internet Protocol (VoIP) is a technology that contains hardware and software that enables people to use an IP-based network as the transmission medium for telephone calls. In VoIP, voice data is sent in packets by using IP instead of by traditional circuit transmissions or the circuit-switched telephone lines of the PSTN. An IP/VoIP gateway that you connect to your IP network uses VoIP to send voice data packets between an Exchange 2007 Unified Messaging server and a PBX system.
IP/VoIP Gateways
An IP/VoIP gateway is a third-party hardware device or product that connects a legacy PBX to your LAN. The IP/VoIP gateway lets the PBX system communicate with your Exchange 2007 Unified Messaging server that is running IP. Note: The IP/VoIP gateway can also connect to PBX systems that use VoIP instead of PSTN circuit-switched protocols. Exchange 2007 Unified Messaging relies on the gateway's abilities to translate or convert TDM or telephony circuit-switched based protocols like ISDN and QSIG from a PBX to IP- or VoIPbased protocols like Session Initiated Protocol (SIP), Real-Time Transport Protocol (RTP), or T.38 for Real-Time Facsimile Transport. The IP/VoIP gateway is integral to the functionality and operation of Unified Messaging.
184
Important: After you install the IP/VoIP gateway, you must create an IP Gateway object in the Active Directory directory service to represent the IP/VoIP gateway.
185
SIP clients such as IP/VoIP gateways and IP/PBXs can use TCP and UDP port 5060 to connect to SIP servers. SIP is used only for setting up and tearing down voice or video calls. All voice and video communications occur over Real-time Transport Protocol (RTP).
T.38
T.38 is a faxing standard and protocol that enables faxing over an IP-based network. The IPbased network then uses SMTP and MIME to send the message to a recipient's mailbox. T.38 allows for IP fax transmissions for IP-enabled fax devices and fax gateways. The devices can include IP network-based hosts such as client computers and printers. In Exchange 2007 Unified Messaging, the fax images are separate documents encoded as TIFF images and attached to an e-mail message. Both the e-mail message and the TIFF attachment are sent to the recipient's Exchange 2007 UM-enabled mailbox.
UM Web Services
The Unified Messaging Web Services installed on a computer that is running Exchange 2007 that has the Client Access server role installed use IP for network communication between a client, the Unified Messaging server, the Client Access server, and computers that are running other Exchange 2007 server roles. There are several Exchange 2007 Outlook Web Access and Microsoft Office Outlook 2007 client features that rely on the UM Web Service to operate correctly. The following Unified Messaging client features rely on the UM Web Service: The voice mail options that are available with Exchange 2007 Outlook Web Access, including the Play on Phone feature and the ability to reset a PIN. The Play on Phone feature found in the Outlook 2007 client.
Note: When an organization uses the Play on Phone and other client features in Exchange 2007 Unified Messaging, a computer that is running the Client Access, Hub
186
Transport, and Mailbox server roles within the same Active Directory site is required in addition to the computer or computers that have the Unified Messaging server role installed.
Port Assignments
Table 20 shows the IP ports that Unified Messaging uses for each protocol and whether the IP ports that are used for each protocol can be changed. Table 20 IP Ports that are used for Unified Messaging protocols Protocol SIP - UM Service TCP Port 5060 (TCP) 5061 (MTLS) UDP Port Can ports be changed? Ports are hard-coded and cannot be set by using the XML configuration file. Ports are set by using the XML configuration file. Port range above 1024 Dynamic port above 1024 Dynamic port above 1024 The range of ports can be changed in the registry. Ports are defined by the system. Ports are defined by the system.
RTP
187
188
for a business or organization to purchase the telephony hardware that is used onsite to support the organization's telephone system. Typically, Centrex systems are used by small offices that rent Centrex services from a telephone company on a line-by-line and monthby-month basis. Centrex telephony systems are sometimes used by larger organizations, but are most frequently found in government, public, and private organizations. Centrex frequently uses analog telephone lines for the connections to a business or organization. However, it can also use T1-circuits with a demultiplexer onsite to support analog and digital telephones or ISDN lines. In a Centrex-based telephony system, the telephone company's central office acts as the telephone exchange. It is designed specifically to support the needs of a given organization. The central telephone office routes the calls that originate from inside the company to the appropriate internal or external telephone number. Centrex uses the telephone companys central office exchange to route internal calls back to an extension. For example, with Centrex, the telephone exchange or telephone company's central office knows which extensions are internal. Therefore, an employee who is located within the organization's telephony network can dial another employee in the same telephony network or dial plan by using a 4-digit extension number. When a call is dialed to the internal telephone extension number, it is forwarded to the telephone companys central office and then is routed back to the extension number that initiated the call. A variation of a traditional Centrex telephony system is called IP Centrex. In an IP Centrex telephone system, the call is sent through an IP/VoIP gateway that is located at a telephone companys central office or located onsite at a service provider. In this kind of telephone system, the IP/VoIP gateway translates the call into IP-based data packets that can be sent over the Internet or sent over a Voice over IP (VoIP)-based network. However, if the call is sent over the Internet, there is typically another IP/VoIP gateway that receives the call and then translates the call back to a traditional circuit-switched call. Organizations that currently have a traditional Centrex telephone system in place must install, deploy, and maintain one or more IP/VoIP gateways for Exchange 2007 Unified Messaging to work correctly. Exchange 2007 Unified Messaging may require that you install, deploy, and maintain IP/VoIP gateways to work with IP Centrex. There are several variables that will determine whether you must have need an IP/VoIP gateway. These variables include the type of telephones that are used in your organization (analog, digital, or IP) and the protocols that are supported by the IP Centrex system. Key telephone In a Key telephone system, the telephone companys central office is connected to the organization by using standard analog or digital telephone lines. A single telephone extension number is connected to multiple telephones so that when a call is placed into the organization by using this telephone number, all the telephones that are associated with that line or extension number will ring at the same time. With Key telephone systems, individual users share lines across telephones. Therefore, callers will not experience frequent busy signals when they try to call into an organization. Key
189
telephone systems are typically used by small offices where internal call volume is high but external call volume is low. Key telephone systems have become more sophisticated over time and can work with Exchange 2007 Unified Messaging if an IP/VoIP gateway is added. However, some less sophisticated systems may not work even if a supported IP/VoIP gateway is used. PBX A legacy PBX is a telephony device that switches calls in a telephony or circuitswitched network. A legacy PBX is a PBX that does not have a network adapter and cannot pass IP packets. Because they cannot pass IP packets, some businesses and organizations have replaced legacy PBXs with IP/PBXs. For a list of PBXs that are supported by Exchange 2007 Unified Messaging, see the Telephony Advisor for Exchange Server 2007 Web site. PBXs are used by most medium- and larger-sized companies. A PBX enables users or subscribers of the PBX to share a certain number of outside lines for making telephone calls that are considered external to the PBX. A PBX is a much less expensive solution than giving each user in a business a dedicated external telephone line. Telephones, in addition to fax machines, modems, and many other communication devices, can be connected to a PBX. The PBX equipment is typically installed on an organization's premises and connects calls between the telephones located onsite and the telephone company. A limited number of outside lines, also known as trunk lines, are typically available for making and receiving calls that are external to the business from an external source such as the PSTN. To enable a legacy PBX to be used with Exchange 2007 Unified Messaging, you must deploy a supported IP/VoIP gateway. For a list of supported IP/VoIP gateways, see the Telephony Advisor for Exchange Server 2007 Web site. IP/PBX An IP/PBX is a PBX that has a network adapter that supports the IP protocol. It is a piece of telephone switching equipment that generally resides in an organization or business instead of being located at a telephone company office. There are two types of IP/PBXs: traditional IP/PBXs and hybrid IP/PBXs. Both traditional IP/PBXs and hybrid IP/PBXs support the IP protocol for sending voice conversations in packets to VoIP-based telephones. However, hybrid IP/PBXs also connects traditional analog and digital telephones. IP/PBXs are frequently easier to administer than legacy PBXs, because administrators can more easily configure IP/PBX services by using an Internet browser or another IP-based tool. Also, no additional wiring, cabling, or patch panels must be installed. With an IP/PBX, you can move an IP-based telephone by merely unplugging a telephone and plugging it in at a new location. This enables you to avoid the costly service calls that are required to move a telephone from legacy PBX vendors. Additionally, organizations that own an IP/PBX do not have to incur the additional infrastructure costs that are required to maintain and manage separate circuit-switched and packet-switched networks. For a list of IP/PBXs
190
that are supported for Exchange 2007 Unified Messaging, see the Telephony Advisor for Exchange Server 2007 Web site.
In addition to the three functions included in the previous list, PBXs may offer other calling features such as: Auto attendants Call accounting Call pick-up Call transfer Call waiting Conference calling Direct Inward Dialing (DID) Do Not Disturb (DND)
Although there are several manufacturers of PBXs, they all fit into two basic categories: analog and digital. These types of PBXs are frequently known as legacy or traditional PBXs. Typically, PBX systems are connected to the telephone companys central office by using special telephone lines, known as T1- and E1-lines. T1- and E1-lines have multiple channels. These telephone lines are also known as trunk lines. They enable the central office or the PBX to send multiple calls over the same line for better efficiency by using a simplified wiring layout. A PBX can also work with analog or ISDN lines. You can control how many channels or lines you want to configure to receive calls that come from external callers and how many channels or lines to devote to calls that come from callers inside your organization by correctly configuring your PBX. Configuring the number of channels or lines helps prevent busy signals and enables you to configure the number of channels or lines that can be devoted to applications such as call centers. Correctly configuring your PBX is a cost effective method for managing the channels or lines in your organization because it reduces the number of leased lines that are needed. A PBX can route a specific dialed telephone number to a specific telephone so that users can have their own individual telephone number or extension number. This is known as a Direct Inward Dialing (DID) number. When the telephone number is dialed for a user, the telephone
191
company sends the DID number to the PBX by using Dialed Number Identification Service (DNIS). Because the telephone company uses DNIS to send the number, there is no need for operator intervention to route the call. The PBX has the information about the call to correctly route it to the number that was dialed by the caller. For a list of PBXs that are supported by Exchange 2007 Unified Messaging, see the Telephony Advisor for Exchange Server 2007 Web site.
192
PBXs can also save the organization money because long distance charges between employees in the different locations will be reduced. This is because a call made between two employees remains on a tie line between the PBXs and requires that the user dial only an extension number for the other user instead of placing a long distance call. Figure 25 illustrates a typical telephony and data network that includes legacy or traditional PBXs. Figure 25 Legacy and traditional PBX configuration
In a telephony environment that includes a single or multiple analog or digital PBXs, an IP/VoIP gateway is required between the PBX and the Exchange 2007 computer that has the Unified Messaging server role installed to convert the circuit-based protocols that are found on a telephony network into the IP-based protocols that are found on a data network. For more information about IP/VoIP gateways, see the following topics: Supported IP/VoIP Gateways IP/PBX and PBX Support Managing IP/VoIP Gateways
For a list of IP/VoIP gateways that are supported for Exchange 2007 Unified Messaging, see the Telephony Advisor for Exchange Server 2007 Web site.
IP/PBX Configurations
An IP/PBX is a PBX that supports the IP protocol to connect telephones by using an Ethernet or packet-switched LAN. It sends voice conversations in IP or data packets. An IP/PBX may have multiple interfaces. These include interfaces for a data network and other interfaces that allow for a connection to a telephony or circuit-switched network. The development of real-time Internet protocols has made it possible to successfully send voice and fax messages over a data network. Such real-time Internet protocols include the VoIP protocols that are used with Exchange 2007 Unified Messaging: Session Initiation Protocol (SIP) over Transmission Control Protocol (TCP) for voice messaging and T.38 for faxing. These protocols have made it possible to successfully send voice and fax messages over a data network. Real-time VoIP protocols are required to send voice messages
193
over a packet-switched or data network so that the delivery order and timing of data packets can be maintained and controlled. If these protocols were not used to maintain and control the delivery and timing of the data packets, a person's voice would be broken up and would be sound incoherent or the images might appear garbled. For more information about VoIP protocols that are used in Exchange 2007 Unified Messaging, see Understanding Protocols, Ports, and Services in Unified Messaging. For a list of IP/PBXs that are supported for Exchange 2007 Unified Messaging, see the Telephony Advisor for Exchange Server 2007 Web site. Note: Exchange 2007 Unified Messaging supports only SIP over TCP.
Because the IP/PBX can already connect to a data network and can convert the circuit-based protocols from the PSTN to packet-switched VoIP protocols, an IP/VoIP gateway may not be required to enable communication with Unified Messaging servers on the data network.
194
There are several factors that determine whether an IP/VoIP gateway will be required when you connect with an Exchange 2007 Unified Messaging server. One of these factors is the compatibility of the VoIP protocols that are used by the IP/PBX or hybrid IP/PBX and Exchange 2007 Unified Messaging. If an IP/VoIP gateway is not required, it will reduce the complexity of the telephony infrastructure, and the support that you must have for Exchange 2007 Unified Messaging will be simpler.
195
call signaling. When a call is received by a PBX or IP/PBX from a telephone company, the call includes calling identification information such as the following: The calling party's number The called party's number
Status codes such as a ring-no-answer, the state or condition of the line, line busy, and call forward always (CFA) The line or port number that is being used for the call
Note: The call information, which is sent by using one of the signaling methods that is listed later in this section, is also used to enable Message Waiting Indicator (MWI) functionality. Exchange 2007 Unified Messaging does not include support for the Message Waiting Indicator (MWI) feature. However, you can obtain information about how to enable this feature by visiting the Geomant Web site. This third-party application extends Exchange 2007 Unified Messaging to include the Message Waiting Indicator (MWI) and Short Message Service text messaging capability. Note: The third-party Web site information in this topic is provided to help you find the technical information you need. The URLs are subject to change without notice. In telephony, the signaling information is used to exchange information between endpoints on a network to set up, control, and end calls. Several signaling methods that are used by IP/VoIP gateways and IP/PBXs are supported by Exchange 2007 Unified Messaging. The signaling method that is used depends on the type of device that is being used and the type of signaling method that is used by the telephone company. The most important factor is that the device that is connecting to the telephone company and to the IP/VoIP gateway or IP/PBX must support at least one of the signaling methods that enable calling or called party information to be sent and received by callers. For more information about signaling configuration information for a supported IP/VoIP gateway, see the following: For AudioCodes IP/VoIP gateways, see the Microsoft UM Specialist Resource Page.
For Dialogic IP/VoIP gateways, see the Certified Dialogic Media Gateways for Microsoft Exchange Server 2007 Unified Messaging. Note: The third-party Web site information in this topic is provided to help you find the technical information you need. The URLs are subject to change without notice. Although there are other signaling methods that can be used, the two most popular signaling methods are as follows: Simplified Message Desk Interface (SMDI) SMDI is a protocol that is used to provide signaling, call control, and calling identification information from an interface
196
between a telephone system and a voice mail system. It is used to provide the voice mail system with the information that it must have to process an incoming call. Every time that an incoming call is sent by using SMDI over a serial interface or RS-232 interface, the information that is sent will identify the line or port, the type of call, and the calling or called party numbers. The SMDI cable connects from a device such as a PBX to a serial connection on the IP/VoIP gateway. However, SMDI is also used with IP/PBXs. The SMDI protocol allows for a maximum of only 10 digits for each calling and called number. This is a limitation of the protocol and cannot be changed. In-band In-band signaling allows for the exchange of signaling, call control, and calling identification information from a telephone company. This information is sent over the same channel and in the same band (300 Hz to 3.4 kHz) as the voice and other sounds that are being made during the call. For example, when a user places a call by using DTMF or touchtone dialing and talks to the called party, both the touchtone and the voice conversation use the same channel and band. In-band signaling is less secure because the control signals are exposed to the user and is a less popular signaling method than SMDI. In-band signaling applies only to Channel Associated Signaling (CAS). Important: We recommend that all customers who plan to deploy Exchange 2007 Unified Messaging obtain the assistance of a Unified Messaging specialist. A Unified Messaging specialist will help make sure that there is a smooth transition to Exchange 2007 Unified Messaging from a legacy voice mail system. Performing a new deployment or upgrading a legacy voice mail system requires significant PBX and Exchange 2007 Unified Messaging knowledge. For more information about how to contact a Unified Messaging specialist, see the Microsoft Exchange Server 2007 Unified Messaging (UM) Specialists Web site.
197
Active Directory Unified Messaging objects Auto attendants Subscriber access by using Outlook Voice Access
The Active Directory UM objects provide the configuration information that is required to integrate Exchange 2007 Unified Messaging, Active Directory, and the existing telephony infrastructure. Each type of object that is created in Active Directory controls a feature set in Exchange 2007 Unified Messaging. For example, when you create a UM Auto Attendant object, the settings on the Auto Attendant object control the features and settings for that auto attendant. When you configure or modify an Auto Attendant object, you control such settings as business hours, non-business hours, informational greetings, and whether to use dual tone multi-frequency (DTMF) inputs or to enable speech recognition for the auto attendant. For more information about Unified Messaging objects, see Overview of Unified Messaging Active Directory Objects.
Auto Attendants
When internal or external callers call in to the Exchange 2007 Unified Messaging system, a series of voice prompts assists them in moving through the menu system called an auto attendant. The auto attendant enables the caller to connect to a person in an organization or locate a user in the organization so that they can place a call without assistance from a human operator. Callers hear voice prompts instead of a human operator, such as, "Press 1 for technical support."
198
You can create multiple auto attendants in Exchange 2007 Unified Messaging. Within Active Directory, each auto attendant is represented as an object. Configuration settings for an auto attendant are made on the Active Directory object and can include language settings, customized menus, and other menu navigational settings. You can also configure each UM auto attendant so that when an external caller or an internal caller places a call, and it is answered by a UM auto attendant, the caller can use either DTMF inputs or voice inputs to move through the Unified Messaging menu system. Note: When a caller uses the keypad on a telephone to move through the menu system, it is called DTMF input. If this is the case, the telephone user interface (TUI) is used. For more information about auto attendants, see Understanding Unified Messaging Auto Attendants.
Subscriber Access
Exchange 2007 Unified Messaging gives subscribers access to the Unified Messaging system. A subscriber is an internal business user or network user who has been enabled for Unified Messaging and has an Exchange 2007 mailbox. Subscriber access is used by the internal users to access their individual mailboxes to retrieve e-mail, voice messages, and contact and calendar information. Each Dial Plan object that is created contains at least one subscriber access number or extension number. Subscribers use this telephone or extension number to access their individual mailboxes. For more information about subscriber access, see Understanding Unified Messaging Subscriber Access. There are two Exchange 2007 Unified Messaging user interfaces available to UM-enabled subscribers: the telephone user interface (TUI) and the voice user interface (VUI). In Exchange 2007, these two interfaces together are called Outlook Voice Access. A subscriber can use Outlook Voice Access when they access the Unified Messaging system from an external or internal telephone. They can use Outlook Voice Access to access their Exchange 2007 mailbox, including their personal e-mail, voice messages, and calendar information. Note: For a copy of the Microsoft Exchange 2007 Unified Messaging Outlook Voice Access Quick Reference Guide, visit the Microsoft Download Center.
199
For more information about Exchange 2007 Unified Messaging, see Unified Messaging. For more information about telephony concepts and components, see Overview of Telephony Concepts and Components.
Overview
Call handling is a term that is used to describe how incoming calls are answered and handled by a computer that is running Exchange 2007 Unified Messaging. The types of incoming calls that are handled by Exchange 2007 UM include the following: Voice calls Fax calls Outlook Voice Access The Play on Phone feature UM auto attendants
For more information about Unified Messaging message flow and routing, see Overview of the Unified Messaging Call Processing.
Voice Calls
Voice call handling is used when an internal or external user leaves a voice message for a subscriber on the Exchange 2007 Unified Messaging system. Incoming voice calls are created as MIME messages and then submitted by using Simple Mail Transfer Protocol (SMTP) from the Exchange 2007 computer that has the Unified Messaging server role installed to an Exchange 2007 computer that has the Hub Transport server role installed. The two server roles must be installed in the same Active Directory site. The SMTP message transport for incoming voice calls is not only site aware, but all voice messages are submitted to the Hub Transport server by using SMTP, even if the mailbox resides on the same computer that has the Mailbox server role installed.
200
For more information about voice calls and message routing, see Unified Messaging Voice and Fax Call Processing.
Fax Calls
Fax call handling is used when an internal or external user sends a fax message to a UMenabled recipient on the Exchange 2007 Unified Messaging system. Incoming fax calls are created as MIME messages and are submitted from the Unified Messaging server to a Hub Transport server in the same Active Directory site by using SMTP. The SMTP message transport for incoming fax calls is not only site aware, but all fax messages are submitted to the Hub Transport server by using SMTP, even if the mailbox resides on the same Mailbox server. For more information about fax calls and message routing, see Unified Messaging Voice and Fax Call Processing.
201
Replying to a meeting request by using voice inputs to send a message to meeting participants. Declining or canceling meetings.
Interact with global address list (GAL) and personal contacts. These interactions may include: Locating a person in the GAL or personal contacts. Inputting a telephone extension number to leave a message for a person. Sending a voice message to a person.
For more information about how to navigate the Outlook Voice Access menus, see the Microsoft Exchange Server 2007 Unified Messaging Outlook Voice Access Quick Start Guide. This guide is available in the <Program Files>\Microsoft\Exchange Server\bin folder. For more information about Outlook Voice Access message routing, see Unified Messaging Outlook Voice Access Call Processing.
UM Auto Attendants
To enable the UM auto attendant feature found in Exchange 2007 Unified Messaging, UM servers must correctly answer and then route the incoming calls that are received from internal and external anonymous or unauthenticated users. To enable a UM auto attendant to answer incoming calls, you must first enable and configure a UM auto attendant. Creating and configuring UM auto attendants is an optional feature in Exchange 2007 Unified Messaging. However, auto attendants help internal and external callers locate and place calls to company users or departments that are in an organization. A UM auto attendant is a set of voice prompts that callers hear instead of a human operator when they place a call to an organization that has Exchange 2007 Unified Messaging. A UM
202
auto attendant helps callers navigate the organization's menu system by using dual tone multifrequency (DTMF) (also known as touchtone) inputs or voice-activated inputs that use Speech Recognition so that they can locate a user or caller in an organization and then place a call to that user or department. For more information about UM auto attendant message routing, see Unified Messaging Auto Attendant Call Processing. For more information about UM auto attendants, see Understanding Unified Messaging Auto Attendants.
Subscriber Access
A subscriber is an internal business user or network user who is enabled for Exchange 2007 Unified Messaging. Subscriber access is used by users to access their individual mailboxes to retrieve e-mail, voice messages, contacts, and calendaring information. Outlook Voice Access is the new Exchange 2007 Unified Messaging feature that lets subscribers access their Exchange 2007 mailbox. When you enable subscriber access for Exchange 2007 UM-enabled users, you must install the Exchange 2007 Unified Messaging server role on the computer that is running Exchange 2007 and verify that at least one of each of the following have been created: UM dial plan UM mailbox policy
203
UM IP gateway UM hunt group Note: If you want to prevent a user from receiving voice mail but want to allow them access to their Exchange 2007 mailbox by using Outlook Voice Access, you can enable the user for Unified Messaging and configure the user's mailbox with an extension number that is currently not being used by another user in the organization.
When you configure subscriber access, you configure the UM dial plan to have a subscriber access number. The telephone number or number that is configured on the UM dial plan is the telephone number that subscribers will use to access their Exchange 2007 mailboxes over the telephone by using Outlook Voice Access. The subscriber access feature included with Exchange 2007 Unified Messaging resembles other unified messaging solutions. However, Exchange 2007 offers more advanced features than other unified messaging solutions. For more information about how to create or modify UM dial plans and enable subscriber access, see How to Create a New Unified Messaging Dial Plan. Note: A UM dial plan must contain at least one subscriber access number, but can contain multiple subscriber access numbers. For more information about how to enable a user for Unified Messaging, see How to Enable a User for Unified Messaging.
204
"Welcome. You are connected to Microsoft Exchange. To access your mailbox, please enter your extension. To contact someone, press the # key." After the user enters their mailbox extension number, the voice prompt will say, "Please enter your PIN and press the # key." After the user enters their PIN, the voice prompt says, "You have 2 new voice mails, 10 new e-mail messages, and your next meeting is at 10:00 A.M. Please say voice mail, email, calendar, personal contacts, directory, or personal options." When the user says "Email", UM reads the message header and then the name, subject, time, and priority for the messages that are in the subscriber's mailbox. From a telephone: An Outlook Voice Access user places a call to the subscriber access number from a telephone and wants to access their voice mail. The voice prompt says, "Welcome. You are connected to Microsoft Exchange. To access your mailbox, please enter your extension. To contact someone, press the # key." After the user enters their mailbox extension, the voice prompt will say, "Please enter your PIN and press the # key." After the user enters their PIN, the voice prompt says, "You have 2 new voice mails, 10 new e-mail messages, and your next meeting is at 10:00 A.M. Please say voice mail, email, calendar, personal contacts, directory, or personal options." When the user says "Calendar", UM says, "Sure, and which day should I open?" The user says, "Today's calendar." UM responds by saying, "Opening today's calendar." UM reads each of the calendar appointments for that day for the user. Note: If a Unified Messaging server encounters a corrupt calendar item in a user's mailbox, it will fail to read the item, but will return the caller to the Outlook Voice Access main menu and will skip reading any additional meetings that may be scheduled for the rest of the day. From a telephone: An Outlook Voice Access user places a call to the subscriber access number from a telephone and wants to access their voice mail. The voice prompt says, "Welcome. You are connected to Microsoft Exchange. To access your mailbox, please enter your extension. To contact someone, press the # key." After the user enters their mailbox extension number, the voice prompt will say, "Please enter your PIN and press the # key." After the user enters their PIN, the voice prompt says, "You have 2 new voice mails, 10 new e-mail messages, and your next meeting is at 10:00 A.M. Please say voice mail, email, calendar, personal contacts, directory, or personal options." The user says "Voice mail" and UM reads the message header and then the name, subject, time, and priority for the voice messages that are in the user's mailbox. Important: For the VUI or Automatic Speech Recognition (ASR) to be used for subscriber access, it must be enabled on the UM dial plan to enable the VUI functionality as described in the earlier scenarios.
205
Note: If speech recognition is enabled, users can access their UM-enabled mailbox by using speech input. However, subscribers can also use touchtone, also known as dual tone multi-frequency (DTMF), by pressing 0. Speech recognition is not enabled for PIN input. From a telephone: An Outlook Voice Access user places a call to the subscriber access number from a telephone and wants to locate a person in the directory by spelling their email alias. The voice prompt says, "Welcome. You are connected to Microsoft Exchange. To contact someone, press the # key." The user presses the # key, and then spells the name of the person they want to contact by using DTMF or touchtone inputs. Note: The directory search feature with subscriber access is not speech-enabled. Users will be able to spell the name of the person who they want to contact only by using DTMF inputs. Important: In some companies (especially in East Asia), office telephones may not have letters on the keys of the telephone. This makes the spell-the-name feature that uses the DTMF interface almost impossible without a working knowledge of the key mappings. By default, Exchange 2007 Unified Messaging uses the E.161 key mapping. For example, 2=ABC, 3=DEF, 4=GHI, 5=JKL, 6=MNO, 7=PQRS, 8=TUV, 9=WXYZ. When inputting the combination of letters and numbers, for example "Mike1092", the numeric digits are mapped to themselves. For an e-mail alias of "Mike1092" to be entered correctly, the user will have to press the numbers 64531092. Also, for characters other than A-Z and 0-9, there will not be a telephone key equivalent. Therefore, these characters should not be entered. For example, the e-mail alias "mike.wilson" would be entered as 6453945766. Even though there are 11 characters to be input, only 10 digits are entered by the user because the period (.) does not have a digit equivalent.
206
Must not be modified. The default welcome greeting is a system prompt that is played by default. However, you can use a customized greeting file that you create.
207
Description
Informational announcement
By default, informational announcements are disabled. If you enable an informational announcement, you must specify a customized greeting file.
Table 22 summarizes the prompts and greetings that are used with UM auto attendants. Table 22 Audio prompts for UM auto attendants
Prompts and greetings Description
Must not be modified. By default, business hours menu prompts are enabled and a system prompt is played. However, you can use a customized greeting file that you create. By default, non-business hours prompts are enabled and a system prompt is played. However, you can use a customized greeting file that you create. By default, a business hours greeting is enabled and a system prompt is played. However, you can use a customized greeting file that you create. This is also known as a welcome greeting. By default, a non-business hours greeting is enabled and a system prompt is played. However, you can use a customized greeting file that you create. This is also known as a welcome greeting. By default, informational announcements are disabled. If you enable an informational announcement, you must specify a customized greeting file.
Informational announcement
Caution: Modifying the system prompts that are installed is not a supported configuration.
208
System Prompts
Exchange 2007 Unified Messaging (UM) is installed with a set of default audio prompts for use with Outlook Voice Access, dial plans, and auto attendants. There are hundreds of system prompts for each language that are installed on the computer that is running the Unified Messaging server role. The UM server plays the audio files for these system prompts to callers when they access the Unified Messaging system. Examples of these system prompts include the following: "Please enter your PIN." "To access your mailbox, enter your extension." "To contact someone, press the # key." "Spell the name of the person you are calling, last name first." "To reach a specific person, just tell me their name." Caution: Modifying the system prompts that are installed is not a supported configuration. Note: When the Microsoft Exchange Unified Messaging service starts on the computer that is running the Unified Messaging server role, it will verify that all the system prompts are available. If a system prompt cannot be found, it will return an error. To fix the error that is returned, locate the event by using Event Viewer and copy the file that is listed in the Event Properties window from the Exchange 2007 installation DVD into the appropriate folder on the UM server.
209
UM allows for an informational announcement to follow the welcome greeting. By default, there is no informational announcement configured. However, you may want to provide one for callers. You can use the informational announcement for general announcements that change more frequently than the welcome greeting or for announcements that are required by corporate compliance policies. When it is important that the whole informational announcement is heard, you can configure it to be uninterruptible. This prevents a caller from pressing a key or speaking a command to interrupt and stop the informational announcement. Table 23 describes the UM dial plan greetings and informational announcements. Table 23 UM dial plan greetings and informational announcements
Greeting Default example Customized example
"Welcome, you are connected to Microsoft Exchange." By default, an informational announcement is not configured.
"Welcome to Outlook Voice Access for Woodgrove Bank." "By using this system you agree to adhere to all corporate policies when you are accessing this system."
When you are customizing and configuring greetings and announcements, make sure that the language setting that is configured on the UM dial plan is that same as the language of the custom prompts that you create. If not, a caller may hear one message or greeting in one language and another message or greeting in a different language.
210
UM also allows for an informational announcement to follow a business hours greeting or a non-business hour greeting. By default, no informational announcement is configured, but you may want to provide one to callers. The informational announcement can announce your company's business hours, for example, "Our business hours are 8:00 A.M. to 5:00 P.M., Monday through Friday, and 8:30 A.M. to 1:00 P.M. on Saturday." The informational announcement can also provide information that is required for compliance with corporate policies, for example, "Calls may be monitored for training purposes." When it is important that the whole informational announcement is heard, you can configure it to be uninterruptible. This prevents the caller from pressing a key or speaking a command to interrupt and stop the informational announcement. Table 24 describes the UM auto attendant greetings and informational announcements. Table 24 UM auto attendant greetings, informational announcement and menu prompts
Greeting Default example Customized example
"Welcome to the Exchange auto attendant." No default non-business hours greeting is played until you configure the business hours for the auto attendant. However, the business hours greeting is played for callers during all times of the day. By default, informational announcements are not configured. No default business hours main menu prompt will be played until you configure key mappings on the auto attendant. No default non-business hours main menu prompt will be played until you configure key mappings and the business hours schedule on the auto attendant.
"Thank you for calling Woodgrove Bank." "You have reached Woodgrove Bank after business hours. Our business hours are from 8:00 A.M. until 5:00 P.M., Monday through Friday." "Calls may be monitored for training purposes." "For technical support, press or say 1. For corporate offices and administration, press or say 2. For sales, press or say 3." "Your call is very important to us. However, you have reached Woodgrove Bank after business hours. If you want to leave a message, please press or say 1, and we will return your call as soon as possible."
Informational announcement
211
Like with UM dial plans, make sure that the language setting that is configured on the UM auto attendant is the same as the language of the custom greetings that you create and is set to the same language as the UM dial plan. If not, a caller may hear one message or greeting in one language and another message or greeting in a different language.
After you create the audio file for the custom prompt, announcement, or greeting you must use the Copy-UMCustomPromptExchange Management Shell cmdlet to copy the audio file to the UM prompt publishing point. The prompt publishing point is a property that is configured on a UM dial plan and is a shared folder structure that is created on the first UM server that is installed. The prompt publishing point distributes UM custom prompts to other UM servers in the Exchange 2007 organization. The Copy-UMCustomPrompt cmdlet supports the use of UM custom audio prompts by copying the specified audio file to the correct location for distribution to other UM servers in the Exchange 2007 organization. Unified Messaging servers access the UM server prompt publishing point and copy the necessary .wav audio files to their local installation folder. After the file has been copied locally to the UM server, the UM server can provide the audio for a given custom prompt. For more information about custom prompt publishing, see Understanding Custom Prompt Distribution.
212
UM Audio Codecs
Unified Messaging dial plans are integral to the operation of Unified Messaging. By default, when you create a UM dial plan, the UM dial plan uses the WMA audio codec. However, after you create the UM dial plan, you can configure the UM dial plan to use GSM 06.10 or G.711 PCM Linear audio codecs. Each audio codec has advantages and disadvantages. The WMA audio codec was selected as the default audio codec because of its sound quality and compression properties. GSM 06.10 and G.711 PCM Linear audio codecs were selected as available options for their ability to support other types of messaging systems. When you plan for Unified Messaging, you must balance the size and the relative quality of the audio file that will be created for voice mail messages. Generally, the higher the bit rate for an audio file, the higher the quality. However, you must also consider whether the audio file is compressed. The sample bit rate (bit/sec) and compression properties for each audio codec that is used in Unified Messaging are as follows: WMA 16-bit compressed file G.711 16-bit uncompressed file GSM 06.10 8-bit compressed file
The term "codec" is a combination of the words "coding" and "decoding" regarding digital data. A codec is a computer program or software that transforms digital data into an audio file format or streaming audio format. In Exchange 2007 Unified Messaging, the WMA, GSM 06.10, and G.711 PCM Linear audio codecs are used to create .wma and .wav audio files for voice messages. However, the file type that is created depends on the audio codec that is used to
213
create the voice message audio file. In Exchange 2007 Unified Messaging the .wma audio codec creates .wma audio files and the GSM 06.10 and G.711 PCM Linear audio codecs produce .wav audio files. Both kinds of audio files are sent together with the e-mail message to the intended voice mail recipient. Frequently, but not always, coding and decoding the digital data also involves compression or decompression. Audio compression is a form of data compression that reduces the size of audio data files. The type of audio compression algorithm that is used is based on the type of audio codec that is selected in the UM dial plan properties. The audio compression algorithm that is used by the audio codec compresses the .wma or .wav audio files. After the audio file is created and, if it is needed, compressed, it is attached to the voice message. Sometimes during compression and decompression, information from the digital data is lost. This is a trade-off that you must consider. The higher the compression that is used to compress the audio file, the bigger the loss of information during the conversion, but less disk space is used because of the reduced size of the audio file. Conversely, the lower the compression, the lower the loss of the information, but more disk space must be used because of the increased size of each audio file.
UM Message Sizing
You can configure UM to use one of the three following audio codecs for creating voice messages: WMA, GSM 06.10, and G.711 PCM Linear. The WMA audio codec is always stored in the Windows Media format and the attachment is a file that has a .wma file name extension. Audio files encoded by using the GSM or G.711 PCM Linear audio codecs are always stored in RIFF/WAV format, and the attachment is a file that has a .wav file name extension. The size of Unified Messaging voice messages depends on the size of the attachment that holds the voice data. In turn, the size of the attachment depends on the following factors: The duration of the voice mail recording The audio codec that is used The audio file storage format
Figure 28 illustrates how the size of the audio file depends on the duration of the voice mail recording for the three audio codecs that you can use in UM. Note: In Figure 28, the average length of a call-answered voice message is approximately 30 seconds.
WMA
WMA is the most highly compressed audio codec of the three kinds of codecs. The compression is approximately 11,000 bytes for each 10 seconds of audio. However, the .wma file format has a much larger header section than the .wav file format. The .wma file header section is approximately 7 kilobytes (KB), whereas the header section for the .wav file is less than 100 bytes. Although WMA audio recordings are recorded for longer than 15 seconds, they become smaller than GSM audio recordings. Therefore, for the smallest, yet highest quality audio files, use the WMA audio codec.
215
GSM
The GSM audio codec creates .wav audio files that are compressed. GSM .wav audio files are just over 16,000 bytes for each 10 seconds of audio. However, GSM creates an audio file that is larger than the audio file that is created by the WMA audio codec. Therefore, when you are balancing the quality of the voice message and the size, this may not be the best choice.
Overview
Custom prompt publishing is the process by which custom audio files are made available to all Outlook Voice Access users and callers who dial in to UM auto attendants. After you have created a custom audio prompt, you must first copy the custom prompt to the Unified Messaging server that you have designated as the prompt publishing point. The prompt publishing point is a shared folder that is located on the first server to be associated with a single UM dial plan. After the custom audio file is copied to the prompt publishing point, all the Unified Messaging servers that are members of the same dial plan will copy the custom audio prompt to a local folder. By copying the custom audio file to a local folder, the Unified Messaging server or servers will be able to play the custom file for Outlook Voice Access users or when callers dial in to a UM auto attendant. The UM custom prompts that exist in the prompt publishing point will be copied locally by a Unified Messaging server regardless of the number of Unified Messaging servers that belong to the UM dial plan. Each UM dial plan represents a set of Unified Messaging servers and the set
216
of UM-enabled users for whom the Unified Messaging servers answer incoming calls. Small dial plans that serve hundreds of users or fewer may have only one Unified Messaging server. Large dial plans that have several thousand users or more or that provide redundancy to help maintain UM service availability have two or more Unified Messaging servers. Publishing custom prompts has the following benefits: Consistent user experience To the user, custom prompts appear to always work in the same manner and at the same speed. Consistent server configuration You do not have to make sure that each Unified Messaging server is updated correctly. After you create a single copy of the custom audio file that you want to use as an audio prompt, greeting, or information announcement, you must make sure that all the Unified Messaging servers associated with the UM dial plan receive a copy of this custom audio file. You do this by configuring the UM dial plan or UM auto attendant to use the custom prompt by using the Exchange Management Console or by using the Copy-UMCustomPrompt cmdlet in the Exchange Management Shell.
Architecture
When you install the Unified Messaging server role, the audio files for the system prompts are copied to a folder on the Unified Messaging server. The system prompts that are copied to the Unified Messaging server are used as the default prompts for UM dial plans and auto attendants. Because the system prompts are generic, you might want to enable custom greetings, announcements, and menu prompts in your Unified Messaging environment. You must first create your custom audio prompts, enable the custom prompts on a UM dial plan or auto attendant, and then make sure that your custom prompts are available on each Unified Messaging server that belongs to a single UM dial plan. You can use the Exchange Management Console or the Exchange Management Shell to copy the required custom audio files. To make sure that the custom prompts are available to each Unified Messaging server, you perform the following tasks by using the CopyUMCustomPrompt cmdlet or when you select the custom audio file in the Exchange Management Console: Locate the prompt publishing point in the Active Directory directory service. Copy the custom prompt to the prompt publishing point.
Update the configuration for Unified Messaging in the Active Directory directory service. After these tasks are performed, the Microsoft Exchange File Distribution service updates each Unified Messaging server that is associated with the dial plan.
217
Caution: We do not recommend that you use the Copy-Item cmdlet, Microsoft Windows Explorer, or another program such xcopy.exe to copy the custom prompt .wav files into a folder within the custom prompt publishing point folder. Figure 29 illustrates the custom prompt publishing architecture and tasks that are performed by the Copy-UMCustomPrompt cmdlet or when you configure the dial plan or auto attendant to use a custom audio file by using the Exchange Management Console. Figure 29 Custom prompt publishing architecture
The Copy-UMCustomPrompt cmdlet queries the appropriate dial plan object in Active Directory to determine the location of the prompt publishing point. There is only one prompt publishing point for each dial plan, and it is stored as a Windows file share (also known as UNC) path that identifies a file share that is available for custom prompts. After the location of the prompt publishing point is determined, the cmdlet validates the content in the custom prompt, verifies that it is in the correct format, and that it uses a supported audio codec. If the custom prompt passes the validation tests, the Exchange Management Shell command copies the prompt content to the prompt publishing point. The custom audio files in the prompt publishing point are automatically organized into a directory structure that reflects the dial plans and auto attendants that are configured in your Exchange 2007 organization.
218
Figure 30 illustrates the prompt publishing point directory structure. In Figure 2, a prompt publishing point has various subdirectories that correspond to UM dial plans and. There are auto attendants within each dial plan. Figure 30 Prompt publishing point directory structure
Each UM dial plan and UM auto attendant that is created is given a unique ID. The directory names are generated from the unique IDs that are given to the dial plan or auto attendant when their configuration objects are created. You do not have to know the exact names or locations of files under the prompt publishing point, because the Copy-UMCustomPrompt cmdlet uses the unique ID that is associated with the dial plan or auto attendant to make sure that the custom prompt is copied to the correct location in the directory structure. After the custom prompt is copied to the prompt publishing point and any necessary directory updates are made, the prompt is copied to each Unified Messaging server in the dial plan. After the custom prompt is added to the appropriate folder on the Unified Messaging server that is configured as the prompt publishing point, the Microsoft Exchange File Distribution service that runs on each Unified Messaging server refers to the prompt publishing point and determines whether the files in the prompt publishing point have changed or if additional files have been added. If files have been changed or additional files exist, the other Unified Messaging servers pull the custom prompts from the prompt publishing point and copy them to the correct location in the \\<Server name>\ExchangeUM folder that exists on a local drive.
219
Note: The Microsoft Exchange File Distribution service is installed together with the Unified Messaging server role. It is also installed with the Client Access server role, because it is also used to copy the offline address book for clients that are running Microsoft Office Outlook Web Access. All the Microsoft Exchange File Distribution service information is stored in Active Directory. However, you should back up the source locations for replicated files, such as offline address books and UM prompts. The offline address book source is the Mailbox server that generates the offline address book, and the UM prompt location is on the first Unified Messaging server, unless otherwise specified. As long as the source is backed up or restored, the Microsoft Exchange File Distribution service replicates the content. If any of the replica servers go down, Microsoft Exchange File Distribution service replicates content from the source as soon as they are back online without any administrator intervention. You can run UpdateFileDistributionService to force replication if you do not want to wait for the automated process to occur. Important: After you have configured a new custom prompt or updated one, it may take several minutes for the Microsoft Exchange File Distribution service to make the custom prompt available on all Unified Messaging servers in your Exchange 2007 organization. If you want to make the custom prompt available immediately on all the Unified Messaging servers in your organization, you must run the Update-FileDistributionService cmdlet to ensure that the custom prompt is copied to all Unified Messaging servers in your organization.
220
file server that has a RAID array exists on the network, you may want to use it for the master copy of the UM custom prompts. Important: You must move the prompt publishing point to another location before you can uninstall the Unified Messaging server role.
UM Language Packs
The UM language packs that are included with Exchange 2007 contain prerecorded prompts, Text-to-Speech (TTS) conversion support for a given language, and in some cases, support for Automatic Speech Recognition (ASR). In multilanguage environments, you may have to install additional UM language packs because some callers prefer to be prompted in a given
221
language, or because they receive e-mail in more than one language. You must install multiple UM language packs to support the ability for the Unified Messaging server to read an e-mail that contains more than one language, because the TTS conversion system must be instructed which language to select based on the text of the message that will be read. If the Unified Messaging language pack has not been installed, the e-mail message will be illogical and incoherent when it is read back to the user. Installing the appropriate language pack enables the TTS engine to read e-mail and calendar items to the Outlook Voice Access user by using the correct language and also provides the language-specific prerecorded prompts for Unified Messaging. In some cases, they may also provide support for ASR. Note: The TTS engine converts text to speech but does not convert from speech to text. A UM-enabled user can send an e-mail message that has a voice file attached to another user. However, they cannot create and send a text-based e-mail message to another user. When you install a language pack, the installation program does the following: 1. Copies the language prompts that will be used to configure UM dial plans and auto attendants. 2. Allows the TTS engine to read messages when an Outlook Voice Access user accesses their Inbox. 3. Enables ASR for speech-enabled UM dial plans and auto attendants for the language that is installed. Caution: You cannot use the .msi file for UM language packs to install Unified Messaging language packs. You must use Setup.com to install additional language packs. You must add and remove UM language packs by using the Setup.com command. There is no graphical user interface or Exchange Management Shell cmdlet that you can use to add or remove languages from a Unified Messaging server. For more information about how to install a UM language pack, see How to Add a Unified Messaging Language to a Unified Messaging Server. For more information about how to remove a UM language pack, see How to Remove a Unified Messaging Language from a Unified Messaging Server. Note: By default, when you install either the U.S.-English version of Exchange 2007 or a localized version of Exchange 2007, the U.S.-English language will be installed and cannot be removed unless you remove the Unified Messaging server role from the computer. Table 25 lists the Unified Messaging language packs. It also lists the file name for each UM language pack and the value for the UM language when you are using the setup.com /addUMlanguagepack or setup.com /removeUMlanguagepack commands.
222 Table 25 UM language packs and file names UM language pack US English German French Japanese UK English Korean Spanish (Iberian) Mandarin (China) Mandarin (Taiwan) Dutch Italian Portuguese (Brazil) Swedish Australian English Canadian French Latin American Spanish File name umlang-en-US.msi umlang-de-DE.msi umlang-fr-FR.msi umlang-ja-JP.msi umlang-en-GB.msi umlang-ko-KR.msi umlang-es-ES.msi umlang-zh-CN.msi umlang-zh-TW.msi umlang-nl-NL.msi umlang-it-IT.msi umlang-pt-BR.msi umlang-sv-SE.msi umlang-en-AU.msi umlang-fr-CA.msi umlang-es-US.msi Value en-US de-DE fr-FR ja-JP en-GB ko-KR es-ES zh-CN zh-TW nl-NL it-IT pt-BR sv-SE en-AU fr-CA es-US
Note: All the UM language packs that are available are located on the Exchange Server 2007 DVD. However, if you have downloaded Exchange 2007 from the Web and you need additional UM language packs, you must download them from the Unified Messaging Language Packs for Exchange Server 2007 page on the Exchange Server TechCenter.
223
Prerecorded Prompts
The Exchange 2007 Unified Messaging server role is installed with a set of default audio prompts, and these audio file are the recordings that are used for menu prompts for Outlook Voice Access, voice mail greetings, and numbers that are used by Exchange Unified Messaging. These audio files are played by a Unified Messaging server to incoming internal and external callers. Many of the audio files are default prompts that provide the users of the telephony user interface (TUI) and Outlook Voice Access the information that they need to move through the TUI and the voice user interface (VUI). The prompts are located in <Program Files>\Microsoft\Exchange Server\. The prompts that are used by the Unified Messaging server to help callers move through the menus should not be replaced or changed. However, when an additional UM language pack is installed, the prerecorded prompts for that language will also be installed. After a UM language pack has been installed, the prerecorded prompts for that language can be used by UM dial plans and auto attendants.
TTS Languages
Unified Messaging relies on the Text-to-Speech (TTS) engine. TTS functionality is provided by the Microsoft Speech Server service. The TTS engine reads and converts written text into audible output that can be heard by a caller. The TTS engine reads and converts the following items in a user's mailbox: E-mail and voice mail message bodies, subjects, and names Calendar item bodies, subjects, locations, and names Personal contact names The user's default voice mail greetings
Note: After a user has recorded personalized voice mail greetings, the TTS version of their voice mail greetings is no longer used.
224
included for Japanese. However, because English is always installed together with localized versions of Exchange 2007, ASR for English will work. There are plans to include ASR support in UM language packs for other languages after Exchange 2007 has released. After new language packs have been released and after you have installed the appropriate language pack that includes ASR support for a language other than English, users will be able to use this language to interact with the Unified Messaging system by using speech input.
If you have to, configure the default language for a UM dial plan. This lets Outlook Voice Access users who are associated with the UM dial plan use the new language when they access their mailbox. However, the user can still configure their language setting in the options that are available in Outlook Web Access. If you have to, configure the language setting on a UM auto attendant. By default, a UM auto attendant uses the UM dial plan language. However, you can change this setting and enable unauthenticated callers to connect to your organization and move through the auto attendant menus in the specified language.
225
language. However, each dial plan that is created is configured to have a default language that is based on the language version of Exchange 2007 that is installed. If you install the U.S.English version, U.S. English will be the default language for all dial plans that are created. If you installed a localized version of Exchange, for example Japanese, Japanese will be configured as the default language when dial plans are created. After you have created a new dial plan, you can configure the default language setting on each dial plan. If you install the U.S.-English version of Exchange 2007, U.S. English will be the only available option. You can add other UM languages to the U.S.-English version by installing other UM language packs. After you install a UM language pack on a Unified Messaging server, the language associated with the language pack will also be listed as an available option when you configure the default language for the dial plan. However, U.S. English is the default language that will be used when dial plans are created. For example, you first install the U.S.-English version of Exchange 2007 and then install the Japanese UM language pack by using the Setup.com /AddUmLanguagePack command. Then you install another UM language pack on a Unified Messaging server, for example French. After you have successfully installed the UM language packs, U.S. English, Japanese, and French, will be available options. However, by default, U.S. English is the language that will be chosen for each dial plan that is created. When you install a localized version of Exchange 2007, for example, Japanese, the default language for the dial plan will be Japanese. However, after you have created a new dial plan, you will be able to configure the dial plan to use either Japanese or U.S. English as the default language. When localized versions of Exchange 2007 are installed, U.S. English is also installed. For example, you first install the localized Japanese version of Exchange 2007 and then install the French UM language. After you have successfully installed the UM language pack on the localized version of Exchange 2007, Japanese, U.S. English, and French, will be available but, by default, Japanese will be the language that is chosen for each dial plan that is created. The default language is important to callers. When an Outlook Voice Access user calls in to the Unified Messaging system, the language setting that is chosen is based on the language setting that is configured in Outlook Web Access that was set when the user first logged on to their mailbox by using Outlook Web Access. Unified Messaging then compares the language that is set in Outlook Web Access to the list of available languages on the dial plan with which the user is associated. If there is no suitable match for the language, the default UM dial plan language will be used. Sometimes, you may have to set this language as the default language. For example, if you have a dial plan that contains only users from France, you may want to change the default language setting on the dial plan to French. For more information about how to change the default language for a UM dial plan, see How to Configure a Unified Messaging Dial Plan with a Default Language.
226
227
Note: If you want to locate the .grxml file that corresponds to a .cfg file, look in the event log for events that have the IDs 1040 or 1041. The event will show which .grxml file was used to produce a particular .cfg file.
228
229
For dial plan grammar files, Unified Messaging will consider the following: UM-enabled users in the specified dial plan
For the distribution list grammar file, Unified Messaging will consider the following: Distribution lists that are visible in address lists
A default GAL is created when the Mailbox server role is installed on a computer that is running Exchange 2007. When the Unified Messaging server role is installed, it creates a grammar file for the GAL that is based on the speech grammar filters that are configured. If you create custom address lists or distribution lists in your Exchange 2007 organization, additional grammar files will be created for each custom address list or distribution list that you create. Note: For a grammar file to be generated for a distribution list, the distribution list must not be hidden. When you first create a UM dial plan, no grammar files are created. However, when a Unified Messaging server joins a dial plan for the first time, a single grammar file for the UM dial plan is created in the appropriate language folder. The UM dial plan speech grammar file is then filtered to include only UM-enabled users who are associated with the dial plan. The grammar files for these objects are named by using the GUIDs of the objects that they represent after they are compiled, for example, 2da514a1-06f4-44a1-9ce5-610854f7d2ee.grxml or the corresponding .cfg file. When the grammar files for UM dial plans, the GAL, address lists, and distribution lists are created, they are created in a language-specific folder on the local Unified Messaging server. The language folder that is used is selected based on the default language that is configured on the UM dial plan. For example, if the default language on the dial plan is set to US-English (en-US), a grammar file will be created in the \UnifiedMessaging\grammars\en folder. After the grammar file has been created, it will be updated according to the schedule that is configured on the Unified Messaging server. For more information, see the following topics: How to Add a Unified Messaging Server to a Dial Plan How to Create a New Unified Messaging Dial Plan How to Create a New Unified Messaging Auto Attendant
Grammar Generation
Frequently, the default grammar generation schedule will fit your needs. However, there will be times when you must manually generate grammar files or update existing grammar files before the scheduled grammar generation task runs. There may also be times when you will want to change the default grammar generation schedule.
230
Grammar generation occurs in the following situations: When the Unified Messaging server is added to a UM dial plan, and daily after that at a scheduled interval. When you run the galgrammargenerator.exe command to manually update or create grammar files. The grammar file that is created is then updated when the scheduled grammar generation task runs. To display the default grammar generation schedule for a Unified Messaging server, use the following Exchange Management Shell cmdlet: (Get-UMServer $env:COMPUTERNAME).GrammarGenerationSchedule For more information about the Get-UMServer cmdlet, see Get-UMServer. By default, grammar generation occurs daily at the time that is specified by the GrammarGenerationSchedule parameter of the Unified Messaging server. By default, the schedule is defined so that grammar generation will start at 2:00 A.M. each day. However, the grammar generation schedule can be changed and is controlled by using the Set-UMserver cmdlet in the Exchange Management Shell. There is no graphical user interface that you can use to control the grammar generator schedule. This schedule can be controlled only by using the Set-UMserver cmdlet in the Exchange Management Shell. For more information about how to change the phonetic display name by using the Set-UMServer cmdlet, see Set-UMServer. By default, the grammar generation schedule is set to start one time per day at 2:00 A.M. local time on the Unified Messaging server. After it starts, grammar generation will run until it is completed, whether this is before the scheduled end time for the active period or not; grammar generation will not run if there is another grammar generation that is running. Although you can configure additional scheduled times, grammar generation will not run within one hour of a previously scheduled grammar generation period. Because grammar generation uses a significant amount of system resources, we recommend that you configure all grammar generation schedules so that grammar generation will occur during off-peak hours. However, you can stagger the grammar generation schedules on multiple Unified Messaging servers, for example, Umserver1 starts at 2:00 A.M., Umserver2 starts at 2:30 A.M., and Umserver3 starts at 3:00 A.M. This will help minimize the effect of grammar generation on the Active Directory domain controllers. Note: A log file that is named UMSpeechGrammar.log will be created in the %ExchangeRoot %\UnifiedMessaging\temp folder. This log file contains information about all grammar files that are created or updated on a Unified Messaging server. This file will be overwritten every time that scheduled grammar generation runs. In the following circumstances, you can wait for the next scheduled grammar generation for the changes to be reflected, or you can force an update by using the galgrammargenerator.exe command.
231
When you complete a new installation of the Unified Messaging server role and enable users for Unified Messaging When a UM dial plan, UM auto attendant, custom address list, or custom distribution list is created When you create UM-enabled users If you change a UM dial plan or UM auto attendant
Note: When an Outlook Voice Access user tries to locate a UM-enabled user by using the directory search feature with Automatic Speech Recognition (ASR) immediately after you have completed a new installation of the Unified Messaging server role and enabled users for UM, the caller will hear a system prompt that says, "I am sorry I could not help." Then they will be disconnected. This occurs because a grammar file for the global address list (GAL) has not been generated. Use the galgrammargenerator.exe command to create the required grammar file for the GAL. For example, when you first enable users for UM, those users will not be available to callers who use ASR to perform a directory search until the scheduled grammar generation task runs. To make sure that those new users who were recently UM-enabled are visible to callers, run the galgrammargenerator.exe program to force the .grxml files to be created or updated and to compile the appropriate .cfg files so that callers can use ASR to move through the menu systems or locate users by using ASR. Galgrammargenerator.exe is also useful when a Unified Messaging server has joined a dial plan and one or more speech-enabled auto attendants are associated with the dial plan. By default, callers who call into a speech-enabled auto attendant can only reach UM-enabled users who are associated with the dial plan. Before callers can be transferred to UM-enabled users by using voice inputs, a grammar file must be generated. The grammar file is not generated automatically when the server joins a dial plan. Instead, it is generated the next time grammar generation is scheduled. Grammar generation occurs according to the default schedule, at 2:00 AM local time each day, unless the schedule has been changed. If you want UM-enabled users to be available from a directory search from the speech-enabled auto attendant immediately after you create the auto attendant, you must generate the required grammar file for the auto attendant by using galgrammargenerator.exe with the d option. A grammar file is not required with auto attendants that are not speech-enabled. This is because a DTMF map is added to the Active Directory for each user when they are enabled for UM. DTMF maps enable callers to enter the digits that correspond to the letters of the user's name or e-mail alias on a telephone keypad. However, a DTMF map will not automatically be created for users who are not UM-enabled. By using galgrammargenerator.exe with the -u option, you can generate a DTMF map for all users who are mail-enabled but not UM-enabled. This lets users who are mail-enabled but not UMenabled be reached from the auto attendant when their name or e-mail alias is entered by a
232
caller by using DTMF inputs. For more information about the DTMF interface, see Understanding the DTMF Interface. Table 26 lists the switches and descriptions for the switches for the galgrammargenerator.exe program. Table 26 Galgrammargenerator.exe and the switches
Switch Description
-d <dialplan>
Creates a grammar file that contains the names of UM-enabled users only in the specified UM dial plan. Generates the grammar file. Generates a grammar file for a distribution list. Generates a log file. The path can be an absolute path, for example, C:\Logfiles. By default, the Unified Messaging server will also automatically create a log file in the \UnifiedMessaging\Temp folder. Preload all generated grammars into the Microsoft Speech Server platform. Creates a grammar file for each UM dial plan to which the specified Unified Messaging server belongs.
-g -l -o
-p -s <UMserver>
233
Switch
Description
-u
Creates or updates DTMF maps for users who are enabled for UM and who are not enabled for UM. Note: If a mailbox-enabled user or a mailenabled contact has a character in their e-mail alias that is not valid and you run the galgrammargenerator.exe /u command to create a DTMF map for users, the command will not complete successfully and Unified Messaging will report an error. To ensure that all mailbox users and mail-enabled contacts have no characters in their email addresses that are not valid, use the Get-User cmdlet to view all users. The Get-User cmdlet will perform a validation check for the user attributes. If any field has a character that is not valid, an error will be generated that identifies the recipient and the field that contains the character.
-x
Note: The default speech grammar filter list (SpeechGrammarFilterList.xml) is installed in the %ExchangeRoot%\bin folder on each server that has the Unified Messaging server role installed. The contents of the speech filter list file must be the same on each Unified Messaging server. The speech grammar filter list contains several rules that specify input patterns against which display names are matched and output patterns that define transformations of the matched name. If the name matches a pattern it will be replaced in the speech grammar by the name or names that are generated from the associated output pattern or patterns. If the name does not match a pattern, it is passed through unchanged to the speech grammar. Names will be rejected from insertion in the speech grammar if they to have two or more distinct ways of being said. We recommend that you do not manually modify the SpeechGrammarFilterList.xml file.
234
235
DTMF Overview
DTMF requires a caller to press a key on the telephone keypad that corresponds to a Unified Messaging menu option or to input a user's name by using the letters on the keys to spell the user's name or e-mail alias. Callers might use DTMF because Automatic Speech Recognition (ASR) has not been enabled or because they tried to use voice commands and failed. In either case, DTMF inputs are used to navigate menus and search for users. By default, in Exchange 2007 Unified Messaging, DTMF inputs are used on dial plans and are the default caller interface for UM auto attendants. Note: Only auto attendants that are configured to use English can be speech-enabled. DTMF inputs may be used by callers for: Dial plan subscriber access by using Outlook Voice Access. Dial plan directory lookups and searches to locate users.
236
Auto attendants that are speech-enabled that do or do not have a DTMF fallback auto attendant configured. DTMF fallback auto attendants (not speech-enabled).
Additionally, None is an available option on the Dial by name secondary method. By default, Last First is selected for the Dial by name primary method and SMTP Address is selected as the Dial by name secondary method. Therefore, when a caller dials in to the subscriber access number that is configured on the UM dial plan, the dial plan's welcome message will be played and the operator will say something like, "Welcome to Contoso Outlook Voice Access. To access your mailbox, enter your extension. To contact someone, press the # key." After the caller has pressed the # key, the system will respond with "Spell the name of the person you are calling, last name first, or to spell their e-mail alias, press the # key twice." In this scenario, depending on how your dial plan is configured, the system then prompts the caller to enter the user's last name first and then the user's first name (Last First) or to spell their e-mail alias, excluding the domain name. For example, if the user's e-mail alias is tsmith@contoso.com, the caller would enter tsmith. If you want to change this configuration because the default setting does not meet your needs, you can change it to enable callers to enter the users e-mail alias first or the user's first name followed by their last name. In this case, you would configure the Dial by name primary method with the SMTP Address setting and configure the Dial by name secondary method with the First Last setting. The settings for the dial by name methods will also apply to any UM auto attendants that are associated with the dial plan. For callers to be able to enter the name of the user by using DTMF inputs or the keys on the telephone keypad, a DTMF map and values for the user must exist within the Active Directory directory service. For more information about how to change the dial by name primary and secondary methods on a Unified Messaging dial plan, see How to Change the Dial By Name Primary Method on a Unified Messaging Dial Plan and How to Change the Dial By Name Secondary Method on a Unified Messaging Dial Plan.
237
DTMF Maps
In an Exchange 2007 organization, an attribute named msExchUMDtmfMap is associated with each user that is created in Active Directory. This attribute is used by Unified Messaging to map the user's first name, last name, and e-mail alias to a set of numbers. This mapping is referred to as a DTMF map. A DTMF map enables a caller to enter the digits on the telephone keypad that correspond to the letters of the user's name or e-mail alias. This attribute contains the values that are needed to create a DTMF map for the user's first name followed by their last name, for the user's last name followed by their first name, and for the user's e-mail alias. Table 27 shows the DTMF map values that would be stored in Active Directory on the msExchUMDtmfMap attribute for a UM-enabled user named Tony Smith with an alias of tsmith@contoso.com. Table 27 DTMF values that are stored in Active Directory for a UM-enabled user named Tony Smith
Active Directory entry User's name
Names and e-mail aliases may contain other non-alphabetic characters such as commas, hyphens, underscores, or periods. Characters such as these will not be used in a DTMF map for a user. For example, if the e-mail alias for Tony Smith is tonysmith@contoso.com, the DTMF map value would be 866976484 and the hyphen would not be included. However, if a user's e-mail alias contains a number or numbers, for example, tonysmith123@contoso.com, the numbers would be used in the DTMF map that is created. The DTMF map for tonysmith123 would be 866976484123. A DTMF map must exist for a user for callers to be able to enter the user's name or e-mail alias. However, in some cases, not all users will have a DTMF map associated with their user account.
Because the users shown in the previous diagram do not have DTMF map values defined for their user accounts, callers will be unable to contact them when they press a telephone key from a UM auto attendant menu or perform a directory search. Also, UM-enabled users will be unable to send messages or transfer calls to users who do not have a DTMF map unless they can use ASR. To enable callers to transfer calls or contact non UM-enabled users by using the telephone keypad, you must create the necessary values for the DTMF map for users. To create the values for a DTMF map for users who are not enabled for Unified Messaging, you can run the galgrammargenerator.exe -u command. This command updates the DTMF maps for all users within your Microsoft Exchange. The galgrammargenerator.exe command updates or creates DTMF maps for all non UM-enabled users. You can use the Set-User cmdlet with the -CreateDtmfMap parameter to create and update a single user's DTMF map or update a DTMF map for a user if the name of the user was changed after a DTMF map was already created. Optionally, you can create an Exchange Management Shell script by using this cmdlet to update the DTMF map values for multiple users. For more information about the Set-UserExchange Management Shell cmdlet, see Set-User. For more information about galgrammargenerator.exe, see Understanding Automatic Speech Recognition Directory Lookups.
239
After the DTMF map values have been created for a UM-enabled user, callers can use the directory search feature. Callers use directory search when they use the telephone keypad to in the following situations: To identify or search for a user when they call in to the subscriber access number
To locate or transfer calls to a UM-enabled user when they call in to a UM auto attendant. For more information about how to enable a user for Unified Messaging, see How to Enable a User for Unified Messaging. Sometimes a user's first name, last name, or e-mail alias changes after they have been enabled for Unified Messaging. The user's DTMF map values will not be updated automatically
240
in Active Directory. If a caller enters the user's new last name or e-mail alias and the user's DTMF map has not been updated to reflect the change to the name or e-mail alias, the caller will be unable to locate the user in the directory, send a message to the user, or transfer calls to the user. If you have to update a user's DTMF map after they have been enabled for Unified Messaging, you can use the Set-User cmdlet with the -CreateDtmfMap parameter. You can also create an Exchange Management Shell script by using this cmdlet if you want to update the DTMF maps for multiple UM-enabled users. Note: You can also use the galgrammargenerator.exe -u command to update the DTMF map for UM-enabled users. However, if you use the galgrammargenerator.exe -u command, it will update or create DTMF maps for all users. Caution: We do not recommended that you manually change the DTMF values for users by using a tool such as ADSI Edit because it might result in inconsistent configurations or other errors. We recommend that you only use galgrammargenerator.exe or the SetUser cmdlet to create or update DTMF maps for users.
UM Dial Plans
Although there are many Active Directory objects that must be created and configured when Exchange 2007 Unified Messaging is deployed, UM dial plan objects are the central
241
component of the Unified Messaging system. A UM dial plan object is an Exchange 2007 organization-wide object that is created in the Active Directory directory service. After you install the Unified Messaging server role, you must associate the Unified Messaging server with at least one UM dial plan. You can also associate a single Unified Messaging server with multiple UM dial plans. For more information about how to create a new UM dial plan, see How to Create a New Unified Messaging Dial Plan. There are many configuration settings that you can change after you create a UM dial plan to meet the needs of your organization. After you create a UM dial plan, you can configure subscriber access numbers, greetings, message properties, and other UM dial plan features. Although there are many settings that can be changed to control your Unified Messaging environment, one of the more important mailbox settings is storage quotas. If you do not set the storage quotas for users correctly, you might unintentionally prevent voice messages from being recorded for Exchange users in your organization. Because Windows Media Audio (.wma) and .wav files are attached to each voice message, voice messages may be larger than e-mail messages. This may cause problems for users by filling up their mailbox more quickly than e-mail messages that do not include attachments. When you plan your storage quotas for users, you should consider the maximum length of a voice message that a caller will leave. Very long voice messages create large files. However, you can control the size of the voice files by reducing the length of time that callers have to leave a voice message. The Maximum recording duration (minutes) setting controls the maximum length for the recorded messages from callers. This setting can range from 5 to 100 minutes, but the default setting is 20 minutes. You can change this setting by using the Exchange Management Console or by using the Set-UMDialPlan cmdlet in the Exchange Management Shell. For more information about how to configure settings on a UM dial plan, see How to Modify a Unified Messaging Dial Plan. In some Exchange environments, the default setting of 20 minutes may be too high or too low. If the storage quota is set too high, you may risk taking up too much storage space on your Exchange servers or users may exceed their storage quotas too quickly. If the storage quota is set too low, it may frustrate callers by not giving them enough time to leave a whole message. Callers may then have to call back to leave another voice message for the user.
Storage Quotas
Users may store too many e-mail, voice, and fax messages in their mailbox, in addition to attached files. If users in your organization store lots of e-mail messages, voice messages, fax messages, and attached files, you may have to limit the storage space that is allocated to each user's mailbox to reduce the storage demands on your computers that are running Exchange 2007. Frequently, large mailbox stores lead to long backup and restore times. Large mailbox stores may also affect the availability and reliability of your Exchange environment. Therefore, we recommend that you control the size of users' mailboxes to avoid running out of
242
storage space on your Exchange servers. When users do not have a storage quota configured or they have a large storage quota configured, they could possibly fill up the disk drives on an Exchange server. To prevent this, enable and configure storage quotas on users' mailboxes. By default, and starting with the first installation, each new mailbox database includes the following default limits: Warning - 1991680 KB Prohibit Send - 2097152 KB Prohibit Send/Receive - 2411520 KB
After you configure storage quotas, if a storage limit is exceeded, the mailbox-enabled user is warned or prohibited from sending or receiving e-mail. You can use the default storage limits, or you can set your own storage limits to control the amount of data that can be stored in a user's mailbox. For more information about how to manage recipient storage quotas, see Mailbox Recipient Tasks. Because storage quotas are implemented in most Exchange environments, there may be times when a caller cannot leave a voice message for a user. Make sure that you understand the effect that setting storage quotas can have on your Unified Messaging environment and correctly plan your storage quotas for users so that voice messages are recorded correctly.
The voice message cannot fit into the user's mailbox and it fills up the remaining storage space in the user's mailbox. The user's mailbox has already reached its storage capacity.
In the first scenario, the telephone rings and there is no answer. The call is transferred to the Private Branch eXchange (PBX) and then to the Unified Messaging server. The Unified Messaging server checks the user's mailbox storage quota. If the user's mailbox has not reached its storage limit and a voice message is created by the Unified Messaging server for the caller, the voice message is submitted to a computer that has the Hub Transport server role installed. The Hub Transport server then routes and submits the voice message to the appropriate Mailbox server. Because the voice message does not exceed the storage quota set for the user's mailbox and the storage quota has not already been reached, the voice message is delivered to the mailbox of the intended recipient. In the second scenario, the Unified Messaging server checks the user's mailbox storage quota. If the user's mailbox has not reached the storage limit, the voice mail message is submitted to a Hub Transport server. The Hub Transport server routes the voice mail message to the appropriate Mailbox server. The voice message is submitted to the Mailbox server, but the
243
voice message fills up the remaining storage space and exceeds the set storage quota for the user. When this occurs, the voice message is still delivered. Even though the storage quota is exceeded when the voice message is delivered, the voice message is still delivered the same way a non-delivery report (NDR) is delivered to a user even though the mailbox has reached its capacity. Figure 34 illustrates how a voice message is submitted when the user's storage quota has not been reached and how a message is submitted when a voice message causes the storage quota to be reached for the user's mailbox. Figure 34 Submission of voice mail when a user's storage quota has been reached before delivery or when the voice message was delivered to the mailbox but then exceeded the mailbox quota
In the third scenario, the Unified Messaging server checks the user's mailbox storage quota. Because the user's mailbox has already reached its storage capacity, the Unified Messaging server will not record a voice message and informs the caller that the recipient's mailbox is full. The user must delete or archive messages to reduce the size of their mailbox to be lower than the storage quota to be able to receive voice messages again. Figure 35 illustrates how a call is handled when a user's mailbox storage quota has been reached.
244 Figure 35 How a call is handled when a user's mailbox storage quota has been reached
245
5. Configure the UM IP gateways that are used with a fully qualified domain name (FQDN).
Use Internet Protocol security (IPsec). However, the IP gateway or IP/PBX must support IPsec. Use IPsec. However, the IP gateway or IP/PBX must support IPsec. Use strong authentication methods. Use strong administrative passwords.
Use Secure Sockets Layer (SSL) to protect administrative credentials. The IP gateway or IP/PBX must support SSL. Use Secure Shell (SSH) instead of Telnet. Unauthorized long distance calls Use UM dial plan rules and dialing restrictions. These can be configured on the UM dial plan and UM mailbox policies. Optionally, you may be able to enforce other dialing restrictions by configuring your PBX.
246
The Unified Messaging server communicates only with UM IP gateways or IP/PBXs that are included in the list of trusted VoIP devices or servers. This list of trusted VoIP devices or servers is created when a UM IP gateway is created in the Active Directory directory service. Use MTLS. Use MTLS.
Use IPsec. However, the IP gateway or IP/PBX must support IPsec. Configure trusted LANs such as VLANs, dedicated WAN circuits, or virtual private networks (VPNs).
Use MTLS to reduce signaling eavesdropping. Use IPsec. However, the IP gateway or IP/PBX must support IPsec. Configure trusted LANs such as VLANs, dedicated WAN circuits, or VPNs.
There are several security methods listed in Table 28 that you can use to protect your Unified Messaging environment. One of the most important mechanisms for protecting your Unified Messaging infrastructure and the network traffic that is generated by Unified Messaging is Mutual Transport Layer Security (MTLS). You can use MTLS to encrypt SIP traffic that is passed between IP/VoIP gateways, IP/PBXs, and other Exchange 2007 servers and the Unified Messaging servers on your network. Using MTLS to encrypt the SIP data is the best choice for protecting this data. However, depending on the security threat, you can also configure IPsec policies to enable data encryption between IP/VoIP gateways or IP/PBXs and a Unified Messaging server or between a Unified Messaging server and other Exchange 2007 servers on your network. In some environments, you might be unable to use IPsec because IPsec may be unavailable or may not be supported on the IP/VoIP gateways or IP/PBXs. Additionally, IPsec puts an additional processing load on system resources on Unified Messaging servers. Considering these two factors, MTLS is a better choice for protecting the VoIP network traffic in your Unified Messaging environment.
247
After you have correctly implemented and configured MTLS, the SIP traffic between the IP gateways, IP/PBXs, and from other Exchange servers to the Unified Messaging servers will be encrypted. However, when MTLS cannot be used to help secure the traffic that is sent or received from a Unified Messaging server, such as when a Unified Messaging server communicates with another server on your network, such as an Active Directory domain controller or an Exchange 2007 Mailbox server, other types of encryption are used to protect the data. Figure 36 shows the methods of encryption that you can use to protect Unified Messaging. Figure 36 UM VoIP security
248
Types of Certificates
Digital certificates are electronic files that work like an online passport to verify the identity of a user or computer and are used to create an encrypted channel that is used to protect data. A certificate is basically a digital statement that is issued by a certification authority (CA) that vouches for the identity of the certificate holder and enables the parties to communicate in a secure manner by using encryption. They can be issued by a trusted third-party CA, such as by using Certificate Services, or be self-signed. Each type of certificate has its advantages and disadvantages. However, in every case, certificates are tamper-proof, and cannot be forged. Certificates can be issued for a variety of functions, such as Web user authentication, Web server authentication, S/MIME, IPsec, Transport Layer Security (TLS), and code signing. A certificate binds a public key to the identity of the person, computer, or service that holds the corresponding private key. The public and private keys are used by both the client and the server to encrypt the data before it is transmitted across the wire. Certificates are used by a variety of public key security services and applications that provide authentication, data integrity, and secure communications across networks such as the Internet. For Windowsbased users, computers, and services, trust in a CA is established when there is a copy of the root certificate in the trusted root store and the certificate contains a valid certification path. This means that no certificates in the certification path have been revoked or have had the validity period expire. Digital certificates do the following two things: They authenticate that their holderspeople, Web sites, and even network resources such as routersare truly who or what they claim to be. They protect data that is exchanged online from theft or tampering.
There are traditionally three options or kinds of certificates that Unified Messaging and IP/VoIP gateways or IP/PBXs can use. In all three approaches or options, the public key of the certificate owner is part of the certificate so that the server, user, Web site, or other resource that is on the other end can decrypt the messages. The private key is known only to the signer of the certificate. Each certificate has an EnhancedKeyUsage attribute set on it to dictate the specific usage for the certificate. For example, usage could be specified only for server authentication or for use with the encrypting file system. Unified Messaging uses the certificate for server authentication and data encryption.
Self-Signed Certificates
A self-signed certificate is a certificate that is signed by its own creator. The subject and the name of the certificate match. On self-signed certificates, the issuer and subject are defined on the certificate. Self-signed certificates do not require the presence of a CA from your organization or from a third party. You must configure these certificates explicitly and copy them to the trusted root certificate store on each IP/VoIP gateway, IP/PBX, other Unified Messaging
249
servers, and other Exchange 2007 computers if they are to be trusted by the Unified Messaging server that has issued the certificate. If a public key infrastructure (PKI)-based or third-party certificate is unavailable, the Unified Messaging server will search for a self-signed certificate in the local certificate store. If it cannot find a PKI or third party certificate, it will generate a self-signed certificate for MTLS. However, because it is a self-signed certificate, it will not be trusted by the IP/VoIP gateways, IP/PBXs on the network, or other servers on the network. To ensure that the self-signed certificate is trusted by IP/VoIP gateways, IP/PBXs, or other servers, you have to import the self-signed certificate into the local trusted root certificate store for the devices and servers. After you do this, when the Unified Messaging server presents this self-signed certificate to the IP/VoIP gateway, IPPBX, or server, it will be able to verify that the certificate was issued by a trusted authority because the issuer will equal the subject that is defined on the self-signed certificate. If you are using only self-signed certificates, you must import a single self-signed certificate for each IP/VoIP gateway, IP/PBX, or server. In large network environments with multiple devices or computers, this may not be the best choice for implementing MTLS. Using self signed certificates in a large enterprise network does not scale well because of the additional administrative overhead. However, administrative overhead is not a problem if you have multiple devices and you are using a PKI or commercial third party certificate. This is because each device has a certificate that has been issued by the same trusted root authority. Having a certificate from the same trusted root authority ensures that all IP/VoIP gateways, IP/PBXs, and other servers trust the Unified Messaging server. For MTLS to work using self-signed certificates: 1. Take the Unified Messaging server's self-signed certificate and import it into the trusted root certificate store on each IP/VoIP gateway, IP/PBX, and other servers such as a Client Access server and other servers that the Unified Messaging server will communicate with by using MTLS. 2. Take the self-signed certificate from each IP/VoIP gateway, IP/PBX, or other server and import it into the Unified Messing server's trusted root certificate store. If you are using a PKI or third-party certificate, you will import the certification authority's certificate into the trusted root certificate store on all devices and servers. Self-signed certificates are frequently not the best certificate option when you deploy MTLS or certificate-based authentication. However, smaller organizations with a limited number of devices or computers may decide to use the self-signed certificate method because it is the most simple to configure and the least expensive method to use when you implement MTLS. Frequently, smaller organizations decide not to use a third-party certificate or to install their own PKI to issue their own certificates because of the expense, because their administrators lack the experience and knowledge to create their own certificate hierarchy, or for both reasons. The cost is minimal and the setup is simple when you are using self-signed certificates. However, establishing an infrastructure for certificate life-cycle management, renewal, trust management, and revocation is much more difficult with self-signed certificates.
250
251
Messaging role, you can also use Group Policy to import the trusted root certificate into the trusted root certificate store on the Unified Messaging server or other Exchange 2007 servers. However, this process is also used when you are configuring a server that is running the Unified Messaging server role. Note: You will use the same steps if you are using a commercial third-party certificate to implement MTLS. For more information about certificates and PKIs, see the following topics. For more information about certificates, see Public Key Infrastructure for Windows Server 2003. For more information about best practices for implementing a Microsoft Windows Server 2003 public key infrastructure, see Best Practices for Implementing a Microsoft Windows Server 2003 Public Key Infrastructure. For more information about how to deploy a Windows-based PKI, see the Windows Server 2003 PKI Operations Guide.
252
from a commercial third-party certificate vendor that will be imported into the trusted root certificate store on the servers and devices on your network.
Configuring MTLS
By default, when an incoming call is received from an IP/VoIP gateway, the SIP traffic is not encrypted and does not use MTLS. However, the security setting for a Unified Messaging server is configured on the Unified Messaging dial plan that is associated with the Unified Messaging server. To enable the Unified Messaging server to communicate securely with IP/VoIP gateways, IP/PBXs, and other Exchange 2007 servers, you must use the SetUMDialPlan cmdlet to configure VoIP security on the UM dial plan, and then enable MTLS for the Unified Messaging servers that are associated with the UM dial plan. Note: If the Microsoft Exchange Unified Messaging service is already running and you add the Unified Messaging server to a UM dial plan, you must restart the Microsoft Exchange Unified Messaging service for the security setting on the dial plan to be enforced. After you have used the VoIPSecurity parameter on the Set-UMDialPlan cmdlet to enable VoIP security on the UM dial plan, all Unified Messaging servers that are associated with the UM dial plan can communicate in a secure manner. However, depending on the type of certificate that you use for enabling MTLS, you must first import and export the required certificates both on the Unified Messaging servers and the IP/VoIP gateways and PBXs. After the required certificate or certificates have been imported on the Unified Messaging server, you must restart the Microsoft Exchange Unified Messaging service to be able to use the certificate that was imported to establish a secure channel with the IP/VoIP gateways or IP/PBXs. For more information about how to import and export certificates, see Importing and Exporting Certificates. After you have successfully imported and exported the required trusted certificates, the IP/VoIP gateway will request a certificate from the Unified Messaging server, and then it will request a certificate from the IP/VoIP gateway. Exchanging the trusted certificates between the IP/VoIP gateway and the Unified Messaging server enables the IP/VoIP gateway and Unified Messaging server to communicate over a secure channel by using MTLS. When an incoming call is received by an IP/VoIP gateway or IP/PBX, it will initiate a certificate exchange and negotiate security by using MTLS with the Unified Messaging server. The Microsoft Exchange Unified Messaging service is not involved in the certificate exchange process or in determining whether the certificate is valid. However, if a trusted certificate cannot be located on a Unified Messaging server, a trusted certificate is found but is not valid, or a call is rejected because of an MTLS negotiation failure, the Unified Messaging server will receive a notification from the Microsoft Exchange Unified Messaging service.
253
Although the Microsoft Exchange Unified Messaging service does not participate in the certificate exchange between the Unified Messaging server and the IP/VoIP gateways, the Microsoft Exchange Unified Messaging service does the following: Provides a list of fully qualified domain names (FQDNs) to the Microsoft Exchange Speech service so that calls from only the IP/VoIP gateways or IP/PBXs that are included on the list are accepted. Passes the issuerName and SerialNumber attributes of a certificate to the Microsoft Exchange Speech service. These attributes uniquely identify the certificate that the Unified Messaging server will use when an IP/VoIP gateway or IP/PBX requests a certificate. After the Unified Messaging server and the IP/VoIP gateways or IP/PBXs have performed the key exchange to establish a secure channel by using MTLS, the Unified Messaging servers will communicate with the IP/VoIP gateways and IP/PBXs by using a secure channel. The Unified Messaging servers will also communicate with other Exchange 2007 servers, such as Client Access servers and Hub Transport servers, by using a secure channel that uses MTLS. However, MTLS will only be used to encrypt the traffic or messages that are submitted from the Unified Messaging server to a Hub Transport server. Important: To be able to enable MTLS between a UM IP gateway and a dial plan that is operating in secure mode, you must first configure the UM IP gateway with an FQDN and configure it to listen on port 5061. To configure a UM IP gateway, run the following command: Set-UMIPgateway -identity MyUMIPgateway -Port 5061. You must also verify that any IP/VoIP gateways or IP/PBXs have also been configured to listen on port 5061 for MTLS.
IPsec
IPsec also uses certificates to encrypt data. It provides a key line of defense against private network and Internet attacks. IPsec has the following goals: To protect the contents of IP packets.
To defend against network attacks through packet filtering and the enforcement of trusted communication. IPsec is a framework of open standards that helps ensure private, secure communications over IP networks by using cryptographic security services. IPsec uses cryptography-based protection services, security protocols, and dynamic key management. It provides the strength and flexibility to protect communications between private
254
network computers, domains, sites, remote sites, extranets, and dial-up clients. It can even be used to block receipt or transmission of specific types of traffic. IPsec is based on an end-to-end security model that establishes trust and security from a source IP address to a destination IP address. The IP address itself does not have to be considered an identity. Instead, the system behind the IP address has an identity that is validated through an authentication process. The only computers that must know about the traffic that is being secured are the sending and receiving computers. Each computer handles security at its respective end and operates under the assumption that the medium over which the communication occurs is not secure. Computers that route data only from source to destination are not required to support IPsec unless firewall-type packet filtering or network address translation is being done between the two computers. This enables IPsec to be deployed successfully for the following organizational scenarios: LAN: client-to-server, server to server, and server-to-VoIP device WAN: router-to-router and gateway-to-gateway Remote access: dial-up clients and Internet access from private networks
Typically, both sides require IPsec configuration to set options and security settings that will allow two systems to agree on how to secure traffic between them. This is known as an IPsec policy. The Microsoft Windows 2000 Server, Windows XP, and the Windows Server 2003 family implementations of IPsec are based on industry standards that were developed by the Internet Engineering Task Force (IETF) IPsec working group. Parts of IPsec-related services were jointly developed by Microsoft and Cisco Systems, Inc. For more information about how to configure IPsec policies, see Creating, modifying, and assigning IPsec policies. For more information about IPsec, see IPSec Concepts. Caution: If you currently have IPsec policies implemented on your network, you must exclude the IP/VoIP gateways and IP/PBXs from the IPsec policy. If you do not, for every 3 seconds of a voice mail there will be a 1 second drop of the voice transmission. This is a known issue and a hotfix for Microsoft Windows Server 2003. For more information about this hotfix, see How to simplify the creation and maintenance of Internet Protocol (IPsec) security filters in Windows Server 2003 and Windows XP.
255
by checking the application event log to see whether information events numbered 1114 and 1112 have been logged. By default, Unified Messaging dial plans and the Unified Messaging servers that are associated with the UM dial plan send and receive data by using no encryption. Therefore, they are configured in unsecured mode. In unsecured mode, the VoIP and SIP traffic will not be encrypted. However, the UM dial plans and the Unified Messaging server that are associated with the UM dial plan can be configured by using the VoIPSecurity parameter. The VoIPSecurity parameter configures the dial plan to encrypt the VoIP and SIP traffic by using MTLS. Unified Messaging uses the VoIP protocols Realtime Transport Protocol (RTP) and SIP to communicate with other devices and servers. When you configure the UM dial plan to use VoIP security or secure mode, the SIP signaling channel will be encrypted. The SIP signaling channel can use SIP that is secured by using MTLS. However, the media channels that use RTP will still use Transmission Control Protocol (TCP), which is unsecured. Note: A secure signaling media channel that uses Secure Realtime Transport Protocol (SRTP) will also use MTLS to encrypt the VoIP data. SRTP is unavailable in this release of the product. However, SRTP support is planned for a future release. This means that the SIP data and the media channels that are used by Exchange 2007 Unified Messaging will both be encrypted. After you have created a UM dial plan, you must use the Set-UMDialPlan cmdlet to set the VoIP security mode. When you configure the UM dial plan to use VoIP security, the Unified Messaging servers that are associated with the UM dial plan will use the secure mode or encryption. However, to be able to send encrypted data to and from a Unified Messaging server, you must correctly configure the UM dial plan and devices such as IP/VoIP gateways or IP/PBXs must support MTLS. A Unified Messaging server can be associated with a single or multiple UM dial plans. However, a single Unified Messaging server can use either MTLS (secured) or TCP (unsecured), but not both. This is a limitation of the SIP signaling stack. Therefore, a single Unified Messaging server can only be associated with multiple dial plans that have the same security configuration. By default, when a dial plan is created, it will use unsecured mode or no encryption. However, if you have a Unified Messaging server that is associated with a UM dial plan that has been configured to use MTLS to encrypt the VoIP traffic, and you have to disable VoIP security for the dial plan, you must perform the following tasks: 1. Remove all Unified Messaging servers from the UM dial plan that is currently running in secured mode. 2. Use the Set-UMDialPlan cmdlet to set the dial plan to unsecured mode. 3. Associate the Unified Messaging servers with the dial plan that is now running in unsecured mode.
256
The thumbprint is the Secure Hash Algorithm (SHA1) hash and can be used to uniquely identify the certificate that is used. You can then export the certificate that is used by the Microsoft Exchange Unified Messaging service to start in secure mode from the local certificate store and then import this certificate on the IP/VoIP gateways and IP/PBXs on your network into the trusted certificate store. After an appropriate certificate has been found and is used, and no additional changes have occurred, the Microsoft Exchange Unified Messaging service will log an event one month before the certificate that is being used expires. If you do not make any changes to the
257
certificate during this time, the Microsoft Exchange Unified Messaging service will log an event each day until the certificate expires and each day after the certificate has expired. When the Unified Messaging server is looking for a certificate to use for MTLS to establish a secure channel, it will look in the trusted root certificate store. If there are multiple certificates that are valid and are from different issuers, the Unified Messaging server will choose the valid certificate that has the longest time before the certificate will expire. If multiple certificates exist, the Unified Messaging server will choose the certificates based on the issuer and the date that the certificate will expire. The Unified Messaging server will look for a valid certificate in this order. 1. PKI or commercial certificate with the longest expiration period. 2. PKI or commercial certificate with the shortest expiration period. 3. Self signed certificate with the longest expiration period. 4. Self signed certificate with the shortest expiration period.
For more information about how to associate a Unified Messaging server with a UM dial plan, see How to Add a Unified Messaging Server to a Dial Plan.
258
that have a .tif extension. This topic discusses faxing and how it works in Exchange 2007 Unified Messaging. Note: Although Unified Messaging does not let users send outgoing faxes, many third-party solutions, such as an Internet fax service, e-mail faxing services, or a third-party fax server application can be used to send outgoing faxes.
Overview of Faxing
Fax is an abbreviation for the word facsimile. It is a technology that is used to electronically transfer documents. Generally, faxes are sent and received by fax machines or computer fax/modems by using the Public Switched Telephone Network (PSTN), a telephony or circuitbased network. However, there are other faxing options that can be used to send and receive faxes. Almost all organizations today need their users to send and receive faxes. Most organizations use one or more of the methods described in the following list to send or receive faxes over the PSTN or over the Internet. There are advantages and disadvantages to each of these methods. Traditional fax machines and computer-based faxing Faxing by using fax servers or gateways Faxing by using a Voice over IP (VoIP) network Faxing by using an e-mail client application
For users in an organization to send a fax message, they may have to do the following: it. Print a hard copy of the document to be faxed and use a physical fax machine to send Save the document on their computer and use a fax modem to send the fax. Use an Internet fax service that lets them fax a document from a software application.
Send an outgoing fax to a fax server by using a software application that is configured to use the fax server. For users in an organization to receive a fax, they may have to do the following: Receive a fax on a physical fax machine within the organization. Receive a fax by using a fax modem that is installed on their computer. Receive a fax from an Internet faxing service. Receive a fax from a fax server that is configured on a network. Receive a fax from a Unified Messaging server on a VoIP network.
259
Faxing Methods
There are several options for sending and receiving faxes, including the following: Traditional fax machines and computer-based faxing Scanners, a fax modem in a computer, a printer with built-in faxing capabilities, or a dedicated fax machine can be used to send and receive faxes. They are used to transmit data in the form of pulses by using a telephone line to another fax device, usually another fax machine or computer that has a fax modem. The pulses are then transformed into images or used to print the image on paper. The traditional fax method requires at least a single telephone line on the sending and receiving device, and only one fax can be sent or received at a time. A disadvantage of sending and receiving faxes by using a fax modem is that the computer must be turned on and running fax software or a fax service. This kind of computer-based faxing does not use the Internet to send or receive faxes. The following figure illustrates how traditional and computer-based faxing is used to send and receive faxes. Figure 37 Traditional and computer-based faxing
Fax servers or gateways and Internet fax services There are several ways to send and receive faxes over the Internet. These include using a software application on a computer or using an e-mail client to receive faxes. In most cases, this kind of faxing involves using a fax server or fax gateway to convert between faxes and e-mail. This has become increasingly popular because it enables organizations to remove or not purchase additional fax machines. It also eliminates the need to install additional telephone lines. This kind of faxing involves creating the document, including a fax cover page with the correct identifying information, and sending the document to a traditional fax machine. For example, the user uses a software
260
application such as Microsoft Office Word or Microsoft Office Outlook to create and send the fax to the fax server or gateway. The fax server or gateway receives the fax and then sends it by using a traditional telephone line to a fax machine or fax modem that is installed on a computer. The following figure illustrates how fax servers, gateways, and Internet fax services can be used to send and receive faxes. Figure 38 Faxing by using fax servers or gateways
Internet fax services let a user send faxes from a computer by using the Internet. A software application such as Office Word or Outlook can be used to create and send the fax to an Internet fax service. There are many companies that offer Internet faxing services on a subscription basis or by charging for each fax message that is sent. Internet fax services offer the following advantages: No fax machine is required No software or hardware must be installed No dedicated telephone lines are required Confidentiality Multiple faxes can be sent at the same time Faxes can be received when the computer is shut off
The following figure illustrates how Internet fax services can be used to send and receive faxes.
Faxing by using an e-mail client application Faxes can be sent and received by a fax machine over the Internet and then received by an e-mail client such as Outlook. The T.37 protocol was designed to enable a fax machine to send fax messages over the Internet to an e-mail client. The faxes are sent over the Internet as an e-mail attachment, typically as .tif or .pdf files. In this kind of faxing, a fax machine that supports iFax or T.37 is required, in addition to an e-mail address for the sending and receiving fax machines. To work with existing traditional fax machines and fax modems, all T.37 fax machines support standard faxing by using a telephone line. However, in some cases, T.37 fax machines can be used when a fax gateway is also being used. Figure 40 illustrates how T.37-based fax machines and e-mail clients can be used to send and receive faxes. Figure 40 Faxing with e-mail
Faxing by using a VoIP network VoIP is a technology that contains hardware and software that enables people to use an IP-based network as the transmission medium for telephone calls. On a VoIP network, voice and fax data is sent in packets by using IP instead of by
262
traditional circuit transmissions or the circuit-switched telephone lines of the PSTN. An IP/VoIP gateway that you connect to your IP network uses VoIP to send voice data packets between an Exchange 2007 Unified Messaging server and a Private Branch eXchange (PBX) system. Alternatively, you can use an IP/PBX to perform the functions of both an IP/VoIP gateway and a PBX. There are two basic types of networks: circuit-switched and packet-switched. A circuit-switched network is a network in which there exists a dedicated connection. A dedicated connection is a circuit or channel that is set up between two nodes so that they can communicate. After a call is established between two nodes, the connection may be used only by these two nodes. When the call is ended by one of the nodes, the connection is canceled. In circuit-switched networks, such as the PSTN, multiple calls are transmitted across the same transmission medium. Frequently, the medium that is used in the PSTN is copper. However, fiber optic cable might also be used. In packet-switched networks such as the Internet or a local area network (LAN), packets are routed to their destination through the most expedient route, but not all packets traveling between two hosts travel the same route, even those from a single message. This almost guarantees that the packets will arrive at different times and out of order. In a packet-switched network, packets (messages or fragments of messages) are individually routed between nodes over data links that may be shared by other nodes. With packet switching, unlike circuit switching, multiple connections to nodes on the network share the available bandwidth. Packetswitched networking has made it possible for the Internet to exist and, at the same time, has made data networksespecially LAN-based IP and VoIP networksmore available and widespread. Figure 41 illustrates how a VoIP network and Exchange Unified Messaging can be used to deliver faxes. Figure 41 Faxing on a VoIP network
T.38
T.38 is a faxing standard and protocol that enables faxing over an IP-based network. An IPbased network that uses the T.38 protocol uses Simple Mail Transfer Protocol (SMTP) and MIME to send the message to a recipient's mailbox. T.38 allows for IP fax transmissions for IPenabled fax devices and fax gateways. The devices can include IP network-based hosts such as client computers and printers. In Exchange 2007 Unified Messaging, the fax images are separate documents encoded as .tif files and attached to an e-mail message. Both the e-mail
263
message and the .tif file attachment are sent to the recipient's Exchange 2007 UM-enabled mailbox. Exchange 2007 Unified Messaging relies on the gateway's abilities to translate or convert Time Division Multiplex (TDM) or telephony circuit-switched based protocols like Integrated Services Digital Network (ISDN) and QSIG from a PBX to IP- or VoIP-based protocols like Session Initiation Protocol (SIP), Real-Time Transport Protocol (RTP), or T.38 for receiving fax messages. The IP/VoIP gateway is integral to the functionality and operation of Unified Messaging. The IP/VoIP gateway is responsible for sensing fax tones. Unified Messaging servers rely on the IP/VoIP gateway to send a notification that a fax has been detected, at which point the Unified Messaging server will renegotiate the media session and use the T.38 protocol.
For more information about how incoming faxes are sent to a user's mailbox, see Unified Messaging Voice and Fax Call Processing.
264
In Exchange 2007 Unified Messaging, the user receives the fax images as separate documents encoded as .tif image files that are attached to an e-mail message. Both the e-mail message and the .tif attachment are sent to the recipient's Exchange 2007 UM-enabled mailbox. There are several advantages to sending a fax message to the user's mailbox. These advantages include the following: You can reduce the number of physical or traditional fax machines.
The number of telephone lines used for faxing in an organization can be reduced, because the Unified Messaging server can queue many faxes and send each fax when one of the telephone lines becomes available. Faxes that are received as a .tif image file are better quality than a traditional fax. Incoming faxes can be printed by a local or shared printer. Faxes sent to the user's mailbox are more secure because they are less likely than hard copy faxes to be picked up by someone other than the recipient. Users can receive faxes without leaving their desk.
Fax messages that are received can be monitored to make sure that they comply with an organization's security policies. A single fax message can be sent only to a single UM-enabled user. Exchange 2007 Unified Messaging cannot forward fax messages to a distribution list. If you must have this functionality, you must: 1. Create a mailbox to answer the fax call. This will be the mailbox for the distribution list. 2. UM-enable the distribution list mailbox. 3. Create a rule for this UM-enabled mailbox. The rule will be configured to forward all messages to the chosen distribution list.
265
Note: If you prevent fax messages from being received on a dial plan, all users who are associated with the dial plan will be unable to receive fax messages, even if you configure an individual user's properties to allow them to receive fax messages. Enabling or disabling faxing on a UM dial plan takes precedence over the settings for an individual UM-enabled user. Verify that the Unified Messaging servers that are associated with the UM dial plan are configured to allow one or more incoming fax calls to be processed. By default, when you install the Unified Messaging server role, the Unified Messaging server will accept 100 concurrent incoming fax calls. This allows UM-enabled users who are associated with a UM dial plan to receive fax messages into their mailbox. However, there may be times when these default settings have changed and UM-enabled users cannot receive fax messages. For more information about how to configure the number of incoming fax calls, see How to Modify the Number of Concurrent Fax Calls Setting. You can also prevent all users from receiving fax messages by setting the number of incoming fax calls to 0 on each Unified Messaging server that is associated with a dial plan. If each Unified Messaging server that is associated with a dial plan is configured to receive incoming fax calls but the dial plan is configured to disallow faxing, all users who are associated with the dial plan will be unable to receive faxes. Therefore, the fax settings that are configured on a UM dial plan will take precedence over the fax settings that are configured on a Unified Messaging server. Verify that the Exchange 2007 mailbox that is UM-enabled can receive fax messages. By default, all users who are associated with a dial plan can receive faxes. However, there may be situations when a user cannot receive faxes, because the ability to receive faxes has been disabled on their mailbox. For more information about how to enable a UM-enabled user to receive faxes, see How to Enable a Unified Messaging User to Receive Faxes. You can prevent a single user who is associated with a dial plan from receiving fax messages. To do this, configure the properties for the user by using the Exchange Management Console or by using the Set-UMMailbox cmdlet in the Exchange Management Shell. You can also use the Set-UMMailbox cmdlet to prevent multiple users from receiving fax messages. For more information about how to prevent a user or users from receiving fax messages, see How to Prevent a UM-Enabled User from Receiving Faxes.
266
A separate DID telephone number that is used for receiving faxes. A central fax telephone number that will receive all faxes.
267
Adding multiple extensions is more complex than using a single extension, and may require additional configuration settings on a PBX. To configure multiple extension numbers for a UMenabled user, you must have DID extension numbers that are available but are not being used in your organization. Therefore, it is not a good idea to use multiple numbers for a UM-enabled user if your organization has a limited number of available DID extension numbers. For more information about the IP/PBXs and PBXs that are supported by Exchange 2007 Unified Messaging, see IP/PBX and PBX Support. The benefit of using multiple DID telephone numbers is that the UM-enabled user receives voice calls on one DID extension number and fax calls on the other DID extension number. Although, this may be more complex and requires additional configuration steps, using separate DID numbers for voice mail and fax calls is easier for the user. If you configure two DID extension numbers for a specific user, the DID extension numbers can come from separate UM dial plans. In this scenario, you can create a dial plan, add Unified Messaging servers to the dial plan, and use the Unified Messaging server as a dedicated server that will receive fax calls and forward fax messages to the users. For more information about how to create a UM dial plan, see How to Create a New Unified Messaging Dial Plan. You have the following options for configuring multiple DID extension numbers for UM-enabled users: Multiple DID numbers (one for fax without Unified Messaging and one for voice) This type of configuration is enabled on a per-user basis and is used when you have extra or unused DID extension numbers available. One DID extension number is published as the users voice mail number and the other DID extension number is published as the user's fax number. In this scenario, voice calls that are answered by a ring-no-answer or busy signal are forwarded to a Unified Messaging server, and a voice mail message is created and sent to the UM-enabled user's mailbox. The other extension number can be connected to a fax machine or to another computer that has a fax modem. Although this configuration is possible, it does not require that Unified Messaging servers process the fax calls and fax messages will not be sent to the UM-enabled user's mailbox. Multiple DID numbers (one for fax and one for voice) This type of configuration is enabled on a per-user basis and can be used when your organization has many DID extension numbers available. In this scenario, both DID extension numbers that are answered by a ring-no-answer or a busy signal are forwarded to a Unified Messaging server that will create a voice or fax message depending on the DID extension number that is called. Although the user will publish one number for voice and one for fax, the Unified Messaging server detects the type of call that is being received on the DID extension number and can create a voice or fax message from calls to either of the DID extension numbers. This is very useful when a user does not have a separate fax machine or dedicated computer that has a fax modem to answer incoming fax calls. Two DID numbers (one phantom extension for fax and one for voice) This type of configuration is enabled on a per-user basis. It is basically the same as the configuration that uses two DID numbers (one for fax and one for voice). However, in this configuration,
268
the number that is published for fax calls for the UM-enabled user is configured in the PBX as a phantom extension. Incoming calls that are received on this "phantom" DID extension number are always forwarded to a Unified Messaging server. The advantage of this kind of configuration is that incoming fax calls are answered by a Unified Messaging server. When a ring no answer occurs, a fax is created and forwarded by the Unified Messaging server to the UM-enabled user's mailbox without disturbing the user. This happens because no telephone or fax device is positioned close to the user, and the user does not hear the ring of an incoming call. The disadvantages of this kind of configuration are that you must have additional DID extensions available and that you must configure the PBX to forward the call to a Unified Messaging server.
Business logic is too complex to warrant creating a transport rule. This might be the case if your organization requires that you route certain faxes to one group and other faxes to another group. For more information about transport rules, see the following topics: Overview of Transport Rules
Understanding How Transport Rules Are Applied in an Exchange 2007 Organization Filtering fax messages by using Outlook is not effective.
Publishing one fax number for the whole organization enables your organization to control the types of faxes that are received by users. The advantage of this configuration is that it requires only a single DID extension number or an external telephone number. Also, it does not require a separate DID number for faxing for each UM-enabled user. However, it does require a "fax secretary" or other person to distribute the incoming faxes to users within the organization based on information that is included on the fax cover page or in the fax message itself.
269
Note: Using a central fax number with optical character recognition (OCR) is not available in Exchange 2007 Unified Messaging. This kind of configuration can use a central fax number. However, instead of having to be routed to the recipient by a person, the faxing software receives the fax, performs OCR, and then tries to locate the recipient based on the information on the cover page or fax message.
270
The following figure illustrates the different types of operators found in Exchange 2007 Unified Messaging.
With Exchange 2007 Unified Messaging, you have the option to configure an operator extension on UM dial plans, UM auto attendants, and on a UM-enabled user's mailbox. If you have configured an operator extension number on a UM dial plan or on a non-speech enabled UM auto attendant, the caller will hear a voice prompt that says "To reach an operator, press 0". When a caller calls in to a speech-enabled UM auto attendant and an operator extension number is configured, the caller will have the option to press 0 or say "operator" or "reception" and be transferred to an operator extension number.
272
When you configure an operator extension number for a UM dial plan, auto attendant, or personal operator, you can configure the operator extension number by using one of the following: An internal telephone extension number This can be an extension number for a specific user such as a receptionist, administrative assistant, or another person within the organization that is available to answer the call. Generally, this will be an extension number where a person is always available to answer an incoming call. An extension number for a UM auto attendant This can be used when you want to allow the caller additional menu options before they are transferred to a human operator or when your organization does not have a human operator. In this case, you can configure an extension number that transfers the incoming call to the extension number that is associated with a UM auto attendant. The auto attendant can be either speech-enabled or not speech-enabled. An external telephone number This can be used when a vendor or external answering service is used to answer incoming calls for your organization. If you choose to configure an operator extension number with a telephone number that is external to your organization, you must verify that you have correctly configured your outdialing rules on the UM dial plans and Private Branch eXchanges (PBXs) so that the call transfers will be successful. At a minimum, we recommended that you configure either the UM dial plan or a UM auto attendant that is associated with the dial plan to have an operator extension number to help callers find the user they are trying to reach or navigate the menu system. For more information about how to configure an operator extension on a UM auto attendant, see How to Configure an Operator Extension on a Unified Messaging Auto Attendant. For more information about how to configure an operator extension number on a UM dial plan, see How to Configure an Operator Extension on a Unified Messaging Dial Plan.
273
There are two types of callers who will access the Unified Messaging system by using the subscriber access number that is configured on a UM dial plan: unauthenticated callers and authenticated callers. When a caller dials the subscriber access number that is configured on a dial plan, the caller is considered anonymous or unauthenticated until they input information. This information includes their voice mail extension and a PIN. The only option that is available to anonymous or unauthenticated callers is the directory search feature. However, if an operator extension number is configured on the dial plan, the unauthenticated user can use the directory search feature and can also press 0 to be transferred to the operator's extension number that is configured on the dial plan. After the caller inputs their extension number and their PIN, they will be authenticated and given access to their Exchange 2007 mailbox. After the caller gains access to their mailbox, they will use Outlook Voice Access. Outlook Voice Access is a series of voice prompts that allow the authenticated caller to access their e-mail, voice mail, calendar, and contact information by using a standard analog, digital, or cellular telephone. Outlook Voice Access also enables authenticated callers to navigate their personal information in their mailbox, place calls, locate users, and navigate the system prompts and menus by using dual tone multifrequency (DTMF) or voice inputs. When a UM-enabled user uses Outlook Voice Access, they can perform the following tasks: Listen to new and saved e-mail and voice mail messages. Forward, reply, save, and delete e-mail and voice mail messages. Interact with their calendar. Locate a person in the global address list (GAL) or personal contacts. Send a voice message to a person. Change their PIN, spoken name, or greetings.
When an Outlook Voice Access user dials the subscriber access number that is configured on a UM dial plan and an operator extension is configured on the dial plan, when the caller presses the 0 key or says "operator" or "reception", they will be transferred to the telephone number that you have configured on the UM dial plan. If no telephone number is configured for an operator extension on the dial plan, the user will not be given an option to reach an operator and will be politely disconnected from the Unified Messaging system. The following figure illustrates the operator transfer options that are available to an Outlook Voice Access user when they dial in to a subscriber access number.
For more information about subscriber access in Exchange 2007 Unified Messaging, see Understanding Unified Messaging Subscriber Access. For a printable copy of the menus and options that are available with Outlook Voice Access, see the Microsoft Download Center for a copy of the Outlook Voice Access Quick Reference Guide.
275
You can configure the operator extension number on a UM auto attendant to be the extension number of a human operator, another auto attendant, a UM-enabled mailbox, or a telephone number that is external to an organization. An internal or external telephone number from 1 to 20 digits can be entered for the operator's extension number. If you use an external telephone number, you must verify that you have correctly configured the appropriate outdialing rule groups and entries to enable this functionality. For more information about how to configure outdialing entries, see How to Create a Dialing Rule Entry on a Unified Messaging Dial Plan. If you have created a speech-enabled auto attendant and have configured an operator extension on the speech-enabled auto attendant, when the caller says "operator", the auto attendant will forward the call to the number that is configured on the speech-enabled auto attendant. If the speech-enabled auto attendant is configured to have a DTMF fallback auto attendant but not to have an operator extension number and the DTMF auto attendant is configured to have an operator extension number, the operator extension number on the DTMF fallback auto attendant will be dialed. If no extension number is configured on the speechenabled auto attendant or the DTMF fallback auto attendant and the caller says "operator", the system will call the operator extension that is configured on the dial plan that is associated with the auto attendant. If neither of the auto attendants or the dial plan is configured to have an operator extension, the system will respond by saying "Sorry. Neither the operator or the touchtone service are available".
276
Note: At a minimum, we recommend that you configure either the auto attendant or the dial plan that is associated with the auto attendant to have an operator extension number to help callers. For UM auto attendants, you can configure business hours operator transfers on the properties for the UM auto attendant. However, by default, business hours transfers are enabled. You can also configure non-business hours operator transfers on the UM auto attendant. However, by default, the business hours for a UM auto attendant are 24 hours a day. This means that nonbusiness hours or after hours operator transfers will not be available. To configure operator transfers after business hours, you must first configure the business hours schedule on the UM auto attendant properties and then enable or disable operator transfers during business or nonbusiness or hours. For more information about how to configure the business hours for a UM auto attendant, see How to Configure Business Hours for a Unified Messaging Auto Attendant. For more information about how to enable or disable operator transfers after business hours, see How to Enable or Disable Operator Transfers After Business Hours on a Unified Messaging Auto Attendant. For more information about how to enable or disable operator transfers during business hours, see How to Enable or Disable Operator Transfers During Business Hours on a Unified Messaging Auto Attendant. The following figure illustrates the operator transfer options that are available to a caller when they dial in to a UM auto attendant this is not speech-enabled. For more information about how to create a UM auto attendant, see How to Create a New Unified Messaging Auto Attendant.
Figure 45 illustrates the operator transfer options that are available to a caller when they dial in to a UM auto attendant that is speech-enabled but does not have a DTMF fallback auto attendant configured. For more information about how to speech-enable a UM auto attendant, see How to Speech-Enable a Unified Messaging Auto Attendant.
278 Figure 45 Speech-enabled auto attendant without a DTMF fallback auto attendant
Figure 46 illustrates the operator transfer options that are available to a caller when they dial in to a UM auto attendant that is speech-enabled and also has a DTMF fallback auto attendant configured. For more information about how to configure a UM auto attendant that has a DTMF fallback auto attendant, see How to Configure a Unified Messaging Auto Attendant with a DTMF Fallback Auto Attendant.
279 Figure 46 Speech-enabled auto attendant with a DTMF fallback auto attendant
Although UM auto attendants are an optional feature that can be created and configured when you are deploying Unified Messaging, we recommended that, if you make the choice to create and configure a single UM auto attendant or multiple auto attendants, you take the time to plan them carefully. One of the most important factors when planning for auto attendants is to make sure that callers can contact a human operator or another auto attendant to correctly direct their calls. If you do not plan and implement the auto attendants for your organization correctly, the system could frustrate callers enough that they will not call in to the system again.
280
Personal Operators
Exchange 2007 Unified Messaging enables you to configure a personal operator extension number on a user's UM-enabled mailbox. As the administrator, you can configure a personal operator for a UM-enabled user. However, the UM-enabled user will be unable to configure this setting. If the UM-enabled user were to have access to configure this setting, they could potentially forward all their calls to another UM-enabled user or to an internal extension number that is not valid. This could be very frustrating for the user to whom the calls were being forwarded for callers. Callers would be unable to leave a voice message for the UM-enabled user they were trying to contact and could lose their place in the menu system, and eventually give up without reaching the user they were trying to contact. The personal operator extension setting on a UM-enabled user's mailbox can be used when an administrative assistant or personal assistant will answer incoming calls for a specific user instead of a voice mail being generated for the user. By default, a personal operator extension number is not defined. For a caller to be transferred to a personal operator, the caller must enter 0 on the telephone keypad when the user's custom voice mail message greeting is being played. Therefore, we recommended that, if a user is going to use a personal operator, they include information in their custom voice mail greeting to give the caller instructions about how to access their personal operator. However, if the user has not configured a customized voice mail greeting, the default system greeting will be used and the system will add the operator prompt automatically. For example, "Please leave a message for Tony Smith. To speak to an administrative assistant and leave a message, press 0". If the caller does not press 0 during the voice mail greeting, the caller will be able to leave a voice message for the user. If you have not configured a personal operator extension for a UM-enabled user's mailbox, the Unified Messaging server will use the operator extension number that is configured on the UM auto attendant or UM dial plan, depending on which number the caller has called. If the caller has called an auto attendant telephone extension number, they will be forwarded to the operator, if one has been configured on the UM auto attendant. If they have called the subscriber access number that is configured on a UM dial plan, the caller will be forwarded to the operator extension number that is configured on the UM dial plan. If an operator extension has not been configured, the caller will be politely disconnected from the system. For more information about how to configure a personal operator, see How to Configure a Personal Operator for a UM-enabled User. In most cases, an internal extension number for an administrative assistant, receptionist, or operator will be configured as a personal operator. A personal operator extension number can be configured as an internal or external telephone number that ranges from 1 to 20 digits. However, if you use an external telephone number, you must verify that you have correctly configured the appropriate outdialing rule groups and entries to enable this functionality. For
281
more information about how to configure outdialing entries, see How to Create a Dialing Rule Entry on a Unified Messaging Dial Plan.
Understanding Outdialing
You can configure many outdialing settings that are used by a UM server to dial internal and external calls for users. To configure outdialing you will need to configure dialing rule groups, dialing rule entries, and dialing restrictions on UM dial plans and UM mailbox policies. Additionally, you can also configure UM dial plans with dialing or access codes, a national number prefix, and in-country/region or international number formats that allow you to control outdialing in your organization. This topic discusses dialing rule groups, dialing rule entries, the allowed dialing rule groups and dialing restrictions and how they are used to control outdialing for your organization.
Overview
Outdialing is the process that is used by users whey they call into a UM dial plan or UM auto attendant and place or transfer a call to an internal or external telephone number. When a user calls into a UM dial plan or auto attendant and then places a call, a Unified Messaging server will use the settings that are configured on the dial plan, auto attendant and if appropriate, the UM mailbox policy to place the call. The outdialing process happens when a Unified Messaging server: Places a call to an external telephone number for a caller. Transfers a call to an auto attendant. Transfers a call to a UM-enabled or non UM-enabled user within your organization.
When a UM-enabled user uses the Play-on-Phone feature found in Outlook 2007 or Exchange 2007 Outlook Web Access. There are two types of users that can use the outdialing feature in Unified Messaging; authenticated and non-authenticated. The users that call into a subscriber access number
282
configured on a UM dial plan are initially unauthenticated but all users that call into a UM auto attendant are unauthenticated. When a user calls into a subscriber access number, they are considered unauthenticated because they have not provided their extension number and PIN and logged in to their Exchange 2007 mailbox. They are authenticated after they provide their extension number and PIN and successfully log on to their Exchange 2007 mailbox. Figure 47 illustrates the outdialing process for a user that has been authenticated. Figure 47 Outdialing process for an authenticated user
When the user calls into a subscriber access number but does not log in to their Exchange 2007 mailbox and attempts to place or transfer a call, only the UM dial plan outdialing settings will apply to the call. However, when an unauthenticated user calls into a UM auto attendant, the outdialing settings on not only the auto attendant will be applied to the call, but the outdialing settings that are configured on the dial plan that is associated with the auto attendant will also apply. When a user calls into the subscriber access number configured on a dial plan and successfully logs on to their Exchange 2007 mailbox and becomes an authenticated user, the configuration settings from the UM dial plan and the UM mailbox policy that is associated with the authenticated user will both be applied to any outdialing calls the user may make.
284
Outdialing Settings
There are several settings that you must configure to apply outdialing rules for your organization. To control outdialing you must configure the UM dial plans, auto attendants and UM mailbox policies that you have been created. The following outdialing settings are configured on dial plans, auto attendants and UM mailbox policies: Outside line, country/region and international access codes National number prefixes In-country/region and international number formats Configured in-country/region and international dialing rule groups Allowed in-country/region and international dialing rule groups Dialing rule entries Dialing restrictions
For you to successfully configure outdialing for your Exchange 2007 organization, you first be able to define each of the components that will need to be configured and how they can be used with outdialing. Table 29 introduces each of the components that will need to be properly configured on UM dial plans, auto attendants and UM mailbox policies to allow outdialing to function properly. Table 29 Outdialing Components
Component Description
Access codes, number prefixes, and number formats are used by a UM server to determine the correct number to dial when placing an outgoing call and can be configured to restrict outgoing calls for users that dial into a UM auto attendant that is associated with a UM dial plan or when a user dials into the subscriber access number that is configured on the dial plan. For more information about dial codes, prefixes and number formats, see Understanding Dial Codes, Number Prefixes and Formats.
285
Component
Description
Dialing rule groups are created to modify a phone number before sending it to the PBX for outbound calls. Dialing rule groups remove numbers from or add numbers to telephone numbers that are being placed by a Unified Messaging server. For example, you can have a dialing rule group that automatically adds a 9 as a prefix to a 7-digit telephone number to provide access to an outside line. In this example, users that place outgoing calls will not have to dial the 9 and the telephone number to reach someone external to the organization. Each dialing rule group determines the types of in-country or region and international calls that users within a dialing rule group can make. These dialing rule groups apply to the users that are associated with the UM dial plan or auto attendants and UM mailbox policies that are associated with the UM dial plan. Each dialing group rule must contain at least one dialing rule entry.
A dial rule entry is used to determine the types of calls that users within a dialing rule group can make. When you are creating a dialing rule group, you configure one or more dialing rule entry. When you are configuring each dial rule entry you will need to enter the name, number mask, dialed number and an optional comment. When you are adding a number mask and the dialed number to a dialing rule entry, you can substitute the letter x to replace a digit in a telephone number for example 91425xxxxxxx. You can optionally use an * symbol as a wildcard character for example, 91425*.
286
Component
Description
Dialing restrictions
A dialing restriction uses dialing rule groups used to apply dialing restrictions for users that are associated with a given UM mailbox policy. They can also be used when allowing users to place calls to in-country/region or international telephone numbers. After you create a dialing group rule on a UM dial plan, you will then add the dialing rule group to the UM mailbox policy. After the dialing rule group is added to a UM mailbox policy, all settings or rules that are defined will apply to UM-enabled users that are associated with the UM mailbox policy.
When you are configuring outdialing on your dial plans, auto attendants and UM mailbox policies, it is recommended that you follow the steps outlined in Figure 49 to ensure that outdialing will function properly.
Configuring Outdialing
A dialing rule group is a collection of one or more dialing rule entries that are configured on a UM dial plan. There are two types of dialing rule groups that can be configured on a UM dial plan: in-country or region and international. In-country or region dialing rule groups apply to country or region telephone numbers, where as international dialing rule groups will apply to international telephone numbers that are dialed. Dialing rule groups that are configured and dialing rule groups that are allowed. Each UM dial plan can contain one or more dialing rule groups. If you want to apply the dialing rule group to a set of users, after you create a dialing rule group, you must then add the "configured" dialing rule group to the list of "allowed" dialing rule groups on the UM dial plan. Dialing rule groups allow administrators to specify dialing rule entries that fall into a specific category or that are based on the needs of your organization. You can create a dialing rule group by using the Exchange Management Console or the Set-UMDialPlan cmdlet. When you create a dialing rule group, you will need to define at least one dialing rule entry for the dialing rule group. The dialing rule group takes the telephone number that is dialed by a user and
288
replaces this number with another telephone number that is the actual number that is dialed by the Unified Messaging server. The telephone number that is sent to the Unified Messaging server is compared to the dialing group entries that are defined on the dialing rule group. If a match between the number being dialed and a dialing rule entry is found, the Unified Messaging server will then dial the telephone number or digits that are list in the "DialedNumber" section of the dialing rule entry. Table 30 shows a simple example of dialing group rules and dialing rule entries. In this example, "Local-Calls-Only" and "Low-Rate" are the dialing rule groups that have been created. For each dialing rule group "Local-Calls-Only" and "Low-Rate", there are two dialing rule entries; 91425* and 91206* and 91509* and 91360* respectively. Table 30 Dialing rule groups and dialing rule entries
Name NumberMask DialedNumber Comment
91* 91* 9* 9*
For example, when a user dials 9,1-425-555-1234, the telephone number that the Unified Messaging server will dial will be 4255551234. The Unified Messaging server will remove any non-numeric characters and apply the number mask from the dialing rule entry. In this case, the Unified Messaging server will apply the number mask 91*, which tells the Unified Messaging server to not to dial the 9 or the 1 but to dial all of the other numbers that are included in the telephone number that was sent including the number that is represented by the * symbol. You can use the Exchange Management Console, Exchange Management Shell to create and configure single or multiple in-country or region and international dialing rule groups and dialing rule entries. However, if you are creating numerous or complex dialing rule groups and dialing rule entries, you can optionally use the Exchange Management Shell to use a .CSV (Comma Separated Value) file. You can import or export a list of dialing rule groups and dialing rule entries. Run Set-UMDialPlan cmdlet below to import a list of dialing rule groups and dialing rule entries that you have defined in a .CSV file: Set-UMDialPlan MyUMDialPlan ConfiguredInCountryOrRegionGroups $ (IMPORT-CSV c:\dialrules\InCountryRegion.csv) To retrieve a list of the dialing rule groups that are configured on a UM dial plan run the GetUMDialPlan cmdlet below:
289 (Get-UMDialPlan id MyUMDialPlan).ConfiguredInCountryOrRegionGroups | EXPORT-CSV C:\incountryorregion.csv The CSV file must be created and saved in the proper format for the file to be used. Each line in the CSV file represents one dial rule entry. However, each dialing rule entry, can use the same dialing rule group. Each entry in the file will have four sections that are all separated by comma; These sections are: name, number mask, dialed number and comment. Each of the sections are required and you must input the proper information into each section except for the comment section. There should not be any spaces between the text entry and the comma for next section or do not put any blank lines in between entries or at the end. Following is an example of a CSV file that can be used to create in-country or region dialing rule groups and dialing group entries: Name,NumberMask,DialedNumber,Comment Low-rate,91425xxxxxxx,9xxxxxxx,Local call Low-rate,9425xxxxxxx,9xxxxxxx,Local call Low-rate,9xxxxxxx,9xxxxxxx,Local call Any,91*,91*,Open access to in-country/region numbers Long-distance,91408*,91408*,long distance The following is an example of a CSV file that can be used to create international dialing rule groups and dialing rule entries: Name,NumberMask,DialedNumber,Comment International, 901144*, 901144*, international call International, 901133*, 901133*, international call
290
Exchange Management Shell Set-UMDialPlan cmdlet as follows: Set-UMDialPlan -Identity MyUMDialPlan -AllowedInCountryOrRegionGroups MyAllowedDialRuleGroup A single or multiple UM mailbox policies This will apply to all users that are associated with a given UM mailbox policy. This includes the user that calls into a subscriber access number and logs in to their Exchange 2007 mailbox. To apply in-country or region dialing rule group named "MyAllowedDialRuleGroup" to a single UM mailbox policy, use the Dialing Restrictions tab in the Exchange Management Console or use the Exchange Management Shell Set-UMMailboxPolicy cmdlet as follows: SetUMMailboxPolicy -Identity MyUMMailboxPolicy --AllowedInCountryOrRegionGroups MyAllowedDialRuleGroup Single or multiple auto attendants that are associated with the UM dial plan This will apply to all users the call into a UM auto attendant. To apply the in-country or region dialing rule group named "MyAllowedDialRuleGroup" to a single UM auto attendant, use the Exchange Management Shell Set-UMAutoAttendant cmdlet as follows: SetUMAutoAttendant -Identity MyUMAutoAttendant -AllowedInCountryOrRegionGroups MyAllowedDialRuleGroup Table 31 summarizes how the dialing rule groups are applied in Unified Messaging. Table 31 Applying outdialing rules
Caller Type Scope Outdialing settings applied
Subscriber access or Outlook Voice Access Anonymous caller Anonymous caller Caller from within the organization
User calls a dial plan subscriber access number and logs on to their mailbox. User calls a dial plan subscriber access number. User calls an auto attendant pilot number. User calls the Play on Phone number.
UM mailbox policy
291
Overview
Outdialing is the process that is used by users whey they call into a UM dial plan or UM auto attendant and place a call to an internal or external telephone number. When a user calls into a UM dial plan or UM auto attendant and then places a call, a Unified Messaging server uses the settings that are configured on the dial plan to place the call. The following events cause the outdialing process to happen: A Unified Messaging server places a call to an external telephone number for a caller. A Unified Messaging server transfers a call to an auto attendant.
A Unified Messaging server transfers a call to a UM-enabled or non UM-enabled user within your organization. A UM-enabled user uses the Play on Phone feature in Microsoft Office Outlook 2007 or Microsoft Exchange Server 2007 Outlook Web Access. There are two types of users who will use outdialing: unauthenticated users who call into a subscriber access number that is configured on a UM dial plan and unauthenticated users who call into a number that is configured on a UM auto attendant. When a user calls into a subscriber access number, they are considered unauthenticated because they have not provided their extension number and PIN and logged on to their mailbox. They are authenticated after they provide their extension number and PIN and successfully log on to their Exchange 2007 mailbox. When an unauthenticated user places a call by using outdialing, the outdialing settings that are configured on the UM dial plan are the only settings that will be used. However, when a user has successfully logged on to their Exchange 2007 mailbox, configuration settings from the dial plan and the UM mailbox policy that are associated with the authenticated user are applied to the authenticated user. There are several settings that you must configure to control outdialing for your organization. To control outdialing you must configure the UM dial plans and UM mailbox policies in
292
Exchange 2007 Unified Messaging. The following settings can be configured on UM dial plans and auto attendants to control outdialing: Outside line, country/region, and international access codes National number prefixes In-country/region and international number formats Configured in-country/region and international dialing rule groups Allowed in-country/region and international dialing rule groups Dialing rule entries
Access codes, number prefixes, and number formats are configured on a UM dial plan on the Dial Codes tab in the Exchange Management Console. They can also be configured by using the Set-UMDialPlan cmdlet. You can choose to configure all of the settings, none of the settings, or only some of the settings. However, each setting controls a specific part of the outdialing process. Access codes, number prefixes, and number formats are used by a Unified Messaging server to determine the correct number to dial and can be configured to restrict outgoing calls for users who dial into a UM auto attendant that is associated with a UM dial plan or when a user dials into the subscriber access number that is configured on the dial plan. Figure 50 illustrates the outdialing process and how access codes can be used to control outdialing.
294
295
For more information about outdialing in Unified Messaging, see Understanding Outdialing. For more information on how to configure outdialing, see Managing Outdialing.
296
country/region access code when a call is placed within a specific country or region. The Unified Messaging server will prepend this number to the number string that it sends to the PBX or IP/PBX when it places the outgoing call. For example, the Unified Messaging server will prepend the number 1 for the United States. For the United Kingdom the in-country/region code is 44.
297
For more information about Unified Messaging dial plans, see Understanding Unified Messaging Dial Plans.
There exists a tightly integrated and interconnected relationship between the UM Active Directory objects and the features that are available in Exchange Server 2007 Unified Messaging. In order to successfully plan and deploy Exchange Server 2007 Unified Messaging in your organization you must fully understand this logical relationship between each of the UM objects. For more information about the UM Active Directory objects, see: Understanding Unified Messaging Users Understanding Unified Messaging Mailbox Policies Understanding Unified Messaging Dial Plans Understanding Unified Messaging IP Gateways Understanding Unified Messaging Hunt Groups Understanding Unified Messaging Auto Attendants
299
Creating and defining a hunt group in a PBX or IP-PBX minimizes the chance that a caller who places an incoming call will receive a busy signal when the call is received.
300
Pilot Number
In a telephony network, a PBX or IP-PBX can be configured to have a single hunt group or multiple hunt groups. Each hunt group that is created on a PBX or IP-PBX must have an associated pilot number. The PBX or IP-PBX uses the pilot number to locate the hunt group and in turn to locate the telephone extension number on which the incoming call was received. Without a defined pilot number, the PBX or IP-PBX cannot locate where the incoming call was received. A pilot number is the address or location of the hunt group inside the PBX or IP-PBX. A pilot number is generally defined as a "blank" extension number or one extension number from a hunt group of extension numbers that does not have a person or telephone associated with it. For example, you configure a hunt group on a PBX or IP-PBX to contain extension numbers 4100, 4101, 4102, 4103, 4104, and 4105. The pilot number for the hunt group is configured as extension 4100. When a call is received on the extension number 4100, the PBX or IP-PBX looks for the next available extension number to determine where to deliver the call. In this case, the PBX or IP-PBX looks at the extension numbers 4101, 4102, 4103, 4104, and 4105. Using a pilot number helps eliminate busy signals and helps route incoming calls to the circuits that are available. The PBX or IP-PBX pilot number, when it is used with Exchange Server 2007 Unified Messaging, is used as the target. When an incoming call is unanswered or the line is busy, the call is correctly routed to an Exchange Server 2007 Unified Messaging server. For more information about telephony concepts, see Overview of Telephony Concepts and Components.
UM Hunt Groups
Unified Messaging hunt groups are critical to the operation of the Unified Messaging system. The UM hunt group is a logical representation of an existing PBX or IP-PBX hunt group. UM hunt groups act as a connection or link between the UM IP gateway and the UM dial plan. Therefore, a single UM hunt group must be associated with at least one UM IP gateway and one UM dial plan. Unified Messaging hunt groups are used to locate the PBX or IP-PBX hunt group from which the incoming call was received. A pilot number that is defined for a hunt group in the PBX or IPPBX must also be defined within the UM Hunt group. The pilot number is used to match the information presented for incoming calls through the Session Initiation Protocol (SIP) signaling message information on the message. The pilot number enables the Unified Messaging server to interpret the call together with the correct dial plan so that the call can be routed correctly. The absence of a hunt group prevents the Unified Messaging server from knowing the origin or location of the incoming call. It is very important to configure the Unified Messaging hunt groups correctly, because incoming calls that do not correctly match the pilot number defined on the UM hunt group will not be answered and incoming call routing will fail.
301
When you create a Unified Messaging hunt group, you are enabling all Unified Messaging servers that are specified within the UM dial plan to communicate with an IP/VoIP gateway. If you delete the Unified Messaging hunt group, the associated IP/VoIP gateway will no longer service calls with the specified pilot number. If the IP/VoIP gateway is left without remaining UM hunt groups, the IP/VoIP gateway will be unable to handle incoming calls. For more information about IP/VoIP gateways, see Understanding Unified Messaging IP Gateways.
Auto Attendants
In telephony or Unified Messaging environments, an automated attendant or auto attendant menu system transfers callers to the extension of a user or department without the intervention of a receptionist or an operator. In many auto attendant systems, a receptionist or operator can be reached by pressing or saying zero. The automated attendant is a feature on most modern Private Branch eXchange (PBX) and Unified Messaging solutions. In some auto attendant systems, there are message-only information menus and voice menus that are used so that an organization can provide business hours, directions to their premises, information about job opportunities, and answers to other frequently-asked questions. After the message plays, the caller is forwarded to the receptionist or operator or they can return to the main menu. In more complex auto attendant systems, the menu system can be used to search for other auto attendant menus, locate a user in the system, or transfer to another outside telephone
302
line. They can also be used to let the caller interact with the system in certain situation, such as when a student enrolls for a college class or checks their grades or when you activate a credit card over the telephone. Although auto attendants can be very useful, if they are not designed and configured correctly, they can confuse and frustrate callers. For example, specifically in large organizations, when auto attendants are not designed correctly, callers can be led through an endless series of questions and menu prompts before they are finally transferred to a person to have their question answered.
UM Auto Attendants
Exchange 2007 Unified Messaging enables you to create one or more UM auto attendants depending on the needs of your organization. UM auto attendants can be used to create a voice menu system for an organization that lets external and internal callers move through the UM auto attendant menu system to locate and place or transfer calls to company users or departments in an organization. When anonymous or unauthenticated users call an external business telephone number, or when internal callers call a defined extension number, they are presented with a series of voice prompts that help them place a call to a user or locate a user in the organization and then place a call to that user. The UM auto attendant is a series of voice prompts or .wav files that callers hear instead of a human operator when they call an organization that has Microsoft Exchange Server 2007 Unified Messaging. The UM auto attendant lets callers move through the menu system, place calls, or locate users by using dual tone multi-frequency (DTMF) or voice inputs. However, for automatic speech recognition (ASR) or voice inputs to be used, you must enable ASR on the UM auto attendant. Important: In some companies (especially in East Asia), office telephones may not have letters on the keys of the telephone. This makes the spell-the-name feature that uses the DTMF interface almost impossible without a working knowledge of the key mappings. By default, Exchange 2007 Unified Messaging uses the E.161 key mapping. For example, 2=ABC, 3=DEF, 4=GHI, 5=JKL, 6=MNO, 7=PQRS, 8=TUV, 9=WXYZ. When inputting the combination of letters and numbers, for example "Mike1092", the numeric digits are mapped to themselves. For an e-mail alias of "Mike1092" to be entered correctly, the user will have to press the numbers 64531092. Also for characters other than A-Z and 0-9 there will not be a telephone key equivalent. Therefore, these characters should not be entered. For example, the e-mail alias "mike.wilson" would be entered as 6453945766. Even though there are 11 characters to be input, only 10 digits are entered by the user because the period (.) does not have a digit equivalent. A UM auto attendant has the following features: It provides corporate or informational greetings.
303
It provides custom corporate menus. You can customize these menus to have more than one level. It provides a directory search function that enables a caller to search the organization's directory for a name. It enables a caller to connect to the telephone of, or leave a message for, members of the organization. In the Active Directory directory service, each UM auto attendant that is created is represented as an object. There is no limit to the number of UM auto attendants that you can create in Active Directory. Each Exchange 2007 Unified Messaging auto attendant can support an unlimited number of extensions. A UM auto attendant can reference one, and only one, UM dial plan. However, UM auto attendants can reference or link to other UM auto attendants. An incoming call that is received from an external telephone number or an internal telephone extension is processed by a Unified Messaging server and then sent to a UM auto attendant that has been created. The UM auto attendant is configured by the system administrator to use pre-recorded voice (.wav) files that are then played over the telephone to the caller and that enable the caller to move through the Unified Messaging menu system. You can customize all the .wav files that are used when you configure a UM auto attendant to meet the needs of your organization. For more information about message flow with UM auto attendants, see Unified Messaging Auto Attendant Call Processing.
304
Caution: You cannot install UM language packs by using the .msi file for the language. For example, if you have a business that is based in the United States but requires a menu system that gives callers the options of U.S. English, Spanish, and French, you must first install the UM language packs that you need. In this case, if you have installed the U.S.-English version of Exchange 2007, you would install the UM language packs for Spanish and French. However, because a Unified Messaging auto attendant can have only one language configured at a time, you would create four auto attendants: a main auto attendant that is configured to use U.S. English and then one auto attendant for each language: US English, Spanish, and French. You would then configure the main auto attendant to have the appropriate key mappings to access the other auto attendants that you have created for each language. In this example, the main auto attendant would answer the incoming call and the caller would hear, "Welcome to Contoso, Ltd. For English, press or say 1. For Spanish, press or say 2. For French, press or say 3."
305 Figure 52 How to configure multiple UM auto attendants with multiple outside business telephone lines
Example 2: At a company called Contoso, Ltd., external customers call one main number for the business, 425-555-1000. When an external caller calls the external number, the UM auto attendant answers and prompts the caller by saying, "Welcome to Contoso, Ltd. Please press or say 'One' to be transferred to corporate administration. Please press or say 'Two' to be transferred to product support. Please press or say 'Three' to be transferred to corporate information. Please press or say 'Zero' to be transferred to the operator." To create a UM auto attendant structure that supports this scenario, you create a UM auto attendant that has customized extensions that route the call to the appropriate extension number. Figure 53 is a graphical representation of how Unified Messaging auto attendants can be used in Example 2.
306 Figure 53 How to configure multiple UM auto attendants with a single outside business telephone line
For more information about how to create or modify UM auto attendants, see How to Create a New Unified Messaging Auto Attendant or How to Modify a Unified Messaging Auto Attendant.
307
The following sections discuss Unified Messaging dial plans and how UM dial plans are used when you deploy Exchange 2007 Unified Messaging on your network.
The ability to call or send voice messages to other members in the dial plan by using only the extension number. For more information about how to enable a user for Unified Messaging, see How to Enable a User for Unified Messaging. UM dial plans are implemented in Exchange 2007 Unified Messaging to ensure that user telephone extensions are unique. In some telephony networks, multiple PBXs can exist. In these telephony networks, there could be two different users in Active Directory who have
308
identical telephone extensions. UM dial plans resolve this situation. You can put the two users into two separate UM dial plans. This makes their extensions unique. Note: A user can be a member of only one UM dial plan. You can also use a UM dial plan to establish a common set of policies for a group of users. For example, you can enable different languages for different UM dial plans, or you can enable different features for different UM dial plans. Figure 54 illustrates how Unified Messaging dial plans can be used in an organization that has a single forest and multiple physical sites. Figure 54 UM dial plans in a single forest in an organization that has multiple physical sites
309
310
Voice Access is a series of voice prompts that allow the caller access to e-mail, voice mail, calendar, and other information. Subscriber access lets authenticated callers navigate their personal information in their mailbox, place calls, or locate users by using dual tone multifrequency (DTMF) or voice inputs. Important: In some companies (especially in East Asia), office telephones may not have letters on the keys of the telephone. This makes the spell-the-name feature using the DTMF interface almost impossible without a working knowledge of this mapping. By default, Exchange 2007 Unified Messaging uses the E.161 key mapping. For example, 2=ABC, 3=DEF, 4=GHI, 5=JKL, 6=MNO, 7=PQRS, 8=TUV, 9=WXYZ. When inputting the combination of letters and numbers, for example "Mike1092", the numeric digits are mapped to themselves. For an e-mail alias of "Mike1092" to be entered correctly, the user will have to press the numbers 64531092. Also for characters other than A-Z and 0-9 there will not be a telephone key equivalent and should not be entered. For example, the e-mail alias "mike.wilson" would be entered as 6453945766. Therefore, there are 11 characters to be input, but only 10 digits will be entered by the user because the '.' does not have a digit equivalent.
311
Switched Telephone Network (PSTN)/Time Division Multiplex (TDM) or circuit-switched based telephony network and an Internet Protocol (IP) or packet-switched data network. Note: A packet-switched network is a network in which packets (messages or fragments of messages) are individually routed between nodes that may be shared by many other nodes. This contrasts with a circuit-switched network that sets up a dedicated connection between the two nodes for their exclusive use for the duration of the communication. Exchange 2007 Unified Messaging relies on the ability of the IP/VoIP gateway to translate TDM or telephony circuit-switched based protocols, such as Integrated Services Digital Network (ISDN) or QSIG, from a Private Branch eXchange (PBX) to protocols based on VoIP or IP, such as Session Initiation Protocol (SIP), Realtime Transport Protocol (RTP), or T.38 for real-time facsimile transport.
To support Exchange 2007 Unified Messaging, one or both types of IP/VoIP device configurations are used when connecting a telephony network infrastructure to a data network infrastructure.
IP Gateway Objects
The UM IP gateway is an Active Directory container object that contains one or more Active Directory UM hunt groups and other UM IP gateway configuration settings. UM IP gateways are created within Active Directory to logically represent a physical hardware device called an IP gateway or IP/VoIP gateway. The UM IP gateway can represent either an IP/VoIP gateway or an IP/PBX. The combination of the IP/VoIP gateway object and a UM hunt group object establishes a logical link between an IP/VoIP gateway hardware device and a UM dial plan. After the UM IP gateway is created, the IP gateway can be linked to or associated with a single or multiple UM hunt groups and UM dial plans. The UM hunt group provides a link between the UM IP gateway and a UM dial plan. By creating multiple UM hunt groups, you can associate a single UM IP gateway with multiple UM dial plans.
312
Note: Before an IP/VoIP gateway can be used to process calls, a UM IP gateway must be associated with at least one UM dial plan. Also, at least one UM server must be associated with at least one UM dial plan.
UM Mailbox Policies
Unified Messaging Active Directory mailbox policies are required when you enable users for Exchange 2007 Unified Messaging. They are useful for applying and standardizing Unified Messaging configuration settings for UM-enabled users. You create UM mailbox policies to apply a common set of policies or security settings to a collection of UM-enabled mailboxes. You use Unified Messaging mailbox policies to set Unified Messaging settings for UM-enabled users, such as the following:
313
For example, you can create a UM mailbox policy to increase the level of PIN security by reducing the maximum number of logon failures for a specific group of UM-enabled users, such as executives. Unified Messaging mailbox policies are created in the Configuration container in the Active Directory directory service by using the Exchange Management Shell or the Exchange Management Console. By default, a single UM mailbox policy is created every time that you create a UM dial plan. The new UM mailbox policy is associated with the UM dial plan and part of the dial plan name is included in the display name of the UM mailbox policy. However, you can create additional UM mailbox policies based on the needs of your organization. Although a single UM mailbox policy is required to enable users for Unified Messaging, you can create additional UM mailbox policies and apply a common set of mailbox policy settings for other groups of users. Each UM-enabled user's mailbox must be linked to a single UM mailbox policy. After you create a UM mailbox policy, you link one or more UM-enabled mailboxes to the UM mailbox policy. This lets you control PIN security settings such as the minimum number of digits in a PIN or the maximum number of logon attempts for the UM-enabled users who are associated with the UM mailbox policy. If you prefer, you can also control message text settings or dialing restrictions for the same or a different group of UM-enabled mailboxes. Multiple UM-enabled users can be linked to a single UM mailbox policy. However, a single user can be associated with only one UM mailbox policy. When a user is enabled for Unified Messaging, you must specify an existing UM mailbox policy to be linked to the UM-enabled user's mailbox. After you create a new UM mailbox policy and link it to a UM dial plan, the UM mailbox policy settings that are defined are then applied to the UM-enabled users. The settings that are defined on a UM mailbox policy apply only to UM-enabled users to which the UM dial plan is linked and the UM mailbox policy is associated.
For more information about how to manage Unified Messaging mailbox policies, see Managing Unified Messaging Mailbox Policies.
Computer Objects
Unified Messaging Active Directory directory service computer objects are those objects which are created during the installation of the Unified Messaging server role. The Unified Messaging Active Directory computer objects are the connection between your organization's telephony infrastructure and the Exchange Server 2007 Unified Messaging Active Directory networking environment.
315
The Unified Messaging computer object that is created in Active Directory is an essential part of the Unified Messaging system. During an installation of the Exchange Server 2007 Unified Messaging server role, a Unified Messaging computer object is created in the Computers container in Active Directory . The Unified Messaging computer object created in Active Directory is a logical representation of a physical server on which the Exchange Server 2007 Unified Messaging server role is installed. Important: The Exchange Server 2007 Unified Messaging server must be a member of a domain before the Unified Messaging server role is installed for a new Unified Messaging computer object to be created during the installation. After the computer object has been created, you can then perform the necessary procedures to successfully deploy Unified Messaging on your network. Note: After the computer running Exchange Server 2007 has bee added to the domain you can also apply Group Policy settings to the computer.
Server Operation
A Unified Messaging server will not process incoming calls unless the operational state is set to enabled. However, by default, the operational status of the UM server is set to enabled after installation This allows the UM server to process incoming and outgoing voice calls and incoming fax calls and route the messages to the intended recipients in your Exchange organization. Although the operational status of the UM server is set to enabled after installation, the UM server also maintains a logical status parameter that is used to control the operational status of the Exchange Server 2007 Unified Messaging server. The intention of the logical status variable is to let you stop call processing so that the UM server can be taken offline in a controlled way. The Unified Messaging server's operational status can be controlled by the enable and disable commands in the Exchange Management Console and the Exchange Management Shell. There are three status modes for Unified Messaging servers: Enabled - Process all incoming calls. Disabled - Do not accept any new calls and drop all existing calls. Disabled - Do not accept any new calls but process all existing calls.
For more information about how to enable and disable a Unified Messaging server, see How to Enable Unified Messaging on Exchange 2007 and How to Disable Unified Messaging on Exchange 2007.
316
Even though the UM server operational status is set to enabled after installation of the Unified Messaging server role, the UM server will still not be able to correctly process and route incoming calls to UM-enabled users without being associated with at least one UM dial plan and the UM dial plan associated with at least one UM IP gateway. For more information about how to add a UM server to a UM dial plan, see How to Add a Unified Messaging Server to a Dial Plan. For more information about UM IP Gateways, see Understanding Unified Messaging IP Gateways. When the UM server is started, the UM server will locate all IP/VoIP gateways that are associated with the UM dial plans and are associated with the UM server. To detect and identify any configuration changes on either UM dial plans or UM IP gateways, the UM server will either register a change notification or re-check the configuration every 10 minutes. If the UM IP gateway list changes, the UM server will react accordingly and either start to use or stop using the appropriate IP/VoIP gateways. After a UM server is working as an associated member of a UM dial plan and is communicating with an IP/VoIP gateway or IP-Private Branch eXchange (PBX), you can run a set of diagnostic operations to verify the correct operation and connectivity. For more information about how to test the operation of a Unified Messaging server, see How to Test UM Server Operation and How to Test UM Server Connectivity to IP Gateways and PBXs.
317
User UM Properties
By default, a user who has an Exchange 2007 mailbox is not enabled for UM. You must create a mailbox for the Exchange 2007 user before the user can be enabled for UM. After the user is enabled for UM, you can manage, modify, and configure the UM properties for the user. Note: To enable multiple UM users, use the Enable-UMMailboxExchange Management Shell cmdlet. There are two locations in which UM properties are stored for a user: the Mailbox object and the user's Active Directory object. When you enable a user for Unified Messaging, you set the UM property on the user's Mailbox object. After the Mailbox property is set to "enabled" for Unified Messaging, the user can use the Unified Messaging features found in Exchange 2007. After a user is enabled for UM, the user's Unified Messaging properties are stored in the user properties and the user's mailbox. The user's Unified Messaging properties, such as the user's extension number, spoken name, and other properties for the user, are stored in the user's properties in the Active Directory directory service. You can manage Unified Messaging (UM) properties for an Active Directory user on the mailbox of the Exchange 2007 Unified Messaging user by using the Exchange Management Shell or the Exchange Management Console.
318
Note: Call handling is a term that describes how incoming calls are answered and handled by a computer that is running Exchange 2007 that has the Unified Messaging server role installed. When an incoming call is received by an Exchange 2007 Unified Messaging server, the call is answered and then routed by using a message transport such as Simple Mail Transfer Protocol (SMTP), MAPI, remote procedure call (RPC), or Lightweight Directory Access Protocol (LDAP). The message transport that is used when messages are routed depends on the type of incoming call that the Unified Messaging server answers.
319
Exchange 2007 Unified Messaging depends on the Active Directory directory service to route incoming calls. Each UM-enabled recipient must have a telephone extension number listed in Active Directory for call answering to function correctly. The extension number for the recipient is listed in Active Directory and is mapped to the extension number that is configured on the user's UM-enabled Exchange mailbox. When a Unified Messaging server answers a call, an Active Directory lookup is performed to locate the appropriate UM-enabled recipient and the message is routed to the recipient's mailbox.
Message Flow
Message flow in Unified Messaging is the process by which a message that is received by a Unified Messaging server is routed in an Exchange 2007 organization. Depending on the type of incoming message or call that is answered by a Unified Messaging server, a different transport protocol is used. Note: In earlier versions of Exchange, routing groups were used to route messages between bridgehead serversknown in Exchange 2007 as Hub Transport servers. There are no routing groups in Exchange 2007. For example, in an incoming call scenario that includes incoming voice and fax messages, a Hub Transport server uses the SMTP transport to submit the voice or fax mail message to the Mailbox server. In a routing scenario that includes multiple Hub Transport servers, the incoming voice or fax mail message is first submitted to the closest Hub Transport server and is then routed to the appropriate Mailbox server that contains the UM-enabled mailbox. Note: To make sure that all incoming messages are transmitted and delivered to UM-enabled recipients, the Unified Messaging servers use a spooling or re-try algorithm. The Unified Messaging servers try to connect to a Hub Transport server every 30 seconds to submit all messages that are stored on the Unified Messaging server. For more information about how the Exchange 2007 Unified Messaging server handles incoming calls and how the messages flow in Exchange 2007 Unified Messaging, see the following topics: Unified Messaging Voice and Fax Call Processing Unified Messaging Outlook Voice Access Call Processing Unified Messaging Auto Attendant Call Processing Unified Messaging Play on Phone Call Processing
320
321 Figure 56 The flow of incoming voice and fax messages in an Exchange 2007 organization
322
For more information about auto attendant message flow, see Unified Messaging Auto Attendant Call Processing.
For more information about subscriber access in Exchange 2007 Unified Messaging, see Understanding Unified Messaging Subscriber Access.
323 Figure 57 Outlook Voice Access message flow in an Exchange 2007 organization
324
For more information about Unified Messaging auto attendant message flow, see Unified Messaging Auto Attendant Call Processing.
UM Auto Attendants
When external or anonymous callers place a call by using an external business telephone number, or an internal anonymous caller places a call to an internal extension number, they are presented with voice prompts to help them navigate the Unified Messaging menu system. The UM auto attendant is a set of voice prompts or .wav files that are played to callers in place of a human operator or receptionist when they call into an organization that has Exchange 2007 Unified Messaging. Exchange 2007 Unified Messaging enables you to create one or more auto attendants depending on the needs of your organization. For more information about UM auto attendants, see Understanding Unified Messaging Auto Attendants.
326
For more information about Play on Phone message flow, see Unified Messaging Play on Phone Call Processing.
Play on Phone
The Exchange 2007 Unified Messaging Play on Phone feature enables a UM-enabled user to access a voice mail message. However, instead of playing the media file over their computer speakers, they can listen to the message on a telephone. When users sit in office cubicles, use a public computer, have a computer that is not enabled for multimedia, or have a voice message that is confidential, a UM-enabled user may not want to or may be unable to play a voice message over their computer speakers. The Play on Phone feature lets the UM-enabled user play the voice message over a telephone. The Play on Phone feature is available in Exchange 2007 Outlook Web Access and in Office Outlook 2007. Figure 59 illustrates how Exchange 2007 Unified Messaging routes the incoming calls for UMenabled users who use the Play on Phone feature.
327 Figure 59 Message flow for incoming calls when the Play on Phone feature is used
Note: The Unified Messaging Web services are installed on a computer that has the Client Access server role installed. Unified Messaging Web services enable Session Initiation Protocol (SIP) functionality on a Client Access server. This functionality enables a user to record a voice mail greeting or use the Play on Phone feature. The Unified Messaging server uses only SIP to communicate. Therefore, the UM Web service is installed on a computer running the Client Access server role and is required to enable the Client Access server to communicate with the Unified Messaging server. Important: By default, SIP data, which includes Unified Messaging server settings and other call information that is sent from a Unified Messaging server to a Client Access server, is
328
not encrypted. This could pose a security threat. To help protect all SIP traffic, use Transport Layer Security (TLS) to encrypt the traffic between a Client Access server and a Unified Messaging server by configuring TLS security settings on the UM dial plan. For more information about SIP security and TLS, see Understanding Unified Messaging VoIP Security.
329 Figure 60 Exchange Server 2007 UM topology that has a single PBX
330 Figure 61 Exchange Server 2007 UM topology that has multiple PBXs
331
MSExchange ADTopology
Local System
Provides Active Directo ry topology information to several Exchange Ser ver components. This service does not have any dependencies .
332
ADAM_MSEx change
Network Service
Active Directo Edge ry Application Transport Mode (ADAM) is used to store configuration data and recipient data on the Edge Transport server. This service represents the named instance of ADAM that is automatically created by Setup during Edge Transport server installation. Monitors credential changes in ADAM and installs the changes on the Edge Transport server. Edge Transport
EdgeCredenti alSvc
Local System
333
MSExchange EdgeSync
Local System
Connects to ADAM instance on subscribed Edge Transport servers over secure Lightweight Directory Access Protocol (LDAP) channel to synchronize data between a Hub Transport server and an Edge Transport server. This service is dependent upon the Microsoft Exc hange Active Directory Topology service.
Hub Transport
334
MSExchange FDS
Local System
Used to distribute offline address book and custom Unified Messaging prompts. This service is dependent upon the Microsoft Exc hange Active Directory Topology and Workstation services. Used to automatically download anti-spam filter updates from Microsoft Update. This service does not have any dependencies . Provides IMAP4 services to IMAP clients. This service is dependent upon the Microsoft Exc hange Active Directory Topology service.
Local System
Client Access
335
Manages Mailbox Exchange Ser ver databases. Provides data storage for messaging clients. This service is dependent upon the following services: Event Log, NT LM Security Support Provider, Remote Procedure Call (RPC), Server, and Workstation. Submits messages from a Mailbox server to a Hub Transport server. This service is dependent upon the Microsoft Exc hange Active Directory Topology service. Mailbox
MSExchange MailSubmissi on
Local System
336
Local System
Provides Mailbox functionality for Calendar Attendant, Resource Booking Attendant, Out of Office Assistant, and Managed Folder Mailbox Assistant. This service is dependent upon the Microsoft Exc hange Active Directory Topology service. Provides a All remote procedure call (RPC) server that can be used to invoke diagnostic cmdlets. This service does not have any dependencies .
MSExchange Monitoring
Local System
337
MSExchange POP3
Local System
Provides POP3 services to POP3 clients. This service is dependent upon the Microsoft Exc hange Active Directory Topology service. Provides log shipping functionality for local continuous replication (LCR) and cluster continuous replication (CCR). This service is dependent upon the Microsoft Exc hange Active Directory Topology service.
Client Access
MSExchange Repl
Local System
Mailbox
338
Local System
Provides Mailbox content to the Microsoft Search (Exchange Se rver) service for indexing. This service is dependent upon the Microsoft Exc hange Active Directory Topology service and the Microsoft Search (Exchange Se rver) service.
339
MSExchange ServiceHost
Local System
Configures Mailbox, the RPC Client Access virtual directory in Internet Information Services (IIS), and registry data for ValidPorts, NSPI Interface Protocol Sequences, and AllowAnony mous for Outlook Anywhere. This service is dependent upon the Microsoft Exc hange Active Directory Topology service. Provides speech processing services for Unified Messaging. This service is dependent upon the Windows Management Instrumentati on service. Unified Messaging
MSS
Network Service
340
MSExchange SA
Local System
Provides Mailbox monitoring, maintenance, and directory lookup services for Exchange Ser ver. This service is dependent upon the following services: Event Log, NT LM Security Support Provider, Remote Procedure Call (RPC), Server, and Workstation. Provides Simple Message Transfer Protocol (SMTP) server and transport stack. This service is dependent upon the Microsoft Exc hange Active Directory Topology service. Hub Transport, Edge Transport
MSExchange Transport
Network Service
341
Local System
Provides message tracking and transport log searching. This service has no dependencies .
Local System
Provides Unified Unified Messaging Messaging features, such as the storing of inbound faxes and voice mail messages in a user's mailbox, and access to that mailbox via Outlook Voice Access. This service is dependent upon the Microsoft Exc hange Active Directory Topology service and the Microsoft Exc hange Speech Engine service.
342
Local System
Provides fulltext indexing of mailbox data content. This is a Microsoft Exc hangecustomized version of Microsoft Search. This service is dependent upon the Remote Procedure Call (RPC) service.
Mailbox
Topologies
Microsoft Exchange server topologies vary from customer to customer. The choice of topologies can range from small business customers who typically run a single all-in-one server to large enterprise customers who typically separate servers based on functionality or location. Active Directory directory service deployments also vary from customer to customer. Microsoft Exchange Server 2007 depends upon Active Directory to a greater extent than previous versions of Exchange due to its use of the Active Directory site topology for routing and service discovery.
343
Other services that an SDL may provide include public external network connectivity (Internet) and perimeter network isolation, although these services are implementation specific and not a requirement of every SDL. An SDL may be comprised of one or more subnets and may contain one or more Active Directory sites. SDLs correspond to a single physical building or campus environment with a common backbone network with LAN or greater speed and the appropriate level of redundancy. SDLs are always separated from one another by a wide area network (WAN) link.
Logical Topology
A logical topology for Exchange 2007 maps groupings of resources together to provide scoping for either features or security. Logical topologies help map resources closer to your business model.
344
With Exchange 2007, the logical topology refers to Active Directory forest design. Possible logical topologies for Exchange 2007 include single forest, multiple forest, and dedicated Exchange resource forest deployments. For more information about Exchange 2007 logical topologies, see Logical Topologies.
Physical Topology
A physical topology for Exchange 2007 maps physical elements to geographical locations. A physical topology is typically used to describe a network or the location of servers. Possible physical topologies for Exchange 2007 include single server, multiple server, and multiple site deployments. Physical topologies also frequently classify the distribution of servers and management roles into two primary categories: centralized servers and administration, and distributed servers and administration. For more information about Exchange 2007 physical topologies, see Physical Topologies.
From the perspective of an Exchange topology, each of these layers can be described in terms of both a logical topology and a physical topology. For more information about Exchange topologies, see Organization Topologies.
Logical Topologies
With Microsoft Exchange Server 2007, the logical topology refers to the Active Directory directory service forest design and implementation. A logical topology for Exchange 2007 maps groupings of resources together to provide scoping for either features or security. Logical topologies help map resources closer to your business model. Generally, all logical topologies
345
are based on specific and unique organizational requirements to scope resources based on security and business requirements.
346
Physical Topologies
A physical topology for Microsoft Exchange Server 2007 maps physical elements to geographical locations. A physical topology is typically used to describe a network or the location of servers. Generally, all physical topologies are based on specific and unique organizational requirements to scope resources based on security and business requirements. Physical topologies also frequently classify the distribution of servers and management roles into two primary categories: centralized servers and administration, and distributed servers and administration.
347
external delivery of the services. SLM also includes continual measurement of mutually agreedon service-level thresholds and the initiation of corrective actions if the thresholds are breached. Services are monitored and measured according to the agreed-on SLA criteria to ensure compliance with the SLAs.
The data center incorporates power-insulating devices such as an uninterruptible power supply (UPS) and hot site, warm site, or cold site contingencies. A hot site is a fullservice commercial site that is up and running continuously with data replicated to it, so that it can be used immediately. A warm site is a full-service site that provides all the equipment needed for a company to continue operations if a disaster were to occur. However, the equipment is not ready for immediate use, and some administrative tasks are required to make the site user-ready. A cold site is a service that provides space, but it is a site that the company must furnish and set up. A hot site gets the company operational faster, but a cold site is a less expensive option. Business requirements associated with reducing cost and security requirements are usually the driving forces behind centralizing systems. The requirements revolve around location centralization (reducing the number of sites that provide server resources), physical consolidation (replacing smaller servers with high-end servers), administrative consolidation, and data consolidation (centralizing storage solutions that provide backup and disaster recovery capabilities).
Important Considerations
Consider a centralized design only if prerequisites in the following areas are already met or are included in the project plan: Data center hardware costs Compare the cost of installing high-end servers and clusters in the data center to the administrative cost savings of centralizing the servers. We recommend that you cluster the back-end servers to build high availability and redundancy
348
into the system, but this choice does involve greater initial costs. However, these costs may be more than offset by reductions in operational costs, infrastructure costs, reduced downtime, and greater scalability. Contingency planning When you centralize server and data resources across the organization, you increase the number of possible single points of failure. You must make contingency plans in the event a catastrophic event affects your data center. Network outages Consider the impact that a network outage will have on users in remote locations. If the users have Cached Exchange Mode enabled in Outlook, this consideration is less of an issue. Operational and administrative cost reductions Centralizing server resources can reduce operational costs because service capacity and growth are achieved by having better use of resources. It also reduces infrastructure costs associated with storage and backup requirements. Data storage With larger centralized data volumes, you must use more reliable storage systems to improve the integrity of your data. Additionally, by reducing the complexity of the server infrastructure, you can more easily restore services and data when a failure occurs. LAN and WAN connectivity If your current network does not provide the type of bandwidth and speed required for centralizing servers, you have to build a network upgrade into the project plan. Security A centralized model gives you easier security management, and therefore, more control. This control makes it easier for security staff to maintain up-to-date virus signatures and take timely action in response to security incidents. Another advantage of a centralized design is that it locates your servers in a data center that you can physically secure.
349
The messaging system consists of many locations (branches), and each contains a server that is running Exchange, domain controllers, and at least one global catalog server. The branch office locations usually contain a small or varying number of users. The network is usually structured as a hub-and-spoke topology.
The network connections between the branch office locations and the central hub or data center are typically low-bandwidth, high-latency, or unreliable. The main reasons for deploying a distributed messaging system include the following: The company's users are dispersed across sites.
The company's network infrastructure cannot handle traffic to a central hub for services. The user requirements dictate that a server be placed locally to provide optimal user experience and availability.
Important Considerations
Consider the following issues when you think about a distributed design: Software upgrades Rolling out important updates can be much more challenging in a distributed messaging system. Using Outlook Anywhere If you want to use Outlook Anywhere (formerly RPC over HTTP), all computers in your messaging environment that users will have to use with Outlook Anywhere communication must be running Windows Server 2003. This requirement extends to all global catalog servers and all servers that are running Exchange that your Outlook users will access. Operational and administrative costs Distributed messaging systems require more servers and cause higher operational and administrative costs. Data storage With distributed servers, the service infrastructure is more complex, which makes it more difficult to restore services and data when a failure occurs. Features such as local continuous replication (LCR) and cluster continuous replication (CCR) are especially useful in a distributed messaging environment. For more information about LCR, see Local Continuous Replication. For more information about CCR, see Cluster Continuous Replication. Network connections For remote offices, we recommend that the network connection to the hub site or data center be no less than 64 kilobits per second (Kbps) between servers. However, we recommend a higher connection speed between a hub and an office.
350
Security The physical security of servers in branch offices is a major consideration. In a branch office design, you must take precautions to make sure that servers are not located in open areas and that the servers are physically secured.
351 Figure 62 Two examples of implementing Exchange in a single Active Directory forest
The single forest option offers the following advantages: Provides the richest set of e-mail system features. Provides a streamlined administrative model. Takes advantage of an existing Active Directory structure. Uses existing domain controllers and global catalog servers. Does not require GAL synchronization.
The main disadvantage associated with a single forest is that administrators must determine how to share or divide responsibilities for managing Active Directory and Exchange objects.
Whatever the reason, the only way to establish strict boundaries between business units is to create a separate Active Directory forest for each business unit. If this is your Active Directory configuration, the preferred way to implement Exchange is to create an Exchange resource forest. For more information about Exchange resource forests, see "Resource Forest Topology" later in this document.
352
However, there are scenarios in which a resource forest may not be feasible (for example, with mergers or acquisitions or when multiple forests are already running their own instances of Exchange). In these cases, you can implement a cross-forest topology.
Cross-Forest Topology
In a cross-forest topology, a company has multiple Active Directory forests, each containing an Exchange organization. Unlike a resource forest topology, user accounts are not separated from their mailboxes. Instead, a user account and its associated mailbox are in the same forest. The main advantage to implementing a cross-forest topology is that you can maintain data isolation and security boundaries between the Exchange organizations. The disadvantages associated with this topology include: The richest set of messaging features is not provided. Rules are not preserved during a cross-forest move.
Mailbox delegate permissions are not preserved when you move mailboxes from one forest to another. Although you can synchronize free/busy information across forests and use it to schedule meetings, you cannot use the Open Other User's Folder feature in Microsoft Office Outlook to view the calendar details for a user in another forest. Because a group from another forest is represented as a contact, you cannot view the group's members. Group membership is not expanded until mail is sent to the forest containing the group that is represented as the contact. Synchronization of directory objects across forests, as well as replication of free/busy data information is required. Historically, the most commonly used solutions for directory synchronization were Microsoft Identity Integration Server (MIIS) or Identity Integration Feature Pack 1a for Microsoft Windows Server Active Directory. These solutions have not been tested with Exchange 2007, and are therefore not supported. The Availability service in Exchange 2007 can be used to share free/busy and calendaring information between Exchange organizations in different forests.
354
object in the msExchMasterAccountSID attribute on the disabled user object in the Exchange resource forest. When an Exchange resource forest is used, it is possible that directory synchronization will not be required. From the perspective of Exchange and Outlook, all the objects that are listed in the directory service are sourced from a single location, in this case, the directory service that hosts the Exchange resource forest. However, if GAL-related data is present in the account forests, synchronization must occur to get the data into the Exchange resource forest for GAL usage. In addition, you may need to set up a process so that when accounts are created in the accounts forest, a disabled account with a mailbox is created in the Exchange resource forest. The enabled user from the accounts forest is associated with a mailbox attached to a disabled user in the resource forest. This configuration allows users to access mailboxes that reside in different forests. In this scenario, you configure a trust relationship between the resource forest and the accounts forest. You may also have to set up a provisioning process so that every time an administrator creates a user in the accounts forest, a disabled user with a mailbox is created in the Exchange resource forest. Because all Exchange resources are contained in a single forest, a single GAL contains all users across the forest. The main advantage of the dedicated Exchange forest scenario is a security boundary between Active Directory and Exchange administration. The disadvantages associated with this topology include: Implementing a resource forest allows for segregation of Exchange and Active Directory administration, however, the cost associated with deploying a resource forest may outweigh the need for this segregation. Installing additional domain controllers and global catalog servers in Microsoft Windows sites where Exchange will run is required, thereby increasing cost. Provisioning process is required so that Active Directory updates are reflected in Exchange. When you create an object in one forest, you must make sure that corresponding objects are created in the other forest. For example, if you create a user in one forest, make sure that a placeholder is created for that user in the other forest. You can create the corresponding objects manually, or you can automate the process. A variation of the resource forest scenario is a multiple forest where one forest hosts Exchange. If you have multiple Active Directory forests, how you deploy Exchange depends on the degree of autonomy that you want to maintain between the forests. Companies with business units that require security (forest) boundaries for directory objects, but can share Exchange objects, may choose to deploy Exchange in one of the forests and use it to host mailboxes for the other forests in the company. Because all Exchange resources are contained in a single forest, a single GAL contains all users across all forests. The main advantages associated with this scenario include: Uses an existing Active Directory structure. Uses existing domain controllers and global catalog servers.
355
The disadvantages associated with this scenario include: Requires a provisioning process so that Active Directory updates are reflected in Exchange. For example, you can create a script so that creating a new Active Directory user in Forest A generates a mailbox-enabled object with permissions that is disabled in Forest B. Requires that forest administrators determine how to share or divide responsibilities for managing Active Directory and Exchange objects. Figure 64 Exchange in a resource forest topology
356
computers to use a particular set or group of directory resources. An Active Directory site is one or more well-connected TCP/IP subnets that allow administrators to configure Active Directory access and replication. These subnets may or may not correspond to the physical topology. The following figure illustrates some of the more commonly deployed relationships between Active Directory logical definitions and physical locations. Figure 65 Forests, domains, locations, and sites
357
The following table summarizes the benefits of each scenario. Table 33 Benefits of Active Directory scenarios
Active Directory scenario Description Why you use this scenario
Single forest
Richest set of mail system features Streamlined administration Uses existing Active Directory structure Does not require synchronization with other forests
Resource forest
One forest is dedicated to running Exchange and hosting Exchange mailboxes. The user accounts associated with the mailboxes are contained in one or more separate forests.
Security boundary between Active Directory and Exchange administration Easier deployment of Exchange in a multiple forest environment Limited control of network and user account infrastructure
Cross-forest
Exchange runs in separate forests, but e-mail functionality is available across forests.
Multiple business units require data and service isolation Multiple business units have separate schema requirements Merger, acquisition, or divestiture
358
Mergers and acquisitions frequently involve coexistence between Exchange organizations until they are merged. The planning considerations are similar to those of the multiple forest scenario, with additional migration concerns.
Mergers and acquisitions are a special case for a multiple forest deployment that requires extra attention to migration issues
Organization Topologies
Although Microsoft Exchange Server 2007 includes several components that make up an Exchange topology, all of the components needed by Exchange 2007 can be categorized into three layers that combine to form an Exchange topology: The network layer The Active Directory directory service layer The Exchange layer
From the perspective of an Exchange topology, each of these layers can be described in terms of both logical and physical layers.
359
Elements
Definition
IP address
A base element of the network layer that is used to uniquely identify a computer on the network. Exchange 2007 supports IPv4 addresses only. IPv6 addresses are not supported.
Boundaries
Definition
IP subnet
A non-overlapping grouping of IP addresses that is used to control how data packets are routed. Typically, IP subnets map to an organization's geographic locations. However, it is also common for a single location to have multiple IP subnets.
Boundary property
Definition
IP subnets that are highly connected, meaning that they have a large amount of bandwidth between them and are connected by a LAN link. Geographic locations are typically linked by a slower WAN link, which makes consideration of the amount of traffic that travels over these links important during the planning process. A LAN or WAN link uses a router and firewall as an interface between IP subnets, which can define the network ports and protocols that can be passed between IP subnets.
360
Elements
Definition
DNS zones
A contiguous portion of the DNS tree that is administered as a single separate entity by a DNS server. The zone contains resource records for all names within the zone.
Boundaries
Definition
This zone is used to resolve any domain that is registered to be available from the Internet. DNS needs to be configured to resolve to an authoritative root domain server to successfully resolve Internet DNS URLs. Each company is responsible for its own domain and domain name. A zone name begins at a specified name and ends at a delegation point. A delegation point indicates where one zone ends and another begins. To successfully deploy Exchange, and to allow for messages from the Internet, an appropriate MX resource record needs to be created and published in the company's DNS zone. Active Directory uses service (SRV) resource records in DNS to register a list of domain controllers for client use.
Company zone
Domain zone
361
Elements
Definition
Domain controller
A server that authenticates domain logons and maintains the security policy and master accounts database for a domain. A directory server that contains a partial replica of Active Directory for every domain in an enterprise forest.
Boundary property
Definition
The defined connection that controls replication traffic between Active Directory sites. There are two attributes of an IP site link that are used to control the replication behavior between Active Directory sites: Schedule and Site Link Cost. In many environments, Schedule and Site Link Cost are used interchangeably (for example, Site Link Cost increases as Schedule interval increases). For Exchange 2007 to make intelligent routing decisions, it must have an understanding of the physical relationships that exist between Active Directory sites. We recommend that you define Site Link Cost in terms of the available network resources, where lower costs indicate a higher-bandwidth and more reliable link. Doing this will allow Exchange 2007 to make routing decisions that use network resources more efficiently.
362
Boundary connections
Definition
Active Directory defines two types of site link connectors: IP and Simple Mail Transfer Protocol (SMTP). Exchange 2007 only supports IP-based site link connectors. Any Active Directory site used to host computers running Exchange 2007 must make use of IPbased Active Directory site links to other Active Directory sites. All intermediate Active Directory site link connections between Active Directory sites hosting computers running Exchange 2007 must also use IPbased Active Directory site links.
User Group
A directory object used to identify a specific and unique account in Active Directory. A collection of users, computers, contacts, and other groups. Groups can be used as security or as e-mail distribution collections. In Exchange topologies, groups are often referred to as distribution lists.
Boundaries
Definition
Forest
A collection of one or more Active Directory domains that are organized as peers and connected by two-way transitive trust relationships. All domains in a forest share a common schema, configuration, and global catalog.
363
A location on the network that contains Active Directory servers that communicate directly with each other. A site is defined as one or more well-connected IP subnets. A networked set of computers that share a Security Accounts Manager (SAM) database and that can be administered as a group. An Active Directory container used within domains. OUs are logical containers into which users, groups, computers, and other OUs are placed. It can only contain objects from its parent domain. An OU is the smallest unit of scope to which a group policy or delegate authority can be applied.
Domain
Exchange server
Boundary property
Definition
Mail connector
A mail connector is used to define how mail should be routed outside the server's routing boundaries.
364
Mailbox
A repository of private folders that is associated with a user account and maintained in a mailbox database on an Exchange server. A repository of public folders that is organized into a logical tree called the public folder hierarchy. An Extensible Storage Engine (ESE) database file that contains mailboxes or public folders. Any server that has any Exchange services installed on it. A collection of users, computers, contacts, and other groups. Groups can be used as security or as e-mail distribution collections.
Public folder
Boundaries
Definition
Organization
A logical container that groups Exchange resources together. Exchange resources within an organization are tightly integrated and share a common security context. There can be only one Exchange organization per forest.
365
Simple Exchange organization The simple Exchange organization represents the most basic topology into which Exchange 2007 can be deployed. For more information about simple Exchange organizations, see Simple Exchange Organization. Standard Exchange organization The standard Exchange organization is the classification for topologies that are not simple, large, or complex. For more information about standard Exchange organizations, see Standard Exchange Organization. Large Exchange organization The large Exchange organization is an Exchange organization that contains more than five Active Directory sites. In an Exchange organization that includes Exchange Server 2003 or Exchange 2000 Server, the definition of the large Exchange organization also includes any Exchange organization that has more than five routing groups. For more information about large Exchange organizations, see Large Exchange Organization. Complex Exchange organization The complex Exchange organization is any Exchange organization that contains multiple Active Directory forests. A complex Exchange organization typically also includes Microsoft Identity Integration Server. For more information about complex Exchange organizations, see Complex Exchange Organization. Deploying Exchange 2007 outside of one of these defined topologies is not supported. You can run the Microsoft Exchange Server Best Practices Analyzer Tool (ExBPA) to determine your current organization model. You can do this by launching ExBPA from the Toolbox Work Center in the Exchange Management Console.
Transport Architecture
In Microsoft Exchange Server 2007, the transport pipeline is a collection of Exchange 2007 server roles, connections, components, and queues that work together to route all messages to the categorizer on a Hub Transport server inside the organization. Messages from outside the organization enter the transport pipeline through a Receive connector on an Edge Transport server and are then routed to a Hub Transport server inside the organization. Messages inside the organization enter the transport pipeline on a Hub Transport server in one of the following ways: Through a Receive connector From the Pickup directory or the Replay directory By direct placement in the Submission queue by the Store driver Through agent submission
Every message that is sent or received by an Exchange 2007 client must be categorized on a Hub Transport server before it can be routed and delivered. After a message has been categorized, it is put in a delivery queue for delivery to a mailbox in the same Active Directory
366
directory service site as the Hub Transport server on which the message was categorized or for routing to a recipient in a different Active Directory site or forest, or to a recipient outside the organization. The Exchange 2007 transport pipeline consists of the following components and processes: SMTP Receive When messages are received at the Edge Transport server, antispam and antivirus agents filter connections and message contents, and help identify the sender and the recipient of a message while the message is being accepted into the organization. When messages are received at a Hub Transport server, transport rules are applied and, if anti-spam and antivirus agents are configured, these agents provide an additional layer of anti-spam and antivirus protection. The SMTP session has a series of events that work together in a specific order to validate the contents of a message before it is accepted into the organization. After a message has passed completely through SMTP Receive and is not rejected by receive events or by an anti-spam and antivirus agent, it is put in the Submission queue. Submission Submission is the process of putting messages into the Submission queue. The categorizer then picks up one message at a time for categorization. There are four types of submission: SMTP submission through a Receive connector
Submission through the Pickup directory or the Replay directory. These directories exist on the Hub Transport server or Edge Transport server. Correctly formatted message files that are copied into the Pickup directory or the Replay directory are put directly into the Submission queue. Submission by the Store driver, which picks up messages from a senders Outbox as they are sent Submission by an agent
On the Edge Transport server, submission is generally only through the Receive connector. On the Hub Transport server, submission can occur through a Receive connector, through the Pickup directory, through the Replay directory or by the Store driver. Categorizer The categorizer picks up one message at a time from the Submission queue. On the Edge Transport server, categorization is a short process in which the message is put directly in the delivery queue. From the delivery queue, the message is routed to a computer that is running a Hub Transport server role in the organization. On the Hub Transport server, the categorizer completes the following steps: Recipient resolution, which includes top-level addressing, expansion, and bifurcation Routing resolution Content conversion
367
Additionally, mail flow rules that are defined by the organization are applied. After messages have been categorized, they are put into a delivery queue. A mailbox delivery queue delivers the message to a local mailbox by using the Store driver. A remote delivery queue delivers the message to a remote recipient through a Send connector. Local Delivery Only messages that are sent to a recipient with a mailbox in the same Active Directory site as the Hub Transport server on which categorization occurred are delivered locally. In this case, local delivery means delivery in the same Active Directory site. All messages delivered locally are picked up from a delivery queue by the Store driver and put in the recipients inbox on a Mailbox server. SMTP Send Messages that are sent to recipients in Active Directory sites that differ from the computer that is running a Hub Transport server role on which categorization occurred are delivered remotely or outside the organization. All messages that are sent to a different Active Directory site, to a mailbox that resides on a computer that is running an earlier version of Exchange, or to a mailbox that resides in a different Active Directory forest must be routed through a Send connector to a Hub Transport server that can deliver the message to the intended recipient. All messages that require delivery through the Internet must be routed through a Send connector to an Edge Transport server that can send messages to the Internet for delivery outside the organization. Client Access and Unified Messaging Scenarios Several client access scenarios and Unified Message scenarios do not interact directly with the transport pipeline. Users of Microsoft Office Outlook 2003, Office Outlook Web Access, Outlook by Phone, and Exchange ActiveSync interact directly with the Client Access server role, Unified Messaging server role, and Mailbox server role to access their mailbox. In each case, when mail is sent, the message is put in the senders outbox directly on the Mailbox server by Outlook or the Client Access server on behalf of the sender. Note: Outlook by Phone requires interaction with the Client Access server and with the Mailbox server through the Unified Messaging server. After the message is put in the senders outbox, the Store driver is alerted by the Microsoft Exchange Mail Submission service, retrieves the message from the senders Outbox, and then puts it into the Submission queue on a Hub Transport server in the same Active Directory site as the mailbox from which the message was retrieved. Figure 66 shows the relationships between the components in the Exchange 2007 transport pipeline.
369
370
Agent processing of routed messages After the routing decisions for a particular message are made, the Transport Rules agent and the Journaling agent are applied on the Hub Transport server. The Journaling agent is applied both when the message is submitted and when it is routed so that any changes that are made to the message by the Transport Rules agent, for example, when it modifies a delivery address or applies a messagespecific journaling requirement, do not bypass the Journaling agent. Message packaging and DSN generation The final categorized message is assembled and is moved to a delivery queue. A delivery status notification (DSN) may also be generated during this phase. Messages are next processed by SMTP Send, the store driver, or the foreign gateway connection handler. This depends on the ultimate destination. The foreign gateway connection handler is a component of the Microsoft Exchange Transport service that manages delivery of messages to drop directories that are configured for use by foreign connectors. If a route cannot be found for a recipient, the messages are queued to the Unreachable queue. Each delivery queue represents the next hop destination. Figure 67 shows how message processing occurs in the different routing phases and how messages are queued for delivery to the next hop destination.
The routing topology and components of Exchange 2007 differ significantly from those of Exchange Server 2003 and Exchange 2000 Server but generally correlate in the following ways: The Active Directory site correlates to routing groups in Exchange 2003 and Exchange 2000. IP site links correlate to the concept of routing group connectors.
The functionality of the Hub Transport server role in Exchange 2007 correlates to the functionality of a dedicated bridgehead server in Exchange 2003 and Exchange 2000.
372
However, each Exchange server version differs in the method that is used to determine routing paths. For more information about how these differences affect routing when more than one version of Exchange Server is deployed in the same organization, see Message Routing in a Coexistence Environment.
373
Routing group connectors Routing group connectors define logical paths between Exchange routing groups. If Exchange 2007 is deployed in an existing Exchange 2003 or Exchange 2000 organization, messages are routed between server versions through routing group connectors. When the first Hub Transport server is deployed, the setup process prompts you to create a routing group connector from the global Exchange 2007 routing group to a legacy routing group. For more information about message routing in an environment where more than one version of Exchange Server version is deployed, see Message Routing in a Coexistence Environment. Microsoft Exchange Transport service The Microsoft Exchange Transport service is the Simple Mail Transfer Protocol (SMTP) provider for Exchange 2007 and controls every component of message processing, from SMTP IN to SMTP OUT. A series of configurable SMTP Receive agents are triggered at various SMTP events. The Microsoft Exchange Transport service enables these agents to process messages as they pass through SMTP transport and perform anti-spam, antivirus, and other tasks before messages are submitted to the categorizer. Recipient resolution, routing, and content conversion occur during categorization. Additional agents are also triggered at this point of the transport pipeline. The Microsoft Exchange Transport service also uses the topology discovery module for Exchange topology discovery. For more information about the components and processing provided by the Microsoft Exchange Transport service, see Microsoft Exchange Server 2007 Transport Architecture Diagrams. Microsoft Exchange Active Directory Topology service The Microsoft Exchange Active Directory Topology service is responsible for locating the domain controllers and global catalog servers that Exchange 2007 can use to retrieve configuration and recipient data from Active Directory. The Microsoft Exchange Active Directory Topology service is also responsible for keeping Active Directory site affinity for an Exchange 2007 server up to date. Routing tables The routing tables hold the information that the routing component uses to make routing decisions. The routing table is composed of a map of topology components and their relationship to one another. DNS Exchange 2007 uses an enhanced Domain Name System (DNS) client, a component of the Microsoft Exchange Transport service, to resolve the next hop selection to a list of target server names. The standard DNS client is used to resolve that list of server names to IP addresses. Enhanced DNS also provides load-balancing functionality for Exchange 2007 transport servers by using round robin. SMTP SMTP is used for communication when messages are relayed between SMTP servers. An SMTP server can be a Hub Transport server, Edge Transport server, Exchange 2000 server, Exchange 2003 server, or even a smart host. A Hub Transport server uses remote procedure call (RPC) to deliver messages directly to Mailbox servers that have the same Active Directory site membership as the Hub Transport server.
374
375
Exchange 2007 Active Directory schema additions include the msExchServerSite attribute for the Exchange server object. The value of this attribute is the distinguished name of the Active Directory site of an Exchange server. This attribute is a property of each Exchange server object. When site membership affinity is stored as an attribute of the server object, the current topology can be read directly from Active Directory instead of relying on DNS queries and a site membership association is enabled for a non-domain computer, such as a subscribed Edge Transport server. The value for the msExchServerSite attribute is populated and kept up to date by the Microsoft Exchange Active Directory Topology service. When a Windows-based computer starts, the Net Logon service determines site membership for the computer. The Net Logon service uses that information to locate domain controllers that are located in the same Active Directory site as the local computer and then directs authorization and authentication requests to those servers. The Microsoft Exchange Active Directory Topology service uses the DsGetSiteName API call to retrieve the site membership value from the Net Logon service and writes the Active Directory site's distinguished name to the msExchangeServerSite attribute for the Exchange server object in Active Directory. Table 34 shows how an organization might define Active Directory sites. In this example, three Active Directory sites are defined, and each Active Directory site is associated with more than one IP subnet. Table 34 Example of an Active Directory site-to-subnet association
Active Directory site name Associated IP subnets
Site A
192.168.1.0/24 192.168.2.0/24
Site B
192.168.3.0/24 192.168.4.0/24
Site C
192.168.5.0/24 192.168.6.0/24
If a server named HubTransportA has the IP address of 192.168.1.1, it is a member of Site A. By changing the IP address of a server, you may change its site membership. If you change the IP address of HubTransportA to 192.168.2.1, it won't change the server's Active Directory site membership because that subnet is also associated with Site A. However, if you move the server and the IP address changes to 192.168.3.1, the server would be considered a member of Site B. A change in site membership can also occur if you change the association of subnets to Active Directory sites. For example, if you remove the subnet 192.168.3.0 from association with Site B and associate it with Site A, the site membership of a server that has the IP address of
376
192.168.3.1 also changes to Site A. Whenever a change in site membership occurs, Exchange 2007 must update its configuration data so that the change is considered when Exchange 2007 makes routing decisions. Some latency occurs between the time that a change in an Active Directory site membership occurs and the topology change is fully propagated. The following communication must occur in the following order to propagate topology changes: 1. The change in site membership is written to a domain controller. The updated information replicates between the domain controllers in each Active Directory site in the forest. The time that is required for the change to propagate fully throughout the forest depends on the Active Directory replication topology and schedule as defined by site links. 2. The Net Logon service runs on all Windows-based computers and polls frequently for changes in Active Directory site membership. The Net Logon service polls at five-minute intervals. Therefore, the change is detected by the Net Logon service within five minutes of the local domain controller receiving the update. 3. The Microsoft Exchange Active Directory Topology service queries the Net Logon service at 15-minute intervals to determine the Active Directory site membership of the local Exchange server. If a change is detected, the Microsoft Exchange Active Directory Topology service updates the MsExchServerSite attribute. 4. The changed site attribute value of the Exchange server configuration object is then replicated throughout the organization. The Exchange servers in the organization detect this change. Then the routing tables are updated with the new Active Directory site membership attribute value. Some latency occurs between the time that an Active Directory site membership change takes effect and the time that the updated information is available to another Exchange 2007 server. For more information about how Exchange 2007 handles these types of configuration changes, see "Rerouting and the Unreachable Queue" later in this document.
IP Site Links
Site links are logical paths between Active Directory sites. A site link object represents a set of sites that can communicate at a uniform cost through a specified intersite transport. Site links don't correspond to the actual path taken by network packets on the physical network. However, the cost assigned to the site link by the administrator typically relates to the underlying network reliability, speed, and available bandwidth. For example, the Active Directory administrator would assign a lower cost to a network connection with a speed of 100 megabits per second (Mbps) than to a network connection with a speed of 10 Mbps. The default cost for a site link is 100. A valid site link cost can be any number from 1 to 99,999. If you specify redundant links, the link with the lowest cost assignment is always preferred. By default, all site links are transitive. This means that if Site A has a link to Site B, and Site B has a link to Site C, Site A is transitively linked to Site C. The transitive link between Site A and Site C is also known as a site-link bridge. If an IP network is not fully routed, an Active Directory
377
administrator can disable automatic bridging of all site links and manually specify the site links that can communicate transitively by configuring site-link bridges. Disabling the automatic bridging of all site links is not supported for Exchange 2007. An Active Directory site link can be configured to use either IP or SMTP as the transport protocol for communication. Exchange 2007 considers only IP site links when it makes routing decisions. An SMTP site link is limited in the types of data that can be replicated by using that protocol and is designed to provide a store and forward mechanism for replication between Active Directory sites that do not have a reliable network link. An IP site link is not limited in the types of data that can be replicated across it. Exchange 2007 uses only IP site links to determine its routing topology. The cost that is assigned to the IP site link will be considered by the routing component of Exchange 2007 when calculating a routing table. These costs are used to calculate the least cost routing path to the ultimate destination for a message. Note: An IP site link can also be assigned a schedule and a replication interval. Those attributes do not affect Exchange 2007 mail flow. Every Active Directory site must be associated with at least one IP site link. There is a single default IP site link named DEFAULTIPSITELINK. When you create an Active Directory site, you must associate that site to an IP site link. You can create additional IP site links to implement the desired topology or you can associate every Active Directory site to the DEFAULTIPSITELINK. Each Active Directory site that is part of an IP site link can communicate directly with every other site in that link at a uniform cost. An IP site link always enables communication between servers in both directions. If additional IP site links are not created, and all Active Directory sites are associated with the DEFAULTIPSITELINK, the effect is called a full mesh topology. A full mesh topology is a network architecture in which each network segment can reach any other network segment directly through a point-to-point physical or logical connection. In Figure 68, four Active Directory sites are configured in the forest. Every site has been associated with the DEFAULTIPSITELINK. Therefore, each Active Directory site communicates directly with every other site by using the same cost metric. More than one communication path is indicated, but only a single IP site link is defined.
In Figure 69, four Active Directory sites are configured in the forest. In this topology, the administrator has configured IP site links to create a hub-and-spoke topology of Active Directory sites. Each spoke site can communicate directly with the central site, and the spoke sites can communicate with one another by using the transitive IP site links. Figure 69 Hub-and-spoke topology of Active Directory IP site links
An Active Directory administrator implements the topology that best represents the connectivity and communication requirements of the forest. Because the same topology is used by Exchange 2007, you must make sure that the current topology supports efficient messaging communication. An Exchange Organization Administrator can assign an Exchange-specific cost to an IP site link. If an Exchange cost is assigned to an IP site link, it will be used by
379
Exchange 2007. Otherwise, the Active Directory cost is used. For more information about how to set an Exchange cost on an IP site link, see "Controlling IP Site Link Costs" later in this document. An administrator who has membership in the Enterprise Administrators group can create additional IP site links. For more information about Active Directory site configuration, see Designing the Site Topology.
Topology Discovery
The Exchange 2007 topology relies on the Active Directory site topology and does not have its own configuration. The Active Directory topology is made available to Exchange 2007 by the following required elements: The Microsoft Exchange Active Directory Topology service The topology discovery module inside the Microsoft Exchange Transport service
The Microsoft Exchange Active Directory Topology service runs on all Exchange 2007 server roles, except the Edge Transport server role. These Exchange 2007 servers use the Microsoft Exchange Active Directory Topology service to discover the domain controllers and global catalogs servers that can be used by the Exchange servers to read and write Active Directory data. Exchange 2007 binds to the identified directory servers whenever Microsoft Exchange has to read from or write to Active Directory. The topology discovery module is part of the Microsoft Exchange Transport service and provides information about the Active Directory topology to Exchange servers. This API discovers the Exchange servers and roles in the organization and determines their relationship to the Active Directory configuration objects. Configuration data is retrieved from Active Directory and then cached so that it can be accessed by the Exchange services that are running on that computer. The topology discovery module performs the following steps to generate an Exchange routing topology: 1. Data is read from Active Directory. All the following objects are retrieved: Active Directory sites. IP site links.
All Exchange servers. This includes information about the Exchange 2007 server roles deployed on those servers. 2. The data that is retrieved in step 1 is used to create the initial topology and to begin linking and mapping the related configuration objects. 3. Exchange servers are matched to Active Directory sites by retrieving the site attribute value from the Exchange server object that is stored in Active Directory. 4. Routing tables are updated with the collection of information retrieved.
380
This process makes every Exchange 2007 server aware of the other Exchange servers in the organization and of how close the Exchange servers to one another.
Non-SMTP connectors. This includes Exchange 2007 foreign connectors and any nonSMTP connectors hosted by Exchange 2003 or Exchange 2000 Routing groups Routing group connectors Mailbox stores (private message databases [MDBs]) Public folder stores (public MDBs) Public folder hierarchies
Based on this data, the routing component of the Microsoft Exchange Transport service populates routing tables to help streamline routing decisions. The routing table correlates the data to create a topology map. This topology map contains the following elements: Linked connectors map This map correlates the identifiers of Receive connectors on the local server to the linked Send connector. Server map All Exchange 2007 Hub Transport servers, Edge Transport servers, Mailbox servers, and Exchange 2000 and Exchange 2003 servers in the organization are
381
contained in the server map. This map correlates the distinguished name of each Exchange server to server routing data. This includes the total cost to reach that server. Legacy server map All Exchange 2007 Hub Transport servers, Edge Transport servers, Mailbox servers, and Exchange 2000 and Exchange 2003 servers in the organization are contained in the legacy server map. This map correlates the legacy distinguished name of each Exchange server to server routing data. This includes the total cost to reach that server. This map supports store override functionality. Store override functionality is specific to public folders. MDB map All MDBs in the organization are contained in the MDB map. This map correlates the distinguished name of each MDB to server routing data. This includes the total cost to reach that server. Active Directory site map This map correlates each Active Directory site to a structure that contains the least cost routing path from the local site to every other site. The map includes any hub sites along the least cost routing path. Each routing path hop also identifies all Hub Transport servers in that site that will be used by the enhanced DNS component. Routing groups map This map associates the total cost and first hop routing group connector for the least cost routing path from the Exchange 2007 routing group to each legacy routing group. Send connectors map This map identifies the Send connectors configured in the organization and the source servers for each connector. The routing tables are built every time that a transport server is started and recalculated when configuration changes are received. Configuration changes can be detected in any of the following ways: Active Directory change notifications There is a delay between the time that a notification is received and the time that the change is written to the routing tables. This delay lets the routing component batch the changes and process more than one change in a single operation. By default, each notification causes the routing component to delay processing it by five seconds. For example, if five notifications are received exactly one second after the previous notification, routing delays processing the change for a total of nine seconds. Configuration reloading caused by service control commands The routing component reloads the configuration data when the Microsoft Exchange Transport service is restarted. Periodic reload to track changes that are not supported by Active Directory notifications By default, routing will periodically reload the configuration data to make sure that all changes are tracked. The configuration reload occurs at six-hour intervals. The information in the routing tables is logged to routing logs. By default, these logs are located in the C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\Routing folder. A new
382
log is generated every time that the routing tables are calculated. If for some reason the Hub Transport server is unable to contact Active Directory, routing continues to make routing decisions based on the currently cached data, even though that data may not be up to date. For more information, see Managing Routing Table Logging.
When a message is received by a Hub Transport server, the message must be categorized. The first phase of message categorization is recipient resolution. After the recipient has been resolved, the ultimate destination can be determined. The next phase, routing, determines how to best reach that destination. A single, deterministic route is selected. That route is not recalculated unless the routing configuration changes. From the perspective of the sending server, each delivery queue represents the destination for a particular message. When the Hub Transport server or Edge Transport server selects the destination for a message, the destination is stamped on the recipient as the NextHopSolutionKey attribute. If a single message is being sent to more than one recipient, each recipient has the NextHopSolutionKey attribute. The receiving server also performs message categorization and queues the message for delivery. After a message is queued, you can examine the delivery type for a particular queue to determine whether a message will be relayed again when it reaches the next hop destination. The destination for a message can be classified as one of the following delivery types: DNS connector delivery The messages are queued for delivery to an external recipient by using an SMTP Send connector for which the local server is a source server. The connector is configured to use DNS to resolve the recipient addresses. Non-SMTP gateway delivery The messages are queued for delivery to an external recipient by using a foreign connector for which the local server is a source server. This
383
delivery type is used only when the messages are being delivered to the foreign connector drop directory on the local server. Smart host connector delivery The messages are queued for delivery to an external recipient by using an SMTP Send connector for which the local server is a source server. The connector is configured to use a smart host for delivery. SMTP relay in an Active Directory Site to an Edge Transport server The messages are queued for delivery to an external recipient by using an SMTP Send connector for which the source server is an Edge Transport server that is subscribed to the local Active Directory site. MAPI delivery The messages are queued for delivery to a recipient's mailbox, a public folder, or a public folder store that is located on a Mailbox server that is located in the local Active Directory site. SMTP relay in an Active Directory site The messages are queued for delivery to a Hub Transport server that is located in the same Active Directory site as the local server. The destination server can be the source server for a Send connector or foreign connector, the source server of a routing group connector, or a distribution group expansion server. SMTP Relay to a Remote Active Directory Site The messages are queued for delivery to a Hub Transport server that is located in a remote Active Directory site. The destination server in the remote Active Directory site can be any of the following: The source server for a connector that is configured to transport messages for external recipients The source server for a routing group connector A distribution group expansion server A Mailbox server that is located in the remote Active Directory site
The messages are delivered to one of the Hub Transport servers in the destination site. The receiving server relays the message within the Active Directory site if it is necessary. SMTP relay to a legacy routing group The messages are queued for delivery to the first hop routing group connector used to reach an Exchange 2003 or Exchange 2000 routing group. The destination server can be any of the following: The source server for a connector An expansion server
An Exchange 2003 bridgehead server that delivers messages addressed to mailbox recipients that are located in the routing group Unreachable A route to the recipient could not be determined and the messages are located in the Unreachable queue.
384
385
restriction that is less than the size of the message are eliminated from routing consideration. The proximity of the destination to the sending server Routing will prefer the server that is closest, in this order: local server, server in the same Active Directory site, server in a remote Active Directory site or routing group. As explained earlier, Exchange 2007 uses a deterministic algorithm to select the least cost routing path. The following logic is used to select the routing path: First, calculate the least cost routing path by adding the cost of the IP site links and of any routing group connectors that must be traversed to reach the destination. If the destination is a connector, the cost assigned to the address space is added to the cost to reach the selected connector. If multiple routing paths are possible, only the routing path with the lowest aggregate cost is used. If more than one routing path has the same aggregate cost, the number of hops in each path is evaluated and the routing path with the least number of hops is used. If more than one routing path is still available, the name assigned to the Active Directory sites or routing group connectors before the destination are considered. The routing path where the Active Directory site nearest to the destination is lowest in alphanumeric order is used. If the site nearest to the destination is the same for all routing paths being evaluated, an earlier site name is considered. Figure 70 shows the routing topology for an Exchange organization. This topology is used in the following examples to demonstrate the logic used by the routing algorithm to select the least cost routing path. Figure 70 An Exchange 2007 routing topology
386
Example 1 A message that is being relayed from Site A to Site D can follow two possible routing paths: Site A-Site B-Site D and Site A-Site C-Site D. The costs assigned to the IP site links in each routing path are added to determine the total cost to route the message. In this example, the routing path Site A-Site B-Site D has an aggregate cost of 20. The routing path Site A-Site C-Site D has an aggregate cost of 10. Routing selects path Site A-Site C-Site D. Example 2 A message is being relayed from Site B to Site D. There are three possible routing paths: Site B-Site D with a cost of 15, Site B-Site E-Site C-Site D with a cost of 15, and Site BSite A-Site C-Site D with a cost of 15. Because more than one routing path results in the same cost, routing selects the routing path Site B-Site D. This has the least number of hops. Example 3 A message is being relayed from Site A to Site E. There are two possible routing paths: Site A-Site B-Site E with a cost of 10, and Site A-Site C-Site E with a cost of ten. Both routing paths have the same cost and same number of hops. The alphanumeric order of the Active Directory sites immediately before Site E is compared. Site B has a lower alphanumeric value than Site C. Therefore, routing selects the routing path Site A-Site B-Site E. After the least cost routing path has been determined, the Exchange 2007 routing component does not consider alternative routing paths. An Active Directory site that does not have any Hub Transport servers deployed is not recognized by routing and does not participate in Exchange topology. However, if such a site exists along the least cost routing path between sites where Hub Transport servers are deployed, the IP site link costs of the links connecting that site are considered in the least cost routing path calculation.
Using Figure 71 as a reference, a message that is sent from Mailbox1 in Site A, to the external recipient joe@contoso.com is processed as follows: 1. The Microsoft Exchange Mailbox Submission service that is running on Mailbox1 notifies a Hub Transport server that is located in the same Active Directory site of the new mail item for transport. 2. Using RPC, the store driver component on a Hub Transport server in the same Active Directory site retrieves the message and puts it in the Submission queue on the local server. 3. From the Submission queue, the message moves through categorization. The categorizer first performs recipient resolution and determines that joe@contoso.com is an external recipient. 4. The routing component selects the best connector through which to route the message and calculates the least cost routing path to that connector. In this example, a Send
388
connector has the address space *.contoso.com and is the connector selected by the routing component. All the source servers for this Send connector are located in Site B. 5. The routing component determines the next hop required to reach a source server for the Send connector. The Hub Transport server in Site A queues the message for SMTP delivery to Site B. 6. If the receiving server in Site B is a source server for the Send connector, it queues the message for delivery to that Send connector. If the receiving server is not a source server for the *.contoso.com Send connector, the message is relayed by using SMTP to a Hub Transport server in Site B that is the source server for the connector. Table 35 provides additional examples of the next hop selection for several recipients based on the topology shown in Figure 71. Table 35 Examples of next hop selection in Figure 71
Receiving server Ultimate destination Next hop Queue delivery type
Hub1 Hub1
Mailbox1 Mailbox2
Mailbox1 Site B
MAPI delivery SMTP relay to a remote Active Directory site SMTP relay to a legacy routing group SMTP relay in an Active Directory site SMTP relay to a remote Active Directory site SMTP relay to a remote Active Directory site MAPI Delivery SMTP relay to a remote Active Directory site DNS connector delivery
Mailbox3
Hub2
Site A
Hub2 Hub2
Mailbox2 Mailbox3
Mailbox2 Site A
Hub2
Recipient@contoso.c om
Send connector 2
389
Hub2
SMTP relay to a remote Active Directory site MAPI delivery Smart host connector delivery
Hub3 Hub3
After the least cost routing path has been calculated and the next hop destination has been chosen, Exchange 2007 routing tries to relay the message directly to the destination. However, in some configuration scenarios, direct relay does not occur. For example, an Exchange administrator can configure an Active Directory hub site to force message delivery to relay through a particular Active Directory site in situations where direct communication between Active Directory sites is not possible because of network security or connectivity restrictions. For more information, see "Implementing Hub Sites" later in this document. A message that is being delivered to more than one recipient may also be relayed through an interim site. Exchange 2007 is designed to minimize network bandwidth usage. One feature of this design is the ability to delay generation of multiple copies of a message for delivery to recipients in different destinations until a fork in the delivery path is reached. This feature is known as delayed fan-out. For more information, see "Delayed Fan-Out" later in this document.
390
queued at the point of failure, the queue is put in a retry state and delivery attempts continue based on the message retry intervals until delivery succeeds or the message expires. The queue is automatically resubmitted for recategorization after a default interval of 12 hours. Queues that have a connector as the next hop destination are not automatically resubmitted unless a configuration change that causes resubmission occurs. You can use the Exchange Mail Flow Troubleshooter to help diagnose problems with mail flow. This tool is a component of the Microsoft Exchange Troubleshooting Assistant and can be run from the Toolbox of the Exchange Management Console. In Figure 72, a message is being sent from Site A for delivery to Site D. The Hub Transport servers in Site D are offline. Therefore, the message queues at Site C. Figure 72 Queue at point of failure
In more complex topologies, the least cost routing path between two Active Directory sites can contain many intermediate Active Directory sites. If a network issue occurs somewhere early along the routing path, it may be too inefficient to back off site by site from the end and try to deliver to every one of the intermediate sites. If the routing path is longer than four hops, binary backoff is implemented until four or fewer sites are remaining. Binary backoff means that the next connection attempt is made at the halfway point in the routing path. For example, if the least cost routing path from Active Directory Site A to Site Q is A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P- Q and the network failure occurs at the link between Site B and Site C, the first connection attempt is made to all Hub Transport servers in Site Q. When the connection attempt fails, the next attempt is made to all Hub Transport servers in Site I. This is halfway to Site Q. When that connection attempt fails, the next connection attempt is made to all Hub Transport servers in Site E. This is halfway between Site A and Site I. When that connection attempt fails, connection attempts are made to Site D, Site C, and Site B because they are closer than four links to the source site. The message will eventually be queued on a Hub Transport server in Site B until the B-C link connectivity is restored.
391
Figure 74 shows how IP site link costs affect routing to a hub site. In this scenario, Site B has been designated as a hub site. However, because it does not exist along the least cost routing path between any other sites, queuing at Site B before delivery to the destination does not occur. An Active Directory site is never used as a hub site if it is not on the least cost routing path between two other sites.
You can configure any Active Directory site as a hub site. However, for this configuration to work correctly, you must have deployed at least one Hub Transport server in the hub site.
394
cost when it evaluates the least cost routing path. Otherwise, the Active Directory replication cost is used. Adjusting IP site link costs can be useful when the message routing topology has to diverge from the Active Directory replication topology. Exchange costs can be used to force all message routes to use a hub site. Exchange costs can also be used to control where messages are queued when communication to an Active Directory site fails. Figure 75 shows an Active Directory topology with four sites. Figure 75 Topology with Exchange costs configured on IP site links
In Figure 75, the network connection between Site C and Site D is a low bandwidth connection that is only used for Active Directory replication and should not be used for message routing. However, the Active Directory IP site link costs cause that link to be included in the least cost routing path from any other Active Directory site to Site D. Therefore, messages are delivered to the Site D queue in Site C. The Exchange administrator prefers that the least cost routing path include Site B instead so that if Site D is unavailable, the messages will queue at Site B. Configuring a high Exchange cost on the IP site link between Site C and Site D prevents that IP site link from being included in the least cost routing path to Site D.
395
Delayed Fan-Out
A single e-mail message can be addressed to more than one recipient. These recipients may have internal mailboxes, or they may be external recipients. To route a single message to more than one recipient, the following steps occur: 1. Recipient resolution Each recipient of the message is resolved to a delivery destination. 2. Routing The least cost routing path for each recipient is determined. This includes whether a hub site is configured. 3. Message splitting To route the message to recipients that have different delivery locations, the message must be split into multiple copies. After each recipient has been resolved and a routing path to each delivery destination is determined, Exchange 2007 compares the routing path for each recipient. To preserve bandwidth, the bifurcation, or splitting of the message into multiple copies, does not occur until a fork in the routing path is encountered. For example, if multiple recipients of a single message share part of or all of the least cost routing path, a single copy of the message is sent until the message reaches the point in the routing path where a fork occurs. When the divergence in routing paths occurs, the message splits to create a separate copy for each recipient. In Figure 76, a single message is sent from Site A to recipients in Site C, Site D, and Site E. The least cost routing path is shared until the message reaches Site B. In this scenario, a single copy of the message that contains all recipients is relayed to Site B. This represents the first fork in the routing path. From Site B, a single message copy is routed to the recipient in Site D, and a single copy is relayed to Site C. In Site C, the message splits again. A copy of the message is delivered to the recipient in Site C. And a copy of the message is relayed to Site E for delivery to the recipient in that site.
The store driver resubmits the message for rerouting if the following conditions are true: A message is in a MAPI delivery queue.
Between the time that the next hop was selected and the time that the message is ready to be delivered, the mailbox is moved to another Mailbox server. During enhanced DNS resolution, routing tries to detect if a queue has to be rerouted. During this phase, the NextHopSolutionKey attribute is resolved to a list of targets. This enables
397
routing to automatically detect any configuration changes that invalidate or modify the NextHopSolutionKey attribute. If routing detects that configuration changes require rerouting of messages in a queue, the messages in the affected queue are resubmitted to the categorizer for rerouting. Not all configuration changes require resubmission of the messages in the queue. For example, a change to the list of smart hosts for a connector is automatically detected.
Routing Changes
Exchange 2007 introduces routing changes that take advantage of the existing Active Directory directory service site topology and the underlying network to provide an efficient, deterministic routing topology. When Exchange 2007 coexists with Exchange 2003 or Exchange 2000, you must perform additional configuration tasks to support message routing between the server versions. Table 36 summarizes the changes in message routing between versions of Exchange Server. Table 36 Routing differences between versions of Exchange Server
398
Exchange 2007
Exchange uses Active Directory sites to determine an intra-organizational routing topology. All Exchange 2007 servers are associated with a single routing group for the purposes of routing to earlier versions of Exchange Server. Exchange determines the least cost route between Hub Transport servers by using Active Directory directory service IP site link costs. Exchange uses direct relay to deliver messages between Hub Transport servers. When Exchange can't connect, it uses the least cost routing path information to back off from the destination until a connection can be made to a Hub Transport server. Messages queue at the reachable site that is closest to the destination. This behavior is known as queue at point of failure. When a message is being sent to multiple recipients, Exchange delays message splitting until a fork in the routing path is reached. This behavior is known as delayed fan-out. Each Hub Transport server queries Active Directory separately to retrieve the routing configuration used to calculate a routing table and to receive configuration updates.
Exchange determines the least cost route between bridgehead servers by using routing group connector costs. Exchange relays through bridgehead servers in each routing group in the routing path. When Exchange can't connect to the next hop in a routing path, tries to reroute the message over an alternative path.
When a message is being sent to multiple recipients, message splitting occurs immediately after recipient resolution. Exchange uses a link state table to store a routing table and advertises configuration changes by using link state updates. The routing group master retrieves updates from Active Directory and coordinates the propagation of link state changes that are learned by servers in its routing group.
399
directions between the Exchange 2007 routing group and an Exchange 2003 or Exchange 2000 routing group. The Exchange 2003 or Exchange 2000 bridgehead server that you select during setup determines with which routing group the connection is made. After setup is complete, it is a best practice to add source and target servers to the routing group connectors for load balancing and redundancy. All Exchange 2007 servers are automatically put in a single routing group that is called Exchange Routing Group (DWBGZMFD01QNBJR). Exchange 2007 servers and Exchange 2003 or Exchange 2000 servers cannot reside in the same routing group. You cannot create additional routing groups in which to put Exchange 2007 servers. The Exchange 2007 routing group is created strictly for coexisting with earlier versions of Exchange. The initial routing group connectors that are created during setup determine how messages flow between Exchange versions. The initial routing group connector is assigned a cost of 1. The Hub Transport server role that you installed and the Exchange 2003 or 2000 bridgehead server that you selected are set as the source and target servers. Permissions are granted to the bridgehead server to send e-mail to and receive e-mail from Exchange 2007 Hub Transport servers. Important: Do not move Exchange 2007 servers out of Exchange Routing Group (DWBGZMFD01QNBJR) and do not rename Exchange Routing Group (DWBGZMFD01QNBJR) by using a low-level directory editor. Exchange 2007 must use this routing group to communicate with earlier versions of Exchange. We do not support moving Exchange 2007 servers out of Exchange Routing Group (DWBGZMFD01QNBJR) or renaming of Exchange Routing Group (DWBGZMFD01QNBJR). The Exchange 2003 routing group to which you create your initial connection is important and depends on the structure of your current environment. Ideally, your routing groups mirror your Active Directory site structure, and your routing group connectors are in a hub-and-spoke format. In this scenario, your first Exchange 2007 deployment will be near the hub routing group. You should create your first connector to a bridgehead server in that routing group.
400
Hong Kong to users whose mailboxes are on Exchange 2007 servers in Hong Kong, the messages will be routed through Chicago. To avoid such excessive routing hops, you can create another routing group connector that connects the single Exchange 2007 routing group to the Hong Kong routing group. In this scenario, you must make sure that you perform the configuration steps that avoid potential routing loops. We recommend that you transition all the Exchange 2003 servers in a routing group at the same time to avoid a routing topology that results in many hops. To create a routing group connector that includes an Exchange 2007 Hub Transport server as either a source server or target server, you must use the New-RoutingGroupConnector cmdlet in the Exchange Management Shell. By default, a routing group connector that is created by using this cmdlet will have a default cost of 1 and will have public folder referrals enabled. To create the reciprocal routing group connector in a single operation, you must set the Bidirectional parameter is $True. For more information, see the following topics: Routing Group Connector Cmdlets
How to Create Routing Group Connectors from Exchange 2007 to Exchange Server 2003
401
connector or a server. When you suppress minor link state updates, it does not prevent these major link state update messages from being communicated. When minor link state updates are suppressed, Exchange 2003 also only uses least cost routing. This eliminates the chance for routing loops to occur. We recommend that you suppress link state updates on every Exchange 2003 server in the organization to maintain a consistent configuration. Important: If configuration changes are made in Exchange Routing Group (DWBGZMFD01QNBJR) some latency may occur before those changes are received by Exchange Server 2003 servers and propagated by the Exchange 2003 routing group masters. The delay will depend on how frequently the routing group masters poll for configuration changes in other routing groups. By default, the polling interval is set to one hour. To immediately register all changes in Exchange Routing Group (DWBGZMFD01QNBJR) on Exchange 2003 servers, you must restart the routing group masters.
SMTP Connectors
Exchange 2003 and Exchange 2007 can both route to a connector that is hosted by either Exchange Server version. However, because of schema differences in connector configuration, some settings of the Send connector on an Exchange 2007 server will not be recognized by an Exchange 2003 server, and some settings on an SMTP connector on an Exchange 2003 server will not be recognized by an Exchange 2007 server. These differences can cause conflicts when the routing selection is made. Table 37 summarizes the differences in connector feature support between Exchange 2003 and Exchange 2007. Table 37 Connector feature support
Connector feature Exchange Server version support Comment
Exchange 2003
Exchange 2007 may route a message to an Exchange 2003 connector that does not allow connections from the sending user.
402
Message priorities
Exchange 2003
Exchange 2007 does not assign message priority and will bypass any priority restrictions set on an Exchange 2003 SMTP connector. Exchange 2007 does not assign message type and will bypass any message type restrictions set on an Exchange 2003 SMTP connector. Exchange 2003 and Exchange 2007 define connector scope differently. An Exchange 2003 connector can be scoped to only allow servers within the same routing group to use the connector. An Exchange 2007 connector can be scoped to only allow servers within the same Active Directory site to use the connector. Exchange 2003 will recognize all scoped connectors in other routing groups as out of scope, including any scoped connectors in the Exchange 2007 routing group. Exchange 2007 will recognize all scoped Exchange 2003 connectors and scoped Exchange 2007 connectors in other Active Directory sites as out of scope. Messages are not routed to connectors that are recognized as being out of scope.
Exchange 2003
Connector scope
403
Message size restrictions set on either server version will be applied to all messages that are routed through the connector. Exchange 2003 does not recognize this setting and will continue to route to an Exchange 2007 connector that is disabled.
Exchange 2007
404
storage when the messages are scanned for viruses and other malware further along the mail flow path. The layered approach to reducing spam refers to the configuration of several anti-spam and antivirus features that filter inbound messages in a specific order. Each feature filters for a specific characteristic or set of related characteristics on the inbound message. The following sections provide brief descriptions of each default anti-spam and antivirus feature.
For more information about the PRA, see Sender ID and RFC 4407.
405
Content filtering Content filtering uses Microsoft SmartScreen technology to assess the contents of a message. Intelligent Message Filter is the underlying technology of Exchange content filtering. Intelligent Message Filter is based on patented machinelearning technology from Microsoft Research. During its development, Intelligent Message Filter learned distinguishing characteristics of legitimate e-mail messages and spam. Regular updates with Microsoft Anti-spam Update Service ensure that the most up-to-date information is always included when the Intelligent Message Filter runs. Based on the characteristics of millions of messages, Intelligent Message Filter recognizes indicators of both legitimate messages and spam messages. Intelligent Message Filter can accurately assess the probability that an inbound e-mail message is either a legitimate message or spam. Spam quarantine is a feature of the Content Filter agent that reduces the risk of losing legitimate messages that are incorrectly classified as spam. Spam quarantine provides a temporary storage location for messages that are identified as spam and that should not be delivered to a user mailbox inside the organization. Content filtering also acts on the safelist aggregation feature. Safelist aggregation collects data from the anti-spam safe lists that Microsoft Outlook and Office Outlook Web Access users configure and makes this data available to the Content Filter agent on the computer that has the Edge Transport server role installed in Exchange 2007. When an Exchange administrator enables and correctly configures safelist aggregation, the Content Filter agent passes safe e-mail messages to the enterprise mailbox without additional processing. E-mail messages that Outlook users receive from contacts or that those users have added to their Outlook Safe Senders List or have trusted are identified by the Content Filter agent as safe. The result is that messages that are identified as safe are not classified as spam and unintentionally filtered out of the messaging system. Sender reputation Sender reputation relies on persisted data about the IP address of the sending server to determine what action, if any, to take on an inbound message. The Protocol Analysis agent is the underlying agent that implements the sender reputation functionality. A sender reputation level (SRL) is calculated from several sender characteristics that are derived from message analysis and external tests. Senders whose SRL exceeds a configurable threshold will be temporarily blocked. All their future connections are rejected for up to 48 hours. In addition to the locally calculated IP reputation, Exchange 2007 also takes advantage of IP Reputation anti-spam updates, available via Microsoft Update, which provide sender reputation information about IP addresses that are known to send spam. Attachment filtering Attachment filtering filters messages based on attachment file name, file name extension, or file MIME content type. You can configure attachment filtering to block a message and its attachment, to strip the attachment and allow the message to pass through, or to silently delete the message and its attachment.
406
Microsoft Forefront Security for Exchange Server Forefront Security for Exchange Server is an antivirus software package that is tightly integrated with Exchange 2007 and offers antivirus protection for the Exchange environment. The antivirus protection that is provided by Forefront Security for Exchange Server is language independent. However, the setup, administration of the product, and end-user notifications are available in 11 server languages. Outlook Junk E-mail filtering The Outlook Junk E-Mail Filter uses state-of-the-art technology to evaluate whether a message should be treated as a junk e-mail message based on several factors, such as the time that the message was sent and the content and structure of the message, and the metadata collected by the Exchange Server anti-spam filters. Messages caught by the filter are moved to a special Junk E-mail folder, where the recipient can access them later.
Anti-Spam Stamps
Anti-spam stamps help you diagnose spam-related problems by applying diagnostic metadata, or "stamps," such as sender-specific information, puzzle validation results, and content filtering results, to messages as they pass through the anti-spam features that filter inbound messages from the Internet. These stamps are visible to the end-user mail client and encode senderspecific information, the version of the spam filter definition file, Outlook puzzle validation results, and content filtering results.
407
Hosted Continuity, which helps them preserve access to e-mail during and after emergency situations These services integrate with any on-premise Exchange servers that are managed in-house or Hosted Exchange e-mail services that are offered through service providers. For more information about Exchange Hosted Services, see Microsoft Exchange Hosted Services.
408
Anti-Spam Stamps
In Microsoft Exchange Server 2007, anti-spam stamps help you diagnose spam-related problems by applying diagnostic metadata, or "stamps," such as sender-specific information, puzzle validation results, and content filtering results, to messages as they pass through the anti-spam features that filter inbound messages from the Internet. This topic explains how to view anti-spam stamps and describes the different anti-spam stamps: the anti-spam report, the phishing confidence level stamp, the spam confidence level (SCL) stamp, and the Sender ID stamp. You can use anti-spam stamps as diagnostic tools to determine what actions to take on falsepositives and on suspected spam messages that individuals receive in their mailboxes.
Anti-Spam Report
The anti-spam report is a summary report of the anti-spam filter results that have been applied to an e-mail message. The Content Filter agent applies this stamp to the message envelope in the form of an X-header as follows: X-MS-Exchange-Organization-Antispam-Report: DV:<DATVersion>;CW:CustomList;PCL:PhishingVerdict <verdict>;P100:PhishingBlock;PP:Presolve;SID:SenderIDStatus <status>;TIME:<SendReceiveDelta>;MIME:MimeCompliance Table 38 describes the filter information that can appear in an anti-spam report. Note: The anti-spam report only displays information from the filters that were applied to the specific message. An anti-spam report doesn't usually contain all the information listed in Table 1. For example, you may receive the following anti-spam report: DV:3.1.3924.1409;SID:SenderIDStatus Fail;PCL:PhishingLevel SUSPICIOUS;CW:CustomList;PP:Presolved;TIME:TimeBasedFeatures.
SID
The Sender ID (SID) stamp is based on the sender policy framework (SPF) that authorizes the use of domains in e-mail. The SPF is displayed in the message envelope as Received-SPF. The Sender ID evaluation process generates a Sender ID status for the message. This status can be returned as one of the following values: Pass The IP Address and Purported Responsible Domain pair passed the Sender ID verification check. Neutral The Sender ID verification check was inconclusive. Softfail The IP Address may not be in the SPF. Softfail is considered less trusted than Neutral. Fail The IP address is not listed in the SPF. None No published SPF data exists in the sender's Domain Name System (DNS). TempError A temporary DNS failure occurred, such as an unavailable DNS server. PermError The DNS record is invalid, such as an error in the record format. For more information about Sender ID, see Sender ID.
DV
The DAT version (DV) stamp indicates the version of the spam definition file that was used when scanning the message. The signature action (SA) stamp indicates that the message was either recovered or deleted because of a signature that was found in the message.
SA
410
SV
The signature DAT version (SV) stamp indicates the version of the signature file that was used when scanning the message. The phishing confidence level (PCL) of the message displays the following values, which are based on the PCL Stamp described later in this topic: Neutral The message's content is not likely to be phishing. Suspicious The message's content is likely to be phishing. Outlook uses the PCL stamp to block the content of suspicious messages.
PCL
SCL
The spam confidence level (SCL) of the message displays the rating of the message based on its content. The SCL value is between 0 and 9, where 0 is considered less likely to be spam, and 9 is considered more likely to be spam. The actions that Exchange Server and Outlook take depend on your SCL threshold settings. For more information about SCL thresholds and actions, see Adjusting the Spam Confidence Level Threshold.
411
CW
The custom weight (CW) of a message indicates that the message contains an unapproved word or phrase and that the SCL value, or "weight," of that unapproved word or phrase was applied to the final SCL score: Unapproved phrases, or Block phrases, have maximum weight and change the SCL score to 9. Approved words or phrases, or Allow phrases, have minimum weight and change the SCL to 0. For more information about how to add approved and unapproved words or phrases to the content filtering agent, see How to Configure Allow or Block Phrases for Content Filtering.
PP
The presolved puzzle (PP) stamp indicates that if a sender's message contains a valid, solved computational postmark, based on Outlook E-mail Postmark validation functionality, it is unlikely that the sender is a malicious sender. In this case, the Content Filter agent would reduce the SCL rating. The Content Filter agent does not change the SCL rating if the E-mail Postmark validation feature is enabled and either of the following conditions is true: An inbound message does not contain a computational postmark header. The computational postmark header is not valid. For more information about the postmark validation feature, see How to Enable or Disable Outlook E-mail Postmark Validation.
412
TIME: TimeBasedFeatures
The TIME stamp indicates that there was a significant time delay between the time that the message was sent and the time that the message was received. The TIME stamp is used to determine the final SCL rating for the message. The MIME stamp indicates that the e-mail message is not MIME-compliant. The P100 stamp indicates that the message contains a URL that is present in a phishing definition file. The IPOnAllowList stamp indicates that the sender's IP address is on the IP Allow list. For more information about the IP Allow list, see Connection Filtering. The MessageSecurityAntispamBypass stamp indicates that the message was not filtered for content and that the sender has been granted permission to bypass the anti-spam filters. The SenderBypassed stamp indicates that the Content Filter agent does not process any content filtering for messages that are received from this sender. For more information, see How to Specify Recipient and Sender Exceptions for Content Filtering.
MIME:MIMECompliance P100:PhishingBlock
IPOnAllowList
MessageSecurityAntispamBypass
SenderBypassed
413
AllRecipientsBypassed
The AllRecipientsBypassed stamp indicates that one of the following conditions was met for all recipients listed in the message: The AntispamBypassedEnabled parameter on the recipient's mailbox is set to $True. This is a per-recipient setting that can only be set by an administrator. For more information about this setting, see Set-Mailbox. The message sender is in the recipient's Outlook Safe Senders List. For more information about the Safe Senders List, see How to Configure Safelist Aggregation. The Content Filter agent does not process any content filtering for messages that are sent to this recipient. For more information about recipient exceptions, see How to Specify Recipient and Sender Exceptions for Content Filtering.
414
The Content Filter agent uses Microsoft SmartScreen technology to assess the contents of a message and to assign an SCL rating to each message. The SCL value is between 0 and 9, where 0 is considered less likely to be spam, and 9 is considered more likely to be spam. The actions that Exchange Server and Outlook take depend on your SCL threshold settings. For more information about the SCL thresholds and actions, see Adjusting the Spam Confidence Level Threshold.
Sender ID Stamp
The Sender ID stamp is based on the SPF that authorizes the use of domains in e-mail. The SPF is displayed in the message envelope as Received-SPF. The Sender ID stamp is displayed as an X-Header in the message envelope as follows: X-MS-Exchange-Organization-SenderIdResult:<status> The Sender ID evaluation process generates a Sender ID status for the message. This status can be set to one of the following values: Pass The IP Address and Purported Responsible Domain pair passed the Sender ID verification check. Neutral The Sender ID verification check was inconclusive.
Soft fail The IP Address may not be in the SPF. Softfail is considered less trusted than Neutral. Fail The IP address is not listed in the SPF. None No published SPF data exists in the sender's DNS. TempError A temporary DNS failure occurred, such as an unavailable DNS server. PermError The DNS record is invalid, such as an error in the record format.
For more information about how to configure Sender ID, see Configuring Sender ID.
For more information about Sender ID, see the following topics: Sender ID Configuring Sender ID
415
Attachment Filtering
In Microsoft Exchange Server 2007, attachment filtering lets you apply filters at the server level to control the attachments that users receive. Attachment filtering is increasingly important in today's environment, where many attachments contain harmful viruses or inappropriate material that may cause significant damage to the user's computer or to the organization as a whole by damaging important documentation or releasing sensitive information to the public. Note: As a best practice, don't remove attachments from digitally signed, encrypted, or rightsprotected e-mail messages. If you remove attachments from such messages, you invalidate the digitally signed messages and make encrypted and rights-protected messages unreadable.
416
If an attachment matches one of these filtering criteria, you can configure one of the following actions to be performed on the attachment: Block whole message and attachment An attachment that matches an attachment filter together with its whole e-mail message can be blocked from entering the messaging system. If an attachment and e-mail message are blocked, the sender receives a delivery status notification (DSN) message that states that the message contains an unacceptable attachment file name. Strip attachment but allow message through An attachment that matches an attachment filter can be removed whereas the e-mail message and any other attachments that do not match the filter are allowed through. If an attachment is stripped, it is replaced with a text file that explains why the attachment was removed. This action is the default setting. Silently delete message and attachment An attachment that matches an attachment filter together with its whole e-mail message can be blocked from entering the messaging system. If an attachment and e-mail message are blocked, neither the sender nor the recipient receives notification. Caution: You cannot retrieve e-mail messages and attachments that are blocked or attachments that are stripped. When you configure attachment filters, make sure that you carefully examine all possible file name matches and verify that legitimate attachments will not be affected by the filter. For more information, see How to Configure Attachment Filtering.
417
TNEF (winmail.dat) Structured storage (.doc, .xls, .ppt, etc.) MIME (.eml) SMIME (.eml) UUEncode (.uue) Unix tape archive (.tar) RAR archive (.rar) MACBinary (.bin)
Note: The default Attachment Filter agent that is included with Exchange Server 2007 Standard Edition detects file types even if they have been renamed. Attachment filtering also makes sure that compressed Zip and LZH files do not contain blocked attachments by performing a file name extension match against the files in the compressed Zip or LZH file. Forefront Security for Exchange Server file filtering has the additional capability of determining if a blocked attachment has been renamed within a container file. You can also filter files by file size. Additionally, you can configure Forefront Security for Exchange Server to quarantine filtered files or to send e-mail notifications based on file filter matches. For more information, see Microsoft Forefront Security for Exchange Server User Guide.
Connection Filtering
The Connection Filter agent is an anti-spam agent that is enabled on computers that have the Microsoft Exchange Server 2007 Edge Transport server role installed. The Connection Filter agent relies on the IP address of the remote server that is trying to connect to determine what action, if any, to take on an inbound message. The remote IP address is available to the Connection Filter agent as a by-product of the underlying TCP/IP connection that is required for the Simple Mail Transfer Protocol (SMTP) session. Because the Connection Filter agent must evaluate the IP address of the remote server that is sending the message to be effective, the Connection Filter agent is typically enabled on the Internet-facing Edge Transport server. However, you may also perform additional configuration to run the Connection Filter agent deeper in the inbound message path. When you configure anti-spam agents on an Edge Transport server, the agents act on messages cumulatively to reduce the number of unsolicited messages that enter the organization. To reduce redundancy and improve overall system performance and efficiency,
418
you must understand the order in which the agents evaluate inbound messages. Understanding the order in which the filters evaluate inbound messages will help you optimize your configuration of the Edge Transport servers. For more information about how to plan and deploy the anti-spam agents, see Anti-Spam and Antivirus Functionality. When you enable the Connection Filter agent, the Connection Filter agent is the first anti-spam agent to run when an inbound message is evaluated. When an inbound message is submitted to an Edge Transport server on which the Connection Filter agent is enabled, the source IP address of the SMTP connection is checked against IP Allow lists and IP Block lists. If the source IP address is listed on an IP Allow list, the message is sent to the destination without additional processing by other anti-spam agents. If the source IP address is listed on an IP Block list, the SMTP connection is dropped after all RCPT TO headers in the message are processed. Note: The timing of when a given connection is dropped may depend on other anti-spam configurations. For example, you can specify which recipients always receive e-mail messages, even if the source IP address is blocked. Additionally, you may have configured other agents that rely on content from the DATA command to be parsed. The Connection Filter agent always drops blocked connections according to the overall anti-spam configuration. If the source IP address is not listed on any IP Allow list or IP Block list, the message continues to flow through other anti-spam agents if other anti-spam agents are configured. For detailed information about how to configure the Connection Filter agent, see How to Configure Connection Filtering.
For more information about IP Block List providers, see "IP Block List Providers" later in this document. You must configure at least one of these data stores of IP addresses for the Connection Filter agent to be operational. If the data stores of IP addresses do not contain the IP addresses on the IP Allow lists or IP Block lists, or if you do not have any IP Block List providers or IP Allow List providers configured, you should disable the Connection Filter agent.
419
420
dial-up access services to their clients assign dynamic IP addresses for each dial-up session. Some ISPs block SMTP traffic from dial-up accounts. These ISPs and the attendant dial-up IP ranges are not typically added to IP Block lists. However, some ISPs allow clients to send SMTP traffic from dial-up accounts. Malicious users take advantage of ISPs that allow SMTP traffic to send spam on dynamically assigned IP addresses. When the IP address is put on an IP Block list, the malicious users start another dial-up session and receive a new IP address. Frequently, a single IP Block List provider can provide a list of IP addresses that covers all these spam threats. You can configure multiple IP Block List provider configurations by using the Exchange Management Console or the Exchange Management Shell. Each service requires a separate IP Block List provider configuration in the Exchange Management Console or the Exchange Management Shell. When you configure the Connection Filter agent to use an IP Block List provider, the Connection Filter agent queries the IP Block List provider service to determine whether a match exists with the connecting IP addresses before the message is accepted into the organization. Before the Connection Filter agent contacts the IP Block List provider to verify an IP address, the IP address is first compared to the administrator-defined IP Allow list and IP Block list. If the IP address does not exist on either the administrator-defined IP Allow list or IP Block list, the Connection Filter agent queries the IP Block List provider services according to the priority rating that is assigned to each provider. If the IP address appears on the IP Block list of an IP Block List provider, the Edge Transport server waits for and parses the RCPT TO header, responds to the sending system with an SMTP 550 error, and closes the connection. If the IP address does not appear on the IP Block lists of any one of the IP Block List providers, the next agent in the anti-spam chain processes the connection. For more information about the order in which the default anti-spam and antivirus agents filter inbound messages from the Internet, see Anti-Spam and Antivirus Functionality. When you use the Connection Filter agent, it is a best practice to use one or more IP Block List providers to manage access into your organization. The use of an administrator-defined block list to maintain your own IP Block list is very time-consuming and may be impossible from a human resource perspective in most organizations. Therefore, the use of an external IP Block List provider service, whose sole purpose is to maintain IP Block lists, is highly recommended. However, there may be some disadvantages to using an IP Block List provider. Because the Connection Filter agent must query an external entity for each unknown IP address, outages or delays at the IP Block List provider service can cause delays in the processing of messages on the Edge Transport server. In extreme cases, such outages or delays could cause a mail-flow bottleneck on the Edge Transport server. The other disadvantage of using an external IP Block List provider service is that legitimate senders are sometimes added to the IP Block lists of IP Block List providers by mistake. Legitimate senders can be added to the IP Block lists that are maintained by IP Block List provider as the result of an SMTP misconfiguration, where the SMTP server was unintentionally configured to act as an open relay is an example of such a misconfiguration.
421
For more information about IP Block List providers, see Real-time Spam Black Lists (RBL). Note: The third-party Web site information in this topic is provided to help you find the technical information you need. The URLs are subject to change without notice.
For more information about how to configure connection filtering by using the Exchange Management Shell, see Connection Filter Agent Commands.
Content Filtering
In Microsoft Exchange Server 2007, the Content Filter agent is the next generation of Exchange Intelligent Message Filter, which is included with Exchange Server 2003. Intelligent Message Filter is based on patented machine-learning technology from Microsoft Research. During its development, Intelligent Message Filter learned the distinguishing characteristics of legitimate messages and unsolicited commercial e-mail messages (spam), which were submitted by Microsoft partners and classified as either legitimate messages or spam.
422
Intelligent Message Filter evaluates inbound e-mail messages and assesses the probability that an inbound message is legitimate or spam. Unlike many other filtering technologies, Intelligent Message Filter uses characteristics from a statistically significant sample of e-mail messages. The inclusion of legitimate messages in this sample reduces the chance of mistakes. Because Intelligent Message Filter recognizes characteristics of legitimate messages and spam, the accuracy of Intelligent Message Filter is increased. Intelligent Message Filter machine-learning is an ongoing, cumulative process. Updates to Intelligent Message Filter are available periodically through Microsoft Update.
For example, you may determine that messages that have an SCL rating of 7 or higher must be deleted, messages that have an SCL rating of 6 must be rejected, and messages that have an SCL rating of 5 must be quarantined. You can adjust the SCL threshold behavior by assigning different SCL ratings to each of these actions. For more information about how to adjust the SCL threshold to suit your organization's requirements and about per-recipient SCL thresholds, see Adjusting the Spam Confidence Level Threshold. Note: Messages that are over 11 MB are not scanned by the Intelligent Message Filter. Instead, they pass through the Content Filter without being scanned. However, the default maximum message size limit configured on Exchange 2007 Receive connectors is 10 MB. Therefore, the 11 MB threshold for the Intelligent Message Filter is not a practical concern in the default Exchange configuration.
423
424
the administrators set exceptions to content filtering by entering a list of SMTP e-mail recipient addresses in the Content Filter agent configuration. You can also specify senders and sender domains that you do not want the Content Filter agent to block.
Safelist Aggregation
In Exchange Server 2007, the Content Filter agent on the Edge Transport server uses the Microsoft Office Outlook 2003 Safe Senders Lists, Safe Recipients Lists, and trusted contacts from Outlook to optimize spam filtering. Safelist aggregation is a set of anti-spam functionality that is shared across Outlook and Exchange Server 2007. As its name suggests, this functionality collects data from the anti-spam safe lists that Outlook users configure and makes this data available to the anti-spam agents on the Edge Transport server. When an Exchange administrator enables and correctly configures safelist aggregation, the Content Filter agent passes safe e-mail messages to the enterprise mailbox without additional processing. E-mail messages that Outlook users receive from contacts that those users have added to their Outlook Safe Recipients List, Safe Senders List, or trusted contacts list are identified by the Content Filter agent as safe. For more information, see Safelist Aggregation.
Recipient Filtering
The Recipient Filter agent is an anti-spam agent that is enabled on computers that have the Microsoft Exchange Server 2007 Edge Transport server role installed. The Recipient Filter agent relies on the RCPT TO Simple Mail Transfer Protocol (SMTP) header to determine what action, if any, to take on an inbound message. When you configure anti-spam agents on an Edge Transport server, the agents act on messages cumulatively to reduce the number of unsolicited messages that enter the
425
organization. For more information about how to plan and deploy the anti-spam agents, see Anti-Spam and Antivirus Functionality. The Recipient Filter agent blocks messages according to the characteristics of the intended recipient in the organization. The Recipient Filter agent can help you prevent the acceptance of messages in the following scenarios: Nonexistent recipients You can prevent delivery to recipients that are not in the organization's address book. For example, you may want to stop delivery to frequently misused account names, such as administrator@contoso.com or support@contoso.com. Restricted distribution lists You can prevent delivery of Internet mail to distribution lists that should be used only by internal users. Mailboxes that should never receive messages from the Internet You can prevent delivery of Internet mail to a specific mailbox or alias that is typically used inside the organization, such as Helpdesk. The Recipient Filter agent acts on recipients that are stored in one or both of the following data sources: Recipient Block list An administrator-defined list of recipients for which inbound messages from the Internet should never be accepted. Recipient Lookup Verification that the recipient is in the organization. Recipient Lookup requires access to Active Directory directory service information that is provided by EdgeSync to Active Directory Application Mode (ADAM). For more information about Recipient Block lists and Recipient Lookup functionality, see "Recipient Data Sources" later in this document. When you enable the Recipient Filter agent, one of the following actions is taken on inbound messages according to the characteristics of the recipients. These recipients are indicated by the RCPT TO header. If the inbound message contains a recipient that is on the Recipient Block list, the Edge Transport server sends a "550 5.1.1 User unknown" SMTP session error to the sending server. If the inbound message contains a recipient that does not match any recipients in Recipient Lookup, the Edge Transport server sends a "550 5.1.1 User unknown" SMTP session error to the sending server. If the recipient is not on the Recipient Block list and the recipient is in Recipient Lookup, the Edge Transport server sends a "250 2.1.5 Recipient OK" SMTP response to the sending server, and the next anti-spam agent in the chain processes the message.
426
Recipient Lookup
One benefit of the Recipient Filter agent is the ability to verify that the recipients on an inbound message are in your organization before Exchange 2007 transmits the message into your organization. The ability to verify recipients in your organization relies on a recipient data source that is available to the Edge Transport server. Because the Edge Transport server is not an Active Directory domain-joined computer and could be segregated from the organization by a firewall, you must configure a Recipient Lookup data source for the Edge Transport server to use. The Edge Transport server role uses ADAM for configuration and data storage. For more information, see Using EdgeSync to Populate ADAM with Active Directory Data.
Tarpitting Functionality
Recipient Lookup functionality enables the sending server to determine whether an e-mail address is valid or invalid. As mentioned earlier, when the recipient of an inbound message is a known recipient, the Edge Transport server sends back a "250 2.1.5 Recipient OK" SMTP response to the sending server. This functionality provides an ideal environment for a directory harvest attack. A directory harvest attack is an attempt to collect valid e-mail addresses from a particular organization so that the e-mail addresses can be added to a spam database. Because all spam income relies on trying to make people open e-mail messages, addresses that are known to be active are a commodity that malicious users, or spammers, pay for. Because the SMTP protocol provides feedback for known senders and unknown senders, a spammer can write an automated program that uses common names or dictionary terms to construct e-mail
427
addresses to a specific domain. The program collects all e-mail addresses that return a "250 2.1.5 Recipient OK" SMTP response and discards all e-mail addresses that return a "550 5.1.1 User unknown" SMTP session error. The spammer can then sell the valid e-mail addresses or use them as recipients for unsolicited messages. To combat directory harvest attacks, Exchange 2007 includes tarpitting functionality. Tarpitting is the practice of artificially delaying server responses for specific SMTP communication patterns that indicate high volumes of spam or other unwelcome messages. The intent of tarpitting is to slow down the communication process for such e-mail traffic so that the cost of sending spam increases for the person or organization that is sending the spam. Tarpitting makes directory harvest attacks too costly to automate efficiently. If tarpitting is not configured, Exchange Server immediately returns a "550 5.1.1 User unknown" SMTP session error to the sender when a recipient is not located in Recipient Lookup. Alternatively, if tarpitting is configured, SMTP waits a specified number of seconds before it returns the "550 5.1.1 User unknown" error. This pause in the SMTP session makes automating a directory harvest attack more difficult and less cost-effective for the spammer. By default, tarpitting is configured for 5 seconds on Receive connectors. To configure the time before SMTP returns the "550 5.1.1 User unknown" error, use the Exchange Management Console or the Exchange Management Shell to set the TarpitInterval value on the Receive connector. For more information about how to administer and configure Receive connectors, see SMTP Receive Connectors.
Multiple Namespaces
Some organizations accept e-mail messages for multiple domains. For example, one organization may accept messages for both the Contoso.com and the Woodgrovebank.com domains. Sometimes organizations are authoritative for all the domains for which they accept messages. In the context of SMTP, the organization is authoritative for a domain if the organization hosts and manages the mailboxes for that domain. This relationship extends to the Edge Transport server. An Edge Transport server may accept messages for multiple domains, but it may not be authoritative for all the domains. For example, an Edge Transport server can be configured to be authoritative for all recipients in the Contoso.com domain, but the Edge Transport server still accepts and forwards messages for the Woodgrovebank.com domain. When you enable the Recipient Filter agent, the Recipient Filter agent performs recipient lookups only for the domains that are specified as authoritative in the Transport Server configuration. If an Edge Transport server accepts and forwards messages on behalf of another domain, but the Edge Transport server is not configured as authoritative, the Recipient Filter agent does not perform a recipient lookup. However, if a non-authoritative recipient is specified in the Recipient Block list, the recipient will still be blocked.
428
Sender Filtering
The Sender Filter agent is an anti-spam filter that is enabled on computers that have the Microsoft Exchange Server 2007 Edge Transport server role installed. The Sender Filter agent relies on the MAIL FROM: Simple Mail Transfer Protocol (SMTP) header to determine what action, if any, to take on an inbound e-mail message. When you configure anti-spam filters on an Edge Transport server, the filters act on messages cumulatively to reduce the number of unsolicited messages that enter the enterprise. For more information about how to plan and deploy the anti-spam features, see Anti-Spam and Antivirus Functionality. The Sender Filter agent acts on messages from specific senders outside the organization. Administrators of Edge Transport servers maintain a list of senders who are blocked from sending messages to the organization. As an administrator, you can block single senders (kim@contoso.com), whole domains (*@.contoso.com), or domains and all subdomains (*@*.contoso.com). You can also configure what action the Sender Filter agent should take when a message that has a blocked sender is found. You can configure the following actions: You can configure the Sender Filter agent to reject the SMTP request with a "554 5.1.0 Sender Denied" SMTP session error and to close the connection. You can configure the Sender Filter agent to accept the message and update the message to indicate that the message came from a blocked sender. Because the message came from a blocked sender and it is marked as such, the Content Filter agent will use this information when it calculates the spam confidence level (SCL). You can use the Exchange Management Console or the Exchange Management Shell to designate blocked senders and to define how the Sender Filter agent should act on messages from blocked senders. For more information about how to configure the Sender Filter agent, see How to Configure Sender Filtering.
429
Important: The MAIL FROM: SMTP headers can be spoofed. Therefore, you should not rely on the Sender Filter agent only. Use the Sender Filter agent and the Sender ID agent together. The Sender ID agent uses the originating IP address of the sending server to try to verify that the domain in the MAIL FROM: SMTP header matches the domain that is registered. For more information about the Sender ID agent, see Sender ID.
Sender ID
The Sender ID agent is an anti-spam agent that is enabled on computers that have the Microsoft Exchange Server 2007 Edge Transport server role installed. The Sender ID agent relies on the RECEIVED Simple Mail Transfer Protocol (SMTP) header and a query to the sending system's domain name system (DNS) service to determine what action, if any, to take on an inbound message. When you configure anti-spam agents on an Edge Transport server, the agents act on messages cumulatively to reduce the number of unsolicited e-mail messages that enter the organization. For more information about how to plan and deploy the anti-spam agents, see Anti-Spam and Antivirus Functionality. Sender ID is intended to combat the impersonation of a sender and a domain, a practice that is frequently called spoofing. A spoofed mail is an e-mail message that has a sending address that was modified to appear as if it originates from a sender other than the actual sender of the message. Spoofed mails typically contain a From: address that purports to be from a certain organization. In the past, it was relatively easy to spoof the From: address, in both the SMTP session, such as the MAIL FROM: header, and in the RFC 822 message data, such as From: "Masato Kawai" masato@contoso.com, because the headers were not validated.
430
behalf of the domain that is specified in the message. For more information about what an SPF record contains and how to create an SPF record, see Sender ID. The Edge Transport server updates the message metadata with the Sender ID status based on the SPF record. After the Edge Transport server updates the message metadata, the Edge Transport server delivers the message as it ordinarily would.
The Sender ID status is added to the message metadata and is later converted to a MAPI property. The Junk E-mail filter in Microsoft Office Outlook uses the MAPI property during the generation of the spam confidence level (SCL) value. Outlook neither displays the Sender ID status nor necessarily flags a message as junk at certain Sender ID values. Outlook uses the Sender ID status value only during the calculation of the SCL value. Besides the seven scenarios that generate the Sender ID statuses, the Sender ID evaluation process may reveal instances where the From: IP address is missing. If the From: IP address is missing, the Sender ID status cannot be set. If the Sender ID status cannot be set, Exchange Server continues to process the message without including a Sender ID status on the message. The message is not discarded or rejected. In this scenario, Sender ID status is not set, and an application event is logged. For more information about how the Sender ID status is displayed in messages, see Anti-Spam Stamps.
Sender ID Options for Handling Spoofed Mail and Unreachable DNS Servers
You can also define how the Edge Transport server handles messages that are identified as spoofed mail and how the Edge Transport server handles messages when a DNS server
431
cannot be reached. The options for how the Edge Transport server handles spoofed mail and unreachable DNS servers include the following actions: Stamp the status This option is the default action. All inbound messages to your organization have the Sender ID status included in the metadata of the message. Reject This option rejects the message and sends an SMTP error response to the sending server. The SMTP error response is a 5xx level protocol response with text that corresponds to the Sender ID status. Delete This option deletes the message without informing the sending system of the deletion. In fact, the Edge Transport server sends a fake "OK" SMTP command to the sending server and then deletes the message. Because the sending server assumes the message was sent, it does not retry sending the message in the same session. For more information about how to configure the Sender ID agent, see How to Configure SenderID.
Sender Reputation
Sender Reputation is anti-spam functionality that is enabled on computers that have the Microsoft Exchange Server 2007 Edge Transport server role installed to block messages according to many characteristics of the sender. Sender reputation relies on persisted data about the sender to determine what action, if any, to take on an inbound message. When you configure anti-spam agents on an Edge Transport server, the agents act on messages cumulatively to reduce the number of unsolicited messages that enter the organization. For more information about how to plan and deploy the anti-spam agents, see Anti-Spam and Antivirus Functionality.
432
HELO/EHLO analysis The HELO and EHLO SMTP commands are intended to provide the domain name, such as Contoso.com, or IP address of the sending SMTP server to the receiving SMTP server. Malicious users, or spammers, frequently forge the HELO/EHLO statement in various ways. For example, they type an IP address that does not match the IP address from which the connection originated. Spammers also put domains that are known to be locally supported at the receiving server in the HELO statement in an attempt to appear as if the domains are in the organization. In other cases, spammers change the domain that is passed in the HELO statement. The typical behavior of a legitimate user may be to use a different, but a relatively constant, set of domains in their HELO statements. Therefore, analysis of the HELO/EHLO statement on a per-sender basis may indicate that the sender is likely to be a spammer. For example, a sender that provides many different unique HELO/EHLO statements in a specific time period is more likely to be a spammer. Senders who consistently provide an IP address in the HELO statement that does not match the originating IP address as determined by the Connection Filter agent are also more likely to be spammers, as are remote senders who consistently provide a local domain name, which is in the same organization as the Edge Transport server, in the HELO statement. Reverse DNS lookup Sender reputation also verifies that the originating IP address from which the sender transmitted the message matches the registered domain name that the sender submits in the HELO or EHLO SMTP command. Sender reputation performs a reverse DNS query by submitting the originating IP address to DNS. The result that is returned by DNS is the domain name that is registered by using the domain naming authority for that IP address. Sender reputation compares the domain name that is returned by DNS to the domain name that the sender submitted in the HELO/EHLO SMTP command. If the domain names do not match, the sender is likely to be a spammer, and the overall SRL rating for the sender is adjusted upward. The Sender ID agent performs a similar task, but the success of the Sender ID agent relies on legitimate senders to update their DNS infrastructure to identify all the e-mail-sending SMTP servers in their organization. By performing a reverse DNS lookup, you can help identify potential spammers. Analysis of SCL ratings on messages from a particular sender When the Content Filter agent processes a message, it assigns a spam confidence level (SCL) rating to the message. The SCL rating is a number between 0 and 9. A higher SCL rating indicates that a message is more likely to be spam. Data about each sender and the SCL ratings that their messages yield is persisted for analysis by sender reputation. Sender reputation calculates statistics about a sender according to the ratio between all messages from that sender that had a low SCL rating in the past and all messages from that sender that had a high SCL rating in the past. Additionally, the number of messages that have a high SCL rating that the sender has sent in the last day is applied to the overall SRL.
433
Sender open proxy test An open proxy is a proxy server that accepts connection requests from anyone anywhere and forwards the traffic as if it originated from the local hosts. Proxy servers relay TCP traffic through firewall hosts to provide user applications transparent access across the firewall. Because proxy protocols are lightweight and independent of user application protocols, proxies can be used by many different services. Proxies can also be used to share a single Internet connection by multiple hosts. Proxies are usually set up so that only trusted hosts inside the firewall can cross through the proxies. Open proxies can exist because of either of the following conditions: Unintentional misconfiguration
Malicious Trojan horse programs. A Trojan horse program is a program that masquerades as another common program in an attempt to receive information. Frequently with insufficient logging, open proxies provide an ideal way for malicious users to hide their true identities and launch denial of service (DoS) attacks or send spam. As more proxy servers are configured to be open by default, open proxies have become more common. Additionally, malicious users can use multiple open proxies together to hide the sender's originating IP address. When sender reputation performs an open proxy test, it does so by formatting an SMTP request in an attempt to connect back to the Edge Transport server from the open proxy. If an SMTP request is received from the proxy, sender reputation verifies that the proxy is an open proxy and updates the open proxy test statistic for that sender. Sender reputation weighs each of these statistics and calculates an SRL for each sender. The SRL is a number between 0 and 9 that predicts the probability that a specific sender is a spammer or otherwise malicious user. A value of 0 indicates that the sender is not likely to be a spammer; a value of 9 indicates that the sender is likely to be a spammer. You can configure a block threshold between 0 and 9 at which sender reputation issues a request to the Sender Filter agent, and, therefore, blocks the sender from sending a message into the organization. When a sender is blocked, the sender is added to the Blocked Senders list for a configurable period. How blocked messages are handled depends on the configuration of the Sender Filter agent. The following actions are the options for handling blocked messages: Reject Delete and archive Accept and mark as a blocked sender
If a sender is included in the Microsoft Block List or IP Reputation Service, sender reputation issues an immediate request to the Sender Filter agent to block the sender. To take advantage of this functionality, you must enable and configure Microsoft Exchange Anti-spam Update Service.
434
By default, the Edge Transport server sets a rating of 0 for senders that have not been analyzed. After a sender has sent 20 or more messages, sender reputation calculates an SRL that is based on the statistics listed earlier in this topic.
For more information about how to configure sender reputation, see the following topics: Configuring Sender Reputation How to Enable Sender Reputation How to Set the Sender Reputation Level Block Threshold How to Enable or Disable Open Proxy Server Detection for Sender Reputation
How to Configure Outbound Access for Detection of Open Proxy Servers for Sender Reputation
435
Safelist Aggregation
In Microsoft Exchange Server 2007, the term safelist aggregation refers to a set of anti-spam functionality that is shared across Microsoft Office Outlook and Exchange. This functionality collects data from the anti-spam Safe Recipients Lists or Safe Senders Lists and contact data that Outlook users configure and makes this data available to the anti-spam agents on the computer that has the Edge Transport server role installed. Safelist aggregation can help reduce the instances of false-positives in anti-spam filtering that is performed by the Edge Transport server. When an Exchange administrator enables and correctly configures safelist aggregation, the Content Filter agent passes safe e-mail messages to the enterprise mailbox without additional processing. E-mail messages that Outlook users receive from contacts that those users have added to their Outlook Safe Recipients List or Safe Senders List or have trusted are identified by the Content Filter agent as safe. An Outlook contact is a person, inside or outside the user's organization, about whom the user can save several types of information, such as e-mail and street addresses, telephone and fax numbers, and Web page URLs. Safelist aggregation can help reduce the instances of false-positives in anti-spam filtering that is performed by the Edge Transport server. A false-positive is a positive test or filter result that is in a subject or body of data that does not possess the attribute for which the filter or test is being conducted. In the context of spam filtering, a false-positive occurs when a spam filter incorrectly identifies a message from a legitimate sender as spam. For organizations that filter hundreds of thousands of messages from the Internet every day, even a small percentage of false-positives means that users might not receive many messages that were identified incorrectly as spam and therefore were quarantined or deleted. Safelist aggregation is likely the most effective way to reduce false-positives. Outlook 2003 and the next release of Outlook, which is included in Office 2007, let users create Safe Senders Lists. Safe Senders Lists specify a list of domain names and e-mail addresses from which the Outlook user wants to receive messages. By default, e-mail addresses in Outlook Contacts and in the Exchange Server global address list are included in this list. By default, Outlook adds all external contacts to which the user sends mail to the Safe Senders List.
436
Safe senders and safe recipients The From: message header indicates a sender. The To: field of the e-mail message indicates a recipient. Safe senders and safe recipients are represented by full Simple Mail Transfer Protocol (SMTP) addresses, such as masato@contoso.com. Outlook users can add senders and recipients to their safe lists. Safe domain The domain is the part of an SMTP address that follows the @ symbol. For example, contoso.com is the domain in the masato@contoso.com address. Outlook users can add sending domains to their safe lists. External contacts Two types of external contacts can be included in the safelist aggregation. The first type of external contact includes contacts to whom Outlook users have sent mail. This class of contact is added to the Safe Senders List only if an Outlook user selects the corresponding option in the Junk E-mail settings in Outlook 2003 or Exchange 2007. The second type of external contact includes the users' Outlook contacts. Users can add or import these contacts into Outlook. This class of contact is added to the Safe Senders List only if an Outlook user selects the corresponding option in the Junk E-mail Filter settings in Outlook 2003 or Outlook 2007.
437
entries, a 4-byte hash is produced. When a message is received from the Internet, Exchange Server hashes the sender address and compares it to the hashes that are stored on behalf of the Outlook user to whom the message was sent. If an inbound hash matches, the message bypasses content filtering. One-way hashing of safelist collection entries performs the following important functions: It minimizes storage and replication space Most of the time, hashing reduces the size of the data that is hashed. Therefore, saving and transmitting a hashed version of a safelist collection entry conserves storage space and replication time. For example, a user who has 200 entries in his or her safelist collection would create about 800 bytes of hashed data that is stored and replicated in Active Directory. It renders user safelist collections unusable by malicious users Because oneway hash values are impossible to reverse-engineer into the original SMTP address or domain, the safelist collections do not yield usable e-mail addresses for malicious users who might compromise an Edge Transport server.
438
The number of legitimate e-mail messages that reach the Microsoft Office Outlook user's Junk E-mail folder The number of offensive spam e-mail messages that reach the Outlook user's Inbox or Junk E-mail folder
439
The number of spam e-mail messages that reach the Outlook user's Inbox
440
To configure the SCL Junk E-mail folder threshold on individual user mailboxes, you must use the Set-Mailbox command in the Exchange Management Shell. You can configure the SCL delete, reject, and quarantine thresholds in two locations: On the content filter configuration (per-transport server SCL configuration) We recommend that you set the organization-wide SCL thresholds on the content filter configuration on the Edge Transport server. If you run anti-spam agents on the Hub Transport server, set the organization-wide SCL thresholds on the Hub Transport server. By applying the same SCL thresholds across all transport servers, you can establish a consistent baseline level of SCL functionality across the organization. Over time, as you analyze the spam functionality and metrics that are provided by the anti-spam logging and reporting features, you can make additional adjustments to these SCL threshold configurations as needed. On user mailboxes (per-recipient SCL configuration) You can use the SetMailbox command to set per-recipient SCL delete, reject, and quarantine thresholds on individual user mailboxes. As mentioned earlier in this topic, you set the SCL Junk E-mail folder threshold on individual user mailboxes by using the Set-Mailbox command. The perrecipient SCL delete, reject, and quarantine thresholds are stored in the Active Directory directory service and are replicated to the Edge Transport servers by the Microsoft Exchange EdgeSync service. The per-recipient SCL threshold configurations are used by the Content Filter agent even if you have set per-transport server SCL configurations. Therefore, if you have set per-recipient SCL thresholds, the Content Filter agent uses the per-recipient SCL thresholds for specific users instead of the SCL configuration on the Content Filter agent. For more information about how to use the Set-Mailbox command, see Set-Mailbox.
441
that mailbox bypass all anti-spam scanning on the Edge Transport server. For more information, see How to Configure Anti-Spam Features on a Mailbox. 3. Monitor spam reports and logs closely for the first week after you enable the SCL thresholds. If the data indicates that you must make immediate adjustments, reconfigure the SCL thresholds. Otherwise, collect data and analyze the spam reporting to determine whether adjustments are required.
Spam Quarantine
Many organizations are bound by legal or regulatory requirements to preserve or deliver all legitimate e-mail messages. In Microsoft Exchange Server 2007, spam quarantine is a feature of the Content Filter agent that reduces the risk of losing legitimate messages. Spam quarantine provides a temporary storage location for messages that are identified as spam and that should not be delivered to a user mailbox inside the organization. Messages that are identified by the Content Filter agent as spam are wrapped in a non-delivery report (NDR) and are delivered to a spam quarantine mailbox inside the organization. You can manage messages that are delivered to the spam quarantine mailbox and can take appropriate actions. For example, you can delete messages or let messages that are flagged as false positives in anti-spam filtering be routed to their intended recipients. In addition, you can configure the spam quarantine mailbox to automatically delete messages after a designated time period. For more information about how the anti-spam agents filter inbound messages and the order in which the agents are applied, see Anti-Spam and Antivirus Functionality.
442
They assign a rating to messages based on the probability that a message is spam. This rating is stored with the message as a message property called the spam confidence level (SCL) rating. Spam quarantine uses the SCL rating to determine whether mail has a high-probability of being spam. The SCL rating is a numeric value between 0 and 9, where 0 is considered less likely to be spam, and 9 is considered most likely to be spam. You can configure mail that has a certain SCL rating to be deleted, rejected, or quarantined. The rating that triggers any of these actions is referred to as the SCL quarantine threshold. Within content filtering, you can configure the Content Filter agent to base its actions on the SCL quarantine threshold. For example, if you set the following conditions for the SCL thresholds: The SCL delete threshold is set to 8. The SCL reject threshold is set to 7. The SCL quarantine threshold is set to 6. The SCL Junk E-mail folder threshold to 5.
Then all e-mail with an SCL of 6 will be delivered to the spam quarantine mailbox. For more information, see How to Enable and Configure the Spam Confidence Level Thresholds.
443
For more information, see Anti-Spam Stamps. The administrator can then adjust the SCL settings to more accurately filter the spam that is coming into the organization. For more information, see Adjusting the Spam Confidence Level Threshold.
Hosted Continuity, which helps them preserve access to e-mail during and after emergency situations These services integrate with any on-premise Exchange servers that are managed in-house or Hosted Exchange e-mail services that are offered through service providers. For more information about Exchange Hosted Services, see Microsoft Exchange Hosted Services.
444
rating based on the probability that the message is spam. This rating is stored with the message as a message property that is called the spam confidence level (SCL) rating. This rating is persisted with the message when the message is sent to other Exchange servers. Figure 77 shows the order in which the default anti-spam features and Microsoft Forefront Security for Exchange Server filter inbound messages from the Internet. By default, the antispam and antivirus features are arranged in this order with the filters that use the least resources filtering first, and then the filters with that use the greatest resources filtering last. Note: Additional anti-spam features may become available in the future. As new anti-spam features are developed, they will be included in the overall mail flow. Additionally, the following figure and explanation assume that the Exchange Server 2007 Edge Transport server is the first Simple Mail Transfer Protocol (SMTP) server to accept inbound messages. In some organizations, the Edge Transport server may be deployed behind a third-party SMTP server. When the Exchange 2007 Edge Transport server is deployed behind a third-party SMTP gateway server, the Exchange 2007 Edge Transport server requires additional configuration. Specifically, you must make sure that all SMTP gateway servers are listed in the InternalSMTPServer property of the TransportConfig object. For more information, see Set-TransportConfig.
445 Figure 77 Default anti-spam features with antivirus filtering of inbound messages from the Internet
446
447
As shown in Figure 1, filters are applied in the following order when the Edge Transport server is Internet-facing: A SMTP server connects to Exchange 2007 and initiates an SMTP session. Connection filtering Sender filtering Recipient filtering Sender ID filtering Content filtering Attachment filtering Antivirus scanning
Note: Although this detail is not shown in Figure 1, connection filtering gathers information during two different events. The first event where connection filtering gathers information is shown in Figure 1, where connection filtering gathers IP address information from the connection. The second time connection filtering gathers information is shown in Figure 3 when the Sender Filter agent parses the message headers to determine the first external IP address. Agents may monitor multiple events. Figure 1 shows a high-level view of the rough order that agents are applied, when all agents are enabled, for the purposes of illustrating message flow. For more information about specific events and which agents monitor which events, see Overview of Transport Agents.
Connection Filtering
During the SMTP session, Exchange 2007 applies connection filtering by using the following criteria as shown in Figure 78.
1. The Connection filter agent examines the administrator-defined IP Allow list. If the IP address of the sending server is on the administrator-defined IP Allow list, the message is then process by Sender Filtering. 2. The Connection filter agent examines the local IP Block list. If the IP address of the sending server is found on the local IP Block list, the message is automatically rejected, and no other filters are applied. 3. The Connection filter agent examines the list of allowed IP addresses that any IP Allow List providers that you have. If the IP address of the sending server is on the list of allowed IP addresses from IP Allow List providers, the message is then processed by Sender Filtering. 4. The Connection filter agent examines the real-time block lists (RBL) of any IP Block List providers that you have configured. If the sending server's IP address is found on a RBL, the message is rejected, and no other filters are applied. For more information, see Configuring Connection Filtering. Note: If the Connection filter agent is deployed on a computer that is behind another server that faces the Internet, other filters, such as sender filtering and recipient filtering, are invoked before the Connection Filter agent.
449
Sender Filtering
After connection filtering has been applied, Exchange 2007 examines the sender e-mail address against the list of blocked senders that you configure in sender filtering as shown in Figure 79. Figure 79 Sender filtering mail flow
The Sender Filter agent then checks the sender's e-mail address that is contained in the From: header fields in the message envelope and the message header. If either From: header field matches the address in the Blocked Sender list, Exchange 2007 rejects the message at the protocol level, and no other filters are applied. Note: Even if recipients in your organization have put senders on their Microsoft Office Outlook Safe Senders List, sender filtering on the Edge Transport server will override the recipient's Outlook setting and reject the messages. For more information about sender filtering, see Configuring Sender Filtering. For more information about message envelopes and message headers, see Managing the Replay Directory.
Recipient Filtering
If sender filtering does not reject the message, Exchange runs connection filtering again. Exchange then applies the Recipient Filter agent as shown in Figure 80.
The Recipient Filter agent examines the recipient against the Recipient Block list that you configure in the recipient filter agent settings. If the intended recipient matches an e-mail address on your Recipient Block list, Exchange 2007 rejects the message for that particular recipient. In addition, the Recipient Filter agent checks to see whether the recipient is present in the organization. If the recipient is not present in the organization, Exchange rejects the message for that particular recipient. If multiple recipients are listed on the message and all the recipients are not on the Recipient Block list, the message will continue to process. Otherwise, if the message is bound for only a single blocked recipient, no other filters are applied. When a message with blocked recipients is processed, the set of blocked recipients are removed from the message, and the message continues into the organization. Protocol-level SMTP rejection responses are sent to the sender for each blocked recipient. The Sender Reputation agent monitors the OnReject event to calculate sender reputation level. For more information, see Configuring Recipient Filtering.
Sender ID Filtering
If the message still contains valid recipients after recipient filtering has been applied, Exchange 2007 runs Sender ID as shown in Figure 81.
First, the Sender ID agent determines the Purported Responsible Address (PRA) of the message using the algorithm described in RFC 4407. This step is required to accurately identify the message's sender. The PRA is an SMTP address, such as kim@contoso.com. The Sender ID agent then performs a domain name service (DNS) lookup against the domain part of the PRA. If that domain has published a sender policy framework (SPF) record, the agent uses the SPF record to evaluate the message according to the specification for RFC 4408. The result of the evaluation is stamped on the message in the anti-spam stamp. If that domain does not have a published SPF record, the Sender ID agent stamps a Sender ID result of "None" on the message. For more information about the types of stamps used for Sender ID filtering, see Anti-Spam Stamps. If the sender's DNS is from a blocked domain or a blocked address, the following actions may be taken depending on your configuration of Sender ID actions: Reject message If the Sender ID action is set to Reject Message, Exchange rejects the message and sends an SMTP error response to the sending server. The SMTP error response is a 5xx level protocol response with text that corresponds to the Sender ID status. Delete message If the Sender ID action is set to Delete Message, Exchange deletes the message without informing the sending server of the deletion. In fact, the computer that has the Edge Transport server role installed sends a fake "OK" SMTP command to the sending server and then deletes the message. Because the sending server assumes that the message was sent, the sending server will not retry sending the message in the same session. Stamp message with Sender ID result and continue processing Exchange stamps the message with the Sender ID result and continues processing the message. This metadata is evaluated by the Content Filter agent when a SCL is calculated.
452
Additionally, sender reputation uses the message metadata when it calculates a sender reputation level for the sender of the message. For more information, see Configuring Sender ID.
Content Filtering
Before Exchange content filtering calls the Exchange Intelligent Message Filter, it applies sender filtering again. The Exchange server then applies the Content Filter agent as shown in Figure 82. Figure 82 Content filtering message flow
The Content Filter agent checks the following conditions in the message. If any of the conditions are true, the message bypasses content filtering and attachment filtering. These messages then go on to antivirus scanning for processing. The sender's IP address is on the IP Allow list for connection filtering. All recipients are on the exceptions list for content filtering.
The AntiSpamBypassEnabled parameter is set to $True on all the recipients' mailboxes. All the recipients have added this sender to their Outlook Safe Sender list, which is updated to the Edge Transport server by using safelist aggregation.
453
The sender is a trusted partner and on the organization's list of senders that are not filtered. In addition to the conditions listed here, if the SMTP session has been authenticated as a trusted partner, and if the administrator has granted the Bypass Anti-Spam (Ms-Exch-BypassAnti-Spam) permission to partners, the anti-spam agents will be disabled for messages during that session. The Bypass Anti-Spam permission is not granted to partners by default and must be assigned by an administrator. If a message does not meet any of the conditions described here, content filtering is applied. Content filtering assigns a SCL rating to the message. Based on the SCL rating, one of the following actions occurs: If the SCL rating on the message is equal to or greater than the SCL delete threshold and the SCL delete threshold is enabled, the Content Filter agent deletes the message. There is no protocol-level communication that tells the sending system or sender that the message was deleted. If the SCL rating is lower than the SCL delete threshold value, the Content Filter agent does not delete the message. Instead, the Content Filter agent compares the SCL value to the SCL reject threshold. If the SCL rating on the message is equal to or greater than the SCL reject threshold and the SCL reject threshold is enabled, the Content Filter agent rejects the message and sends a rejection response to the sending system. You can customize the rejection response. In some cases, a non-delivery report (NDR) is sent to the original sender of the message. If the SCL rating is lower than the SCL reject threshold value, the Content Filter agent does not reject the message. Instead, the Content Filter agent compares the SCL value to the SCL quarantine threshold. If the SCL rating on the message is equal to or greater than the SCL quarantine threshold and the SCL quarantine threshold is enabled, the Content Filter agent sends the message to the spam quarantine mailbox. For more information about how to manage the spam quarantine, see Configuring and Managing Spam Quarantine. The message then continues to attachment filtering. For more information, see the following topics: How to Configure Safelist Aggregation Configuring Content Filtering
Attachment Filtering
After content filtering has been applied, Exchange applies attachment filtering as shown in Figure 83.
You can configure attachment filtering to block attachments based on their MIME content type, file name, or file name extension. If attachment filtering detects a content type of file name that has been blocked, one of the following actions will occur based on your attachment filtering settings: Reject If action setting is set to Reject, both the e-mail message and attachment are prevented from being delivered to the recipient and the system generates a DSN failure message to the sender. You can customize your rejection response. Silent Delete If the action setting is set to Silent Delete, both the e-mail message and attachment are prevented from being delivered to the recipient. A notification that the e-mail message and attachment were blocked is not returned to the sender. Strip If the action setting is set to Strip, the attachment is stripped from the e-mail message. This value allows the message and other attachments that do not match an entry on the attachment block list to be delivered to the recipient. A notification that the attachment was blocked is added to the recipient's e-mail message. If the message was not rejected or deleted, or attachment filtering did not detect blocked attachment types, the message is then scanned for viruses. For more information, see How to Configure Attachment Filtering.
Antivirus Scanning
After attachment filtering has been applied, or if the recipients were bypassed in content filtering, Forefront Security for Exchange Server antivirus scanning is applied as shown in Figure 84.
455 Figure 84 Forefront Security for Exchange Server antivirus scanning mail flow
Forefront Security for Exchange Server is an antivirus software package that is tightly integrated with Exchange 2007 and offers additional antivirus protection for your Exchange environment. When Forefront Security for Exchange Server detects messages that seem to contain a virus, the system deletes the message, generates a notification message, and sends the notification to the recipients mailbox. For more information about Forefront Security for Exchange Server, see Microsoft Forefront Security for Exchange Server User Guide.
If the SCL rating for the message is equal to or greater than the SCL Junk E-mail folder threshold and the SCL Junk E-mail folder threshold is enabled, the Mailbox server puts the message in the Outlook user's Junk E-mail folder. If the SCL value for a message is lower than the values for the SCL delete, reject, quarantine, and Junk E-mail folder thresholds, the Mailbox server puts the message in the user's Inbox. For more information about the SCL thresholds, see Adjusting the Spam Confidence Level Threshold.
456
Strategy
Your strategy for how to configure the anti-spam features and establish the aggressiveness of your anti-spam agent settings requires that you plan and calculate carefully. If you set all antispam features filters to their most aggressive levels and configure all anti-spam features to
457
reject all suspicious messages, you are more likely to reject messages that are not spam. On the other hand, if you do not set the anti-spam filters at a sufficiently aggressive level and do not set the SCL threshold low enough, you probably won't see a reduction in the spam that enters your organization. It is a best practice to reject a message when Exchange detects a bad message through the Connection Filter agent, Recipient Filter agent, or Sender Filter agent. This approach is better than quarantining such messages or assigning metadata, such as anti-spam stamps, to such messages. Therefore, the connection filter agent and recipient filter agent automatically block messages that are identified by the respective filters. The Sender Filter agent is configurable. This best practice is recommended because the spam confidence level that underlies connection filtering, recipient filtering, or sender filtering is relatively high. For example, with sender filtering, where the administrator has configured specific senders to block, there is no reason to assign the sender filtering data to such messages and to continue to process them. In most organizations, blocked messages should be rejected. If the administrator did not want them rejected, the administrator would not have put them on the Blocked Senders list. The same logic applies to real-time block list (RBL) services and recipient filtering, although the underlying confidence is not as high as the IP Block list. You should be aware that the further along the mail flow path a message travels, the greater the probability of false positives, because the anti-spam features are evaluating more variables. Therefore, you may find that if you configure the first several anti-spam features in the anti-spam chain more aggressively, you can reduce the bulk of your spam. Therefore you will save processing, bandwidth, and disk resources to process more ambiguous messages. Ultimately, you must plan to monitor the overall effectiveness of the anti-spam features. If you monitor carefully, you can continue to adjust the anti-spam features to work well together for your environment. With this approach, you should plan on a fairly non-aggressive configuration of the anti-spam features when you start. This approach lets you minimize the number of false positives. As you monitor and adjust the anti-spam features, you can become more aggressive about the type of spam and spam attacks that your organization experiences. For more information about how Microsoft planned and deployed the first generation of antispam features in Exchange Server 2003, see Messaging Hygiene at Microsoft: How Microsoft IT Defends Against Spam, Viruses, and E-Mail Attacks.
458
Content Filtering Recipient Filtering Safelist Aggregation Spam Quarantine Sender Filtering Sender ID Sender Reputation
Anti-Spam Updates
Microsoft Exchange Server 2007 includes many anti-spam features that depend on downloaded data to determine whether a message can be delivered with confidence that it is not spam. The following data must be kept up-to-date for the anti-spam features to operate optimally: Content filter updates These updates contain updated data about phishing Web sites, Microsoft SmartScreen spam heuristics, and other Intelligent Message Filter updates. Content filter updates generally contain about 6 MB of data that is useful for longer periods of time than other anti-spam update data. Microsoft IP Reputation Service data The Microsoft IP Reputation Service is an IP Block list service that is offered exclusively to Exchange 2007 customers. Administrators can decide to implement and use the Microsoft IP Reputation Service in addition to other real-time block list services. Spam signature data Spam signatures identify the latest spam campaigns. The spam is hashed into a message digest, or spam signature. This data is used by content filtering to assign a higher spam confidence level (SCL) to known spam. The spam signature files are small. A collection of spam signatures is only a few KB. The spam signatures are also time-sensitive. Note: Antivirus functionality typically requires that you update antivirus signature files regularly. Antivirus signature files currently are not included in the anti-spam Automatic Updates functionality. Anti-spam updates contain data only. They do not contain updated binaries or libraries. Antispam updates do not require mail flow interruption or service restarts.
459
Manual Updates
By default, with manual updates, anti-spam updates are not automatic. Instead, the administrator must visit Microsoft Update to download and install the content filter updates. The content filter update data is updated and available for download every two weeks. Manual updates from Microsoft Update do not include the Microsoft IP Reputation Service or spam signature data. The Microsoft IP Reputation Service and spam signature data is only available with Automatic Updates. This is a premium feature that requires either an Exchange Enterprise Client Access License (CAL) for each user mailbox, or a Microsoft Forefront Security for Exchange Server license. For more information, see How to Manually Update Content Filtering using Microsoft Update.
Automatic Updates
Automatic Updates is enabled when you run the Enable Anti-spam Updates wizard or when you run the Enable-AntispamUpdates cmdlet. When you run the Enable Anti-spam Updates wizard, you opt in to use Microsoft Update to help keep the computer that is running Microsoft Exchange up-to-date with anti-spam updates. If you opt in to Automatic Updates, you must have an Exchange Enterprise CAL for each user mailbox or a Forefront Security for Exchange Server license. For information about how to enable Automatic Updates, see How to Configure Anti-spam Automatic Updates.
460
You should pay extra attention to two important changes in Exchange 2007 when you select an antivirus software vendor: Exchange 2007 is based on a 64-bit architecture.
As described in more detail later in this topic, Exchange 2007 includes new transport agent functionality. These two changes mean that antivirus vendors must provide Exchange 2007specific software. Antivirus software that is written for earlier versions of Exchange Server is unlikely to operate correctly with Exchange 2007. At Microsoft, the Microsoft IT organization has determined that deploying antivirus software that is designed for messaging at the SMTP gateway and bridgehead servers, together with filelevel antivirus scanners on all computers, provides the optimal balance between cost and risk.
461
Servers
462
Hosted Continuity, which helps them preserve access to e-mail during and after emergency situations These services integrate with any on-premise Exchange servers that are managed in-house or Hosted Exchange e-mail services that are offered through service providers. For more information about Exchange Hosted Services, see Microsoft Exchange Hosted Services.
Understanding How Transport Rules Are Applied in an Exchange 2007 Organization Understanding Ethical Walls Understanding Attorney/Client Privileged Communication
Journaling agent The Journaling agent helps you configure how Exchange enforces e-mail retention policies on messages that are sent or received by departments or
463
individuals in your organization, to and from recipients outside your organization, or both. For more information about the Journaling agent, journal reports, and journaling in a mixed Exchange Server 2003 and Exchange Server 2007 organization, see the following topics: Overview of Journaling Understanding Journal Reports Protecting Journal Reports Understanding How to Manage Journal Reports
Understanding Journaling in a Mixed Exchange Server 2003 and Exchange Server 2007 Environment
Hosted Continuity, which helps them preserve access to e-mail during and after emergency situations These services integrate with any on-premise Exchange servers that are managed in-house or Hosted Exchange e-mail services that are offered through service providers. For more information about Exchange Hosted Services, see Microsoft Exchange Hosted Services.
464
465
Important: Replication of transport rules across an organization is dependant on Active Directory replication. Replication time between Active Directory domain controllers varies depending on the number of sites in the organization, slow links, and other factors outside the control of Exchange. When you configure transport rules in your organization, make sure that you consider replication delays. For more information about Active Directory replication, see Active Directory Replication Technologies. Important: Each Hub Transport server maintains a recipient cache that is used to look up recipient and distribution list information. The recipient cache reduces the number of requests that each Hub Transport server must make to an Active Directory domain controller. By default, the recipient cache updates every four hours. As a result, changes to transport rule recipients, such as the addition or removal of distribution list members, may not be applied to transport rules until the recipient cache is updated. Note: Each time the Hub Transport server retrieves a new transport rule configuration, an event is logged in the Security log in Event Viewer. Transport rules that are configured on Edge Transport servers are applied only to the local server on which the transport rule was created. New transport rules and changes to existing transport rules affect only e-mail messages that pass through that specific Edge Transport server. If you have more than one Edge Transport server and you want to apply a consistent set of rules across all Edge Transport servers, you must either manually configure each server or export the transport rules from one server and import them into all other Edge Transport servers.
Predicates
Predicates are used by conditions and exceptions to define what part of an e-mail message the conditions and exceptions examine to determine whether the transport rule should be applied to that message. Some predicates examine the To: or From: fields of a message, whereas other predicates examine the subject, body, or attachment size. To determine whether a transport rule should be applied to a message, most predicates require that you specify a value that the predicates use to test against the message.
Conditions
Transport rule conditions are used to indicate which e-mail message attributes, headers, recipients, senders, or other parts of the message are used to identify the e-mail messages to which a transport rule action should be applied. Most conditions accept a value that the condition should look for in the message. If the data in the section of the e-mail message that
466
the condition is inspecting matches the value of the condition, the message matches that condition. You can configure multiple conditions on a transport rule to narrow the scope of the transport rule so that it applies actions only to messages that have very specific criteria. Alternatively, you may decide not to apply any conditions. If you don't include any conditions on a transport rule, the transport rule is applied to all messages that the transport rule encounters. The number of conditions that you can apply to a single transport rule is unlimited. However, when you apply more conditions, the number of e-mail messages that meet each specified condition is reduced. Important: If you configure multiple conditions on the same transport rule, all the conditions must be met for the transport rule to apply the configured action to a particular e-mail message. When you specify multiple values on a single condition, if one or more of the values are matched, the condition is satisfied. For example, if an e-mail message has the subject Stock price information, and the SubjectContains condition on a transport rule is configured to match the words Contoso and stock, the condition is satisfied because the subject contains at least one of the values of the condition. Although conditions are used to determine which e-mail messages to include when a transport rule applies an action, transport rules also use exceptions to determine which e-mail messages to exclude from having an action applied, even though the message matches all the conditions. For more information about exceptions, see "Exceptions" later in this document. To view a list of predicates that you can use to configure transport rule conditions, see Transport Rule Predicates.
Exceptions
Transport rule exceptions are based on the same predicates that are used to create transport rule conditions. However, unlike transport rule conditions, exceptions identify the e-mail messages to which a transport rule action should not be applied. Transport rule exceptions override conditions and prevent a transport rule action from being applied to an e-mail message, even if the message matches all configured transport rule conditions. Most exceptions accept a value that the exception should look for in the message. If the data in the section of the e-mail message that the exception is inspecting matches the value of the exception, the message matches that exception. You can configure multiple exceptions on a transport rule to expand the criteria that is used to identify e-mail messages to which a transport rule action should not be applied. Alternatively, you may decide not to apply any exceptions. If you don't include any exceptions on a transport rule, the transport rule applies the rule based on whether the message matches all the configured transport rule conditions. The number of exceptions that you can apply to a single transport rule is unlimited.
467
Important: If you configure multiple exceptions on the same transport rule, only one exception must be matched for the transport rule action to be excluded from being applied to an e-mail message. When you specify multiple values on a single exception, if one or more of the values are matched, the exception is satisfied. For example, if an e-mail message has the subject Stock price information, and a transport rule uses the SubjectContains exception, which is configured to match the words Contoso and stock, the exception is satisfied because the subject contains at least one of the values of the exception. To view a list of predicates that you can use to configure transport rule exceptions, see Transport Rule Predicates.
Actions
Actions are applied to e-mail messages that match the conditions and none of the exceptions that are present on transport rules that are configured on Transport Rules agents. Each action affects e-mail messages in a different way, from redirecting the e-mail message to another address, to dropping the message. After you select the actions that you want to use, you can then assign a value to those actions. The value of the action modifies how a particular action behaves when it is applied to an e-mail message. To view a list of predicates that you can use to configure transport rule actions, see Transport Rule Actions.
468
rules to meet your organization's requirements, see Understanding Attorney-Client Privileged Communication.
To Cc Bcc On-Behalf-Of
Whether extended journal report fields are populated depends on the following circumstances: MAPI submission to a Hub Transport server Recipient addressing can be determined when a message is submitted to a Hub Transport server that uses MAPI from a client such as Microsoft Office Outlook 2007 or Outlook on a mobile device. Authenticated SMTP submission to a Hub Transport server Recipient addressing can also be determined when a message is submitted to a Hub Transport server by using authenticated Simple Mail Transfer Protocol (SMTP). The sender must not have Send-AsAnyone permissions as this indicates that the sender was a server. If recipient addressing can be determined for a particular recipient, the recipient e-mail address is inserted into the appropriate extended To, Cc, or Bcc field, which are described in the "Extended journal report fields" table later in this document. The recipient e-mail address is not inserted into the basic Recipient field, which is described in the "Basic journal report fields" table later in this document. If a message is submitted to a Hub Transport server by using any other method, such as anonymous submission from an Edge Transport server or submission from a server that is running Exchange Server 2003, Exchange cannot verify that the recipient addressing has not been tampered with. If recipient addressing cannot be verified, the recipient e-mail address is inserted in the basic Recipient field and not into an extended To, Cc, or Bcc field. For each recipient addressed on a message, one recipient journal report field is added. No recipient field contains more than one recipient e-mail address, except as follows: Recipient fields that contain recipients that have been expanded from a distribution group Recipient fields that contain recipients that have received a message forwarded from another mailbox For expanded or forwarded messages, the e-mail address of the recipient that received final delivery of the message and the e-mail address of the distribution group or mailbox that was originally addressed are included.
470
Sender
The Sender field displays the SMTP address of the sender of the e-mail message that is specified in the message's From header field or, if the message is sent on behalf of another mailbox, the Sender header field. The Subjectfield displays the MIME subject header value. The Message-ID field displays the internal Exchange Message-ID. This matches the same Message-ID that is found in the message tracking log files. The Recipient field displays the SMTP address of a recipient that is included on an e-mail message if Exchange cannot determine the recipient addressing of that message. This includes messages that originated from legacy Exchange servers and messages from the Internet.
Subject Message-ID
Recipient
471
Transport server. The SMTP address contained in the From: header field is value that populated in the On-Behalf-Of field. The following table lists the extended fields that may be included in the body of journal reports. Table 41 Extended journal report fields
Field name Description
On-Behalf-Of
The On-Behalf-Of field displays the SMTP address of the mailbox from which the message appears if the Send On Behalf Of feature is specified by the sender. The To field displays the SMTP address of a recipient that is included in the message envelope and in the To header field of the message. The recipient address can be included either directly by the sender, or indirectly through distribution list expansion or if the message was forwarded to the recipient by another mailbox. To indicate whether the message went through distribution list expansion or was forwarded, the To field may also contain one Expanded field or one Forwarded field, separated with commas. For more information about these fields, see the Expanded and Forwarded entries later in this table.
To
Cc
The Cc field displays the SMTP address of a recipient that is included in the message envelope and in the Cc header field of the message. The recipient address can be included either directly by the sender, or indirectly through distribution list expansion or if the message was forwarded to the recipient by another mailbox. To indicate whether the message went through distribution list expansion or was forwarded, the Cc field may also contain one Expanded field or one Forwarded field, separated with commas. These fields are discussed later in this table.
472
Bcc
The Bcc field displays the SMTP address of a recipient that is included in the message envelope and in the Bcc header field of the message. The recipient address can be included either directly by the sender, or indirectly through distribution list expansion or if the message was forwarded to the recipient by another mailbox. To indicate whether the message went through distribution list expansion or was forwarded, the Bcc field may also contain one Expanded field or one Forwarded field, separated with commas. These fields are discussed later in this topic.
Expanded
The Expanded field is displayed as a sub-field of the To, Cc, and Bcc fields that are described earlier in this table. The Expanded field is preceded by a comma. The SMTP address that is displayed in the Expanded field is the address of the distribution list that contains either the recipient that is specified in the To, Cc, or Bcc field or the nested distribution lists that contain the specified recipient. The address that is displayed in this field is always the first distribution list to be expanded, regardless of how many nested distribution lists may be between the original parent distribution list and the expanded final recipient that is specified in the To, Cc, or Bcc field.
473
Forwarded
The Forwarded field is displayed as a sub-field of the To, Cc, and Bcc fields that are described earlier in this table. The Forwarded field is preceded by a comma. Usually, the Forwarded field displays the e-mail address of a mailbox that is configured to forward e-mail messages to the account that is specified in the To, Cc, or Bcc field. However, you can configure a chain of forwarding mailboxes so that each mailbox forwards to the next one. If a chain of forwarding mailboxes is configured, the first forwarding mailbox is displayed in this field, and the SMTP address of the final, nonforwarding mailbox in the chain is displayed in the To, Cc, or Bcc field.
Three journal reports were created when the original message was sent. The journal report shown in the following figure lists only the recipients expanded from the Sales Group distribution group.
Two additional journal reports were generated from the previous example message. The journal reports for the Cc and Bcc recipients are identical to the preceding figure, except instead of the To journal report fields, the following fields are present in each journal report respectively: Cc: katie@adatum.com, Forwarded: christine@adatum.com Bcc: blaine@adatum.com
The following figure shows an example of a journal report that was generated when a message that originated from the Internet was processed by a Hub Transport server. The recipients in this message were addressed the same as the recipients in the previous example. However, in the journal report in this figure, the recipients are put in the Recipient field because the original message was sent from the Internet. Because the message originated from the Internet, Exchange cannot verify that the recipient addressing has not been tampered with. As with the first example, three journal reports were created for the single message. The following figure shows only the recipients that were expanded from the Sales Group distribution list.
Two additional journal reports were generated from the second example message. The journal reports for the Cc and Bcc recipients are identical to the "Journal report that displays basic recipient fields" figure, except each journal report contains the remaining recipients addressed in the second example message: Recipient: katie@adatum.com, Forwarded: christine@adatum.com Recipient: blaine@adatum.com
476
477
Exchange 2007 to help you protect the journal reports that are sent to the third-party solution providers. Exchange lets you use the following solutions to help you protect the communication between the Exchange server and the third-party solution providers: Configure Transport Layer Security (TLS) between the two systems. Require authentication on the receiving system.
Accept only e-mail messages from the Simple Mail Transfer Protocol (SMTP) address of the Microsoft Exchange contact. Configure a mail-enabled contact that sends e-mail messages to the SMTP address of the third-party solution and configure Exchange 2007 to send journal reports to that contact. Then configure the contact to accept journal reports only from Microsoft Exchange contact created in your Exchange 2007 organization. Caution: Improperly secured communication links, journaling mailboxes, or servers can expose sensitive data. TLS is a standard protocol that is used to provide secure communications on the Internet or intranets. It enables clients to authenticate servers or, optionally, servers to authenticate clients. It also provides a security channel by encrypting communications. TLS is the latest, and a more secure, version of the Secure Sockets Layer (SSL) protocol. Important: TLS encrypts the communication only between two servers. If you configure TLS to protect journal messages, and the destination server that will store the journal reports is not directly available to the Exchange server, you must configure TLS between each server through which the journal report travels.
478
479
collect those journal reports. The alternate journaling mailbox receives the non-delivery reports (NDRs) that are generated when the journaling mailbox or the server that contains the journaling mailbox refuses delivery of the journal report. When the journaling mailbox becomes available again, you can use the Send Again feature of Microsoft Office Outlook to re-submit the journal reports for delivery to the journaling mailbox. When you configure an alternate journaling mailbox, this mailbox is used to collect all the journal reports that are rejected across your whole Exchange 2007 organization. If any journaling mailbox rejects journal reports, those journal reports are sent to the single alternate journaling mailbox. Therefore, it's important to make sure that the alternate journaling mailbox and the mailbox server where it's located can support many journal reports. Caution: If you configure an alternate journaling mailbox, you must monitor the mailbox to make sure that it does not become unavailable. If the alternate journaling mailbox becomes unavailable and rejects journal reports, the rejected journal reports are lost and cannot be retrieved. Remember this when you decide whether to use an alternate journaling mailbox and how to configure the alternate journaling mailbox. Only journal reports that are submitted for delivery to an unavailable journaling mailbox after an alternate journaling mailbox is configured will be redirected to the alternate journaling mailbox. Journal reports that have already failed delivery when an alternate journaling mailbox is enabled are not redirected. If you configure an alternate journaling mailbox, you can reduce the load on your Hub Transport servers and Mailbox servers. Exchange will not continually try to deliver the journal reports to an unavailable journal mailbox. Instead, Exchange will redirect the journal reports to the alternate journal mailbox where the journal reports can remain until you are ready to resubmit them to the journal mailbox. However, because the alternate journaling mailbox collects all the rejected journal reports for the whole Exchange 2007 organization, you must make sure that this doesn't violate any laws or regulations that apply to your organization. If laws or regulations prohibit your organization from allowing journal reports sent to different journaling mailboxes from being stored in the same alternate journaling mailbox, you may be unable to configure an alternate journaling mailbox. Discuss this with your legal representatives to determine whether you can use an alternate journaling mailbox. When you create the alternate journal mailbox, you should use the same criteria that you used when you created the journal mailbox. You must make sure that the following conditions are true: Only those individuals who are authorized to access the mailbox are given access to the mailbox. You provide a storage quota that meets the needs of your data, hardware, and disaster recovery needs.
480
Remember that because the alternate journaling mailbox accepts rejected journal reports for all journal mailboxes in your Exchange 2007 organization, the hardware resource requirements and mailbox storage quotas may be significantly larger than those that are required for a journal mailbox. For more information about how to configure an alternate journal mailbox, see How to Configure an Alternate Journaling Mailbox.
Understanding Journaling in a Mixed Exchange Server 2003 and Exchange Server 2007 Environment
This topic discusses how the journaling features in Microsoft Exchange Server 2007 and Microsoft Exchange Server 2003 interoperate when you have a mixed Exchange environment. For more information about journaling, see Overview of Journaling.
481
can create journal rules to target specific recipients and senders, distribution groups, or a combination of both. It doesn't matter where the recipients or senders are. Using journal rules, you can now have a single mailbox database and journal only the recipients and senders for which you want to receive journal reports. The messages sent to and from other recipients and senders on the same mailbox database are not journaled. Journaling rules in Exchange 2007 are also managed centrally on computers that have the Hub Transport server role installed. When you configure a journal rule on a single Hub Transport server, the journal rule is automatically replicated throughout the organization to all other Hub Transport servers using the Active Directory directory service. This means that all of the Hub Transport servers in your organization use the same journaling configuration. Exchange 2007 has also retained the ability to journal messages on a per-mailbox database basis. This configuration is equivalent to the Exchange 2003 per-mailbox database configuration where all messages sent to or from mailboxes on a journaled mailbox database are journaled. All of the information included in this topic is the same regardless of whether you use journal rules or per-database journaling in Exchange 2007. Exchange 2007 uses envelope journaling and provides much more information in the journal envelopes to assist you with sifting through the potentially large amount of data that can be collected when mailboxes are journaled. The journal envelopes are formatted to enable automated searching of the contents of the journal reports by 3rd party or custom applications. For more information about journal reports in Exchange 2007, see Understanding Journal Reports.
How Exchange 2003 and Exchange 2007 Identify Journal Reports and Journaled Messages
In Exchange 2003, the journaling of messages and the identification of journal reports is controlled by the use of the X-EXCH50 message header. The X-EXCH50 message header contains extended information about the message that can't be stored elsewhere in the email message. The information stored is known as the EXCH50 binary large object (BLOB) and contains information such as journaling, spam confidence level (SCL) and other MAPI properties that do not have MIME representation. By examining the EXCH50 BLOB, Exchange 2003 is able to determine whether a message is a journal report, and therefore can bypass various system limits such as message size and mailbox recipient restrictions. Exchange 2003 also uses the EXCH50 BLOB to determine whether a message has been journaled by a previous Exchange 2003 server and prevents subsequent Exchange 2003 servers from journaling the message again. The limitation however of the EXCH50 BLOB is that because it is a proprietary extended simple mail transfer protocol (ESMTP) verb, it cannot be propagated by computers that don't have Exchange Server installed.
482
In Exchange 2007, the EXCH50 BLOB is being deprecated and replaced with firewalled simple mail transfer protocol (SMTP) headers. The X-MS-Journal-Report SMTP header identifies an Exchange 2007 journal report. The X-MS-Exchange-Organization-Processed-ByJournaling SMTP header identifies messages that have been processed by the Exchange 2007 Journal Agent. If the X-MS-Journal-Report SMTP header is included on a message, Exchange 2007 knows the message is a journal report and allows the message to act a system message and bypass message size and mailbox recipient restrictions. If the X-MS-ExchangeOrganization-Processed-By-Journaling SMTP header is included on a message, Exchange 2007 recognizes that the message has already been processed by the Journal Agent on a previous Hub Transport server and does not re-journal the message. For more information about the SMTP header firewall, see Understanding Header Firewall.
483
2003 mailbox database. Because the message is journaled at the first Exchange 2007 Hub Transport server, the journal report contains the full message header details including how each recipient is addressed. For more information about journal reports in Exchange 2007, see Understanding Journal Reports.
Configuring Routing Group Connectors Between Exchange 2003 and Exchange 2007
When you install a Hub Transport server into an Exchange 2003 organization, Exchange 2007 automatically creates a routing group called Exchange Routing Group (DWBGZMFD01QNBJR) that contains all of the Exchange 2007 servers in the organization. All Exchange 2007 servers will be members of this routing group. Then, Exchange 2007 configures a routing group connector to connect the Exchange 2007 routing group to an existing Exchange 2003 routing group. The routing group connector created by Exchange 2007 is configured to enable the EXCH50 BLOB to pass between Exchange 2007 servers and Exchange 2003 servers. If you create additional routing group connectors between the Exchange 2007 routing group and other Exchange 2003 routing groups, the routing group connectors are also configured to enable the EXCH50 BLOB to pass between Exchange 2007 servers and Exchange 2003 servers. Important: You must use the New-RoutingGroupConnector cmdlet to create new routing group connectors between Exchange 2007 servers and Exchange 2003 servers. The NewRoutingGroupConnector cmdlet configures the required permissions and defaults to enable communication between Exchange 2007 and Exchange 2003. For more information about routing group connectors, see Message Routing in a Coexistence Environment and How to Create Routing Group Connectors from Exchange 2007 to Exchange Server 2003.
484
Exchange 2007 reduces the chance of multiple journal reports being generated for a single message by supporting the EXCH50 BLOB as discussed earlier in this topic. The Exchange 2007 Hub Transport server stamps the EXCH50 BLOB on the original message with the address of the journaling mailbox where the journal report was sent. When an Exchange 2003 server receives the message from the Exchange 2007 Hub Transport server, the Exchange 2003 server examines the EXCH50 BLOB to see if the message has been journaled. If it has, and if the journal report was sent to the same journaling mailbox that is configured on the mailbox store where the mailbox resides, Exchange 2003 does not generate another journal report. Note: While Exchange 2007 supports the EXCH50 BLOB, the Journal Agent does not read it when evaluating a message received from an Exchange 2003 server. If a message matches an Exchange 2007 journal rule, a journal report will be created, even if Exchange 2003 already journaled the message and sent a journal report to the same journaling mailbox.
485
You can, however, configure distribution groups individually to use specific servers as distribution group expansions servers. This is typically done to optimize server and network traffic load. When you install Exchange 2007 into an existing Exchange 2003 organization, and you perform journaling in this mixed organization, we recommend that you configure all of your distribution groups to use Exchange 2007 Hub Transport servers as distribution group expansion servers. This is recommended because the following situation could result in messages not being journaled even if the recipients are configured for journaling: 1. Exchange 2007 recipients are configured for journaling. 2. Exchange 2007 recipients are included in a distribution group called Sales. 3. The Sales distribution group is configured to use an Exchange 2003 distribution list expansion server In this situation the following occurs if an Exchange 2007 sender sends a message to the distribution group Sales: 1. The message is sent to a Hub Transport server. 2. Because the Sales distribution group is not configured to use a Hub Transport server as the distribution group expansion server, the journal rules in the Exchange 2007 organization are unable to see the distribution group recipients. Because of this, no journal rules can be applied to the recipients within the distribution group. 3. The message is routed to the Exchange 2003 server for expansion. 4. The Exchange 2003 server expands the distribution group. Because the Exchange 2003 server cannot access the Exchange 2007 journal rule configuration, no messages are journaled. 5. The Exchange 2003 server routes the expanded messages back to the Exchange 2007 Hub Transport server for delivery to the Exchange 2007 recipients. 6. The Hub Transport receives the message. Because this is not the first server to route these messages, the Hub Transport server assumes the messages have already been evaluated for journaling and the journal rules are not applied.
486
Message Routing in a Coexistence Environment How to Create a New Journal Rule How to Enable Per-Mailbox Database Journaling How to Configure a Journaling Mailbox
487
required configuration on the Hub Transport server role and then write that information to the Edge Transport server. You subscribe an Edge Transport server to an Active Directory site. Subscribing the Edge Transport server to the Active Directory site enables the Edge Transport server to receive updates to ADAM from Active Directory and creates a synchronization relationship between the Edge Transport server and the Hub Transport servers deployed in that site. The Edge Subscription process also creates an Active Directory site membership affiliation for the Edge Transport server. The site affiliation enables Hub Transport servers in the Exchange organization to relay messages to the Edge Transport server for delivery to the Internet without having to configure explicit Send connectors. One or more Edge Transport servers can be subscribed to a single Active Directory site. However, an Edge Transport server cannot be subscribed to more than one Active Directory site. If you have more than one Edge Transport server deployed, each server can be subscribed to a different Active Directory site. Each Edge Transport server requires an individual Edge Subscription. A subscribed Edge Transport server can support only one Exchange organization. The Microsoft Exchange EdgeSync service replicates the following data from Active Directory to ADAM: Send connector configuration Accepted domains Remote domains Message classifications Safe Senders lists Recipients TLS Send and Receive Domain Secure lists Internal SMTP Servers list List of Hub Transport servers in the subscribed Active Directory site
For more information about the data that is replicated to ADAM and how it is used, see EdgeSync Replication Data. To deploy an Edge Transport server and subscribe it to an Active Directory site, follow these steps: 1. Install the Edge Transport server role. 2. Verify that the Hub Transport servers and the Edge Transport server can locate one another by using DNS name resolution. For more information about this step, see Configuring DNS Settings for Exchange 2007 Servers.
488
3. Configure the objects and settings to be replicated to the Edge Transport server. For more information about this step, see Preparing to Run the Microsoft Exchange EdgeSync Service. 4. Run the New-EdgeSubscription cmdlet in the Exchange Management Shell on the Edge Transport server to export the Edge Subscription file. 5. Copy the Edge Subscription file to a Hub Transport server. 6. Run the New-EdgeSubscription cmdlet in the Exchange Management Shell or use the New Edge Subscription wizard in the Exchange Management Console to import the Edge Subscription file. Figure 88 illustrates the Edge Subscription process. Figure 88 Edge Subscription process
When you run the New-EdgeSubscription cmdlet on the Edge Transport server, the following actions occur: An ADAM account is created. This account is called the EdgeSync bootstrap replication account (ESBRA). These credentials are used to authenticate the first EdgeSync connection to the Edge Transport server. The account is configured to expire 1,440 minutes (24 hours) after it is created. Therefore, you must complete the subscription process before that time expires. If the ESBRA expires before the Edge Subscription process is complete, you must run the New-EdgeSubscription cmdlet on the Edge Transport server again to create a new Edge Subscription file. The ESBRA credentials are retrieved from ADAM and written to the Edge Subscription file. The public key for the Edge Transport server's self-signed certificate is also exported to the Edge Subscription file. The credentials that are written to the Edge Subscription file are specific to the server from which the file is exported. Any previously created configuration objects in a class that will now be replicated to ADAM from Active Directory are deleted from ADAM and the Exchange Management Shell tasks used to configure those objects are disabled. You can still use the tasks that let you
489
view those objects. The following tasks are disabled on the Edge Transport server when you run the New-EdgeSubscription cmdlet: Set-SendConnector New-SendConnector Remove-SendConnector New-AcceptedDomain Set-AcceptedDomain Remove-AcceptedDomain New-MessageClassification Set-MessageClassification Remove-MessageClassification New-RemoteDomain Set-RemoteDomain Remove-RemoteDomain
When you import the Edge Subscription file on the Hub Transport server by running the NewEdgeSubscription cmdlet in the Exchange Management Shell or by using the New Edge Subscription wizard in the Exchange Management Console, the following actions occur: The Edge Subscription is created, establishing a record of an Edge Transport server which has been joined to an Exchange organization and to which the Microsoft Exchange EdgeSync service will propagate configuration data. This step creates the Edge configuration object in Active Directory. Each Hub Transport server in the Active Directory site receives notification from Active Directory that a new Edge Transport server has been subscribed. The Hub Transport server retrieves the ESBRA from the Edge Subscription file. The Hub Transport server then encrypts the ESBRA by using the public key of the Edge Transport server's self-signed certificate. The encrypted credentials are then written to the Edge configuration object. Each Hub Transport server also encrypts the ESBRA by using its own public key and then stores the credentials in its own configuration object. EdgeSync Replication Accounts (ESRA) is created in Active Directory for each Edge Transport-Hub Transport server pair. Each Hub Transport server stores its ESRA credentials as an attribute of the Hub Transport server configuration object. Send connectors are automatically created to relay messages outbound from the Edge Transport server to the Internet, and inbound from the Edge Transport server to the Exchange organization. For more information about how the Microsoft Exchange EdgeSync service provisions Send connectors, see EdgeSync and Send Connectors.
490
The Microsoft Exchange EdgeSync service that runs on Hub Transport servers uses the ESBRA credentials to establish a secure LDAP connection between a Hub Transport server and the Edge Transport server and performs the initial replication of data. The following data is replicated to ADAM: Topology data Configuration data Recipient data ESRA credentials
The Microsoft Exchange Credential Service that runs on the Edge Transport server installs the ESRA credentials. These credentials are used to authenticate and secure later synchronization connections. The EdgeSync synchronization schedule is established.
The Microsoft Exchange EdgeSync service that is running on the Hub Transport servers in the Active Directory site to which the Edge Transport server is subscribed will now perform oneway replication of data from Active Directory to ADAM on a regular schedule. You can also use the Start-EdgeSynchronization cmdlet in the Exchange Management Shell to override the EdgeSync synchronization schedule and immediately start synchronization. For more information about ESRA accounts and how they are used to help secure the EdgeSync synchronization process, see Understanding Edge Subscription Credentials.
The initial replication populates ADAM with data from Active Directory and can take some time, depending on the quantity of data in the directory service. Successive synchronization updates ADAM with new and changed objects and removes any objects that have been deleted from Active Directory. The directory service changes that are available to synchronize to ADAM at the synchronization intervals is completely dependent on the data that has been replicated to the global catalog server to which the Hub Transport server is bound. The Hub Transport server will bind to the global catalog server that is discovered by the Microsoft Exchange Active Directory Topology service when an Exchange 2007 server starts. Binding to a global catalog server makes sure that recipient data for every domain in the forest is propagated to ADAM. Different types of data synchronize on different schedules. The EdgeSync synchronization schedule specifies the maximum length of time between EdgeSync synchronization intervals. EdgeSync synchronization occurs at the following intervals: Configuration Data is scheduled to be synchronized at one hour intervals. Recipient Data is scheduled to be synchronized at four hour intervals. Topology Data is reloaded every 5 minutes.
The EdgeSync synchronization schedule intervals are not configurable. If you use the Start-EdgeSynchronization cmdlet in the Exchange Management Shell on the Hub Transport server to force Edge Subscription synchronization to occur immediately, you override the timer that determines the next time that EdgeSync synchronization is scheduled to occur. For more information about the Microsoft Exchange EdgeSync service and EdgeSync synchronization, see Understanding the EdgeSync Synchronization Process.
492
New Hub Transport servers have been deployed in the subscribed Active Directory site and you want the new server to participate in EdgeSync synchronization. For more information about this scenario, see "Adding or Removing a Hub Transport Server" later in this document. The license key for the Edge Transport server was applied after the Edge Subscription was created. The licensing information for the Edge Transport server is captured when the Edge Subscription is created and is shown in the Exchange Management Console for the Exchange organization. For subscribed Edge Transport servers to appear as licensed, they must be subscribed to the Exchange organization after the license key is applied on the Edge Transport server. If the license key is applied on the Edge Transport server after you perform the Edge Subscription process, the licensing information is not updated in the Exchange organization and you must resubscribe the Edge Transport server. The ESRA credentials are compromised.
Important: To resubscribe an Edge Transport server, export a new Edge Subscription file on the Edge Transport server and then import the XML file on a Hub Transport server. You must resubscribe the Edge Transport server to the same Active Directory site to which it was originally subscribed. You do not have to first remove the original Edge Subscription. The resubscription process will overwrite the existing Edge Subscription.
493
organization. After the Edge Subscription is removed from the Exchange organization, you can resubscribe the Edge Transport server to a different Active Directory site. If you want to remove an Edge Subscription, follow these steps: 1. Stop mail flow on the Edge Transport server. Disable any receive connectors on the Edge Transport server to prevent it from accepting any new messages and then wait for the queues to drain. 2. Remove the Edge Subscription by running the Remove-EdgeSubscription cmdlet on a Hub Transport server inside the Exchange organization. If you are not going to resubscribe the Edge Transport server, also run this cmdlet on the Edge Transport server after this step has been performed on a Hub Transport server. When you remove the Edge Subscription from the Exchange organization, the effect is as follows: Synchronization of information from Active Directory to ADAM stops. The ESRA accounts are removed from both Active Directory and ADAM.
The computer that has the Edge Transport server role installed is removed from the source server list of any Send connector. The automatic inbound Send connector from the Edge Transport server to the Exchange organization is removed from ADAM. When you remove the Edge Subscription from an Edge Transport server, the effect is as follows: You can no longer use the Edge Transport server features that rely on Active Directory data. Replicated data is removed from ADAM.
The tasks that were disabled when the Edge Subscription was created are re-enabled to allow for local configuration. Depending on the reason that you have removed an Edge Subscription, you may want to resubscribe that same Edge Transport server to the original Active Directory site to which it was subscribed or to a different Active Directory site. When the Edge Subscription is recreated, new credentials are generated and the complete Edge Subscription process must be followed. If you are removing the Edge Transport server from service, follow the procedures in How to Completely Remove Exchange 2007 from a Server.
494
same Active Directory site where an Edge Subscription already exists, the following actions occur: A new Edge Subscription object is created in Active Directory.
Additional ESRA accounts are created for each Hub Transport server in the Active Directory site. These accounts are replicated to ADAM and used by the EdgeSync synchronization process during synchronization with the new server. The new Edge Subscription is added to the source server list of the automatic Send connector to the Internet. Messages submitted to that connector for processing will be load-balanced between the subscribed Edge Transport servers. An inbound Send connector from the Edge Transport server to the Exchange organization is automatically created. EdgeSync synchronization to the Edge Transport server starts.
495
not been synchronized to the Edge Transport server. The task compares the data that is stored in Active Directory and the data that is stored in ADAM. Any inconsistencies in data are reported in the results output by this command. You can use the ExcludeRecipientTest parameter with the Test-EdgeSynchronization cmdlet to exclude validation of recipient data synchronization. If you include this parameter, only the synchronization of configuration objects is validated. Validating that recipient data is synchronized will take longer than validating only configuration data. If you want to verify the EdgeSync synchronization results for a specific recipient, you can use Ldp.exe to view the recipient properties that are stored in ADAM. You must locate the recipient by its Active Directory GUID and, because the data is sent hashed, you must also be able to interpret the information that is returned when you view the recipient details. This tool should be used only for viewing recipient information and should never be used to modify data in ADAM. For more information, see How to Verify EdgeSync Results for a Recipient.
496
Because Active Directory and ADAM both use Lightweight Directory Access Protocol (LDAP), and because both directory services use the Exchange 2007 schema, you can replicate data from Active Directory to ADAM. This replication is established when you subscribe an Edge Transport server to an Active Directory site. The Edge Subscription process enables the Hub Transport servers in that site to use the Microsoft Exchange EdgeSync service to synchronize recipient and configuration data from Active Directory to the ADAM instance on the Edge Transport server. The Microsoft Exchange EdgeSync service performs scheduled updates so that the information in ADAM remains current. Note: The Microsoft Exchange EdgeSync service performs only one-way replication of data from Active Directory to ADAM. Information from ADAM is never replicated to Active Directory, and any existing data in ADAM is not merged with Active Directory data. When an Edge Subscription is created, Active Directory becomes the authoritative data source for the Edge Transport server and any existing objects in ADAM of a replicated data class are overwritten.
The following sections describe these types of data and the way that they are used by the Edge Transport server.
497
They optimize the EdgeSync synchronization process to maintain a record of the current synchronization status and avoid excessive manual synchronization. The following table lists the schema extensions that are specific to Edge Subscriptions. The values assigned to these attributes are maintained by the Edge Subscription and EdgeSync synchronization process. You should not manually edit these attributes by using editing tools, such as Ldp.exe or Active Directory Service Interfaces (ADSI) Edit. Table 43 Edge Subscription schema extensions
Attribute name Description
ms-Exch-Server-EKPK-Public-Key
This attribute represents the current public key for the certificate being used by the server. This value is stored by both Edge Transport servers and Hub Transport servers. The public key is used to encrypt the credentials that are used to authenticate the server during LDAP and Simple Mail Transfer Protocol (SMTP) communication. This attribute represents the list of credentials that the Microsoft Exchange EdgeSync service uses to establish an authenticated LDAP session to ADAM. On Hub Transport servers, this attribute contains only the credentials that the Hub Transport server uses to authenticate to the subscribed Edge Transport servers. On Edge Transport servers, this attribute contains the credentials of each Hub Transport server in the subscribed Active Directory site that participates in the EdgeSync synchronization process. This attribute is only present on Hub Transport servers that run the EdgeSync synchronization process and on subscribed Edge Transport servers. This attribute is used to arbitrate between Hub Transport servers when more than one Hub Transport server tries to replicate to the same Edge Transport server.
ms-Exch-EdgeSync-Credential
ms-Exch-Edge-Sync-Lease
498
ms-Exch-Edge-Sync-Status
This attribute is only present in ADAM on the Edge Transport server object. This attribute tracks the status of replication to an ADAM instance and includes information about replication.
For more information, see the following topics: Understanding Edge Subscription Credentials Understanding the EdgeSync Synchronization Process
Configuration Information
When you subscribe to an Edge Transport server to the organization, you can manage the configuration objects that are common to the Edge Transport server and the Exchange organization from inside the organization and then write those changes to the Edge Transport server by using the Microsoft Exchange EdgeSync service. This process helps maintain a consistent configuration across all servers involved in message processing. A subset of the configuration data for the Exchange organization must also be maintained on the Edge Transport server. During the EdgeSync synchronization process, the configuration data that the Edge Transport server needs is written to the configuration partition of ADAM. If you manually configure the Edge Transport server and then decide to create an Edge Subscription for that server, the affected configuration objects are deleted. The configuration data written to ADAM includes the following: Hub Transport servers The fully qualified domain name (FQDN) of each Hub Transport servers in the subscribed Active Directory site is made available to the local ADAM store on the Edge Transport server. This information is used to derive a list of smart host servers for the inbound Send connector. Accepted domains All authoritative, internal relay, and external relay domains configured for the Exchange organization are written to ADAM. Having the accepted domains available to Edge Transport enables the Exchange organization to perform domain filtering and reject invalid SMTP traffic into their organization as early as possible. For more information about accepted domains, see Managing Accepted Domains. Message classifications If message classifications are available on the Edge Transport server, transport agents and content conversion can act on message classifications in the perimeter network. For example, the Attachment Filter agent can apply the Attachment Removed classification when it removes an attachment. Therefore, informational text will be displayed to a Microsoft Outlook user or an Outlook Web Access user to tell the recipient what happened. Agents that are developed for use by third-party applications can use message classifications in a similar manner. Also, message
499
classifications may have to be translated by the Edge Transport server from a GUID in an X-header to TNEF as a localized recipient description. Remote domains All remote domain policies configured for the Exchange organization are written to ADAM. Remote domain policies control out-of-office message settings and message format settings for a remote domain. For more information about remote domains, see Managing Remote Domains. Send connectors By default, the Send connectors required to enable end-to-end mail flow between the Exchange organization and the Internet are automatically created. Any existing Send connectors on the Edge Transport server are deleted. If you want to configure additional Send connectors, you configure the Send connector inside the Exchange organization and select the Edge Subscription as the source server for the connector. For more information, see EdgeSync and Send Connectors. Internal SMTP servers The value for the InternalSMTPServers attribute is stored on the TransportConfig object for both the Exchange organization and the local Edge Transport server. During the EdgeSync synchronization process, the value that is stored on the local Edge transport server object is overwritten with the value that is stored on this object for the Exchange organization. This attribute specifies a list of internal SMTP server IP addresses or IP address ranges that should be ignored by Sender ID and connection filtering. Domain Secure lists The TLSReceiveDomainSecureList and the TLSSendDomainSecureList attributes are stored on the TransportConfig object for both the Exchange organization and the local Edge Transport server. During the EdgeSync synchronization process, the value that is stored on the local Edge transport server object is overwritten with the value that is stored on this object for the Exchange organization. These attributes specify the list of remote domains that are configured for mutual TLS authentication. The tasks used to configure the configuration objects described earlier in this section are disabled on the Edge Transport server when it is subscribed to the Exchange organization. You can still use the tasks that let you view these objects. If you remove an Edge Subscription, all replicated configuration objects are removed from ADAM.
Recipient Information
The recipient information that is replicated to ADAM includes only a subset of the recipient attributes. Only the data that the Edge Transport server must have to perform certain anti-spam tasks is replicated. Distribution groups are not replicated to ADAM. The recipient information replicated to ADAM includes the following: Recipients The list of recipients in the Exchange organization is replicated to ADAM. Each recipient is identified by the GUID assigned to it in Active Directory. If you configure a recipient's user account to deny receipt of mail from outside the organization, the recipient
500
is not replicated to ADAM. If you disable or delete the mailbox for a recipient, it is not replicated to ADAM. Proxy addresses All proxy addresses assigned to each recipient are replicated to ADAM as hashed data. This is a one-way hash that uses Secure Hash Algorithm (SHA) 256. SHA-256 generates a 256-bit message digest of the original data. Storing proxy addresses as hashed data helps secure this information in case the Edge Transport server or ADAM is compromised. Proxy addresses are referenced when the Edge Transport server performs the recipient lookup anti-spam task. Safe Senders List and Safe Recipients List The Safe Senders Lists and Safe Recipients Lists that are defined in each recipient's Outlook instance are aggregated and replicated to ADAM. These settings are stored on the Mailbox store where the recipient's mailbox resides. Information about blocked senders is not replicated. An Outlook user's safelist collection is the combined data from the user's Safe Senders List, Safe Recipients List, Blocked Senders List, and external contacts. Having safelist collection data available in ADAM enables the Edge Transport server to screen senders appropriately, reducing the operational overhead involved with filtering mail. This information is sent as hashed data. Per Recipient anti-spam settings By using the Set-Mailbox cmdlet, you can assign anti-spam threshold settings per recipient that differ from the organization-wide anti-spam settings. If you configure per recipient anti-spam settings, these settings override the organization-wide settings. By replicating these settings to ADAM, the per recipient settings can be considered before the message is relayed to the Exchange organization. This information is sent as hashed data. If you remove an Edge Subscription, all the replicated data is also removed and you will no longer be able to use the Edge Transport features that rely on this recipient data.
Topology Information
The topology information includes notification of newly subscribed Edge Transport servers or removed Edge Subscriptions. This data is refreshed every five minutes.
501
502
503
scheduled synchronization occurs, after a five-minute wait, the lock is released and another Microsoft Exchange EdgeSync service takes over the lease option and performs synchronization. This method of locking and leasing prevents more than one instance of the Microsoft Exchange EdgeSync service from pushing data to the same Edge Transport server at the same time. Note: When an Edge Transport server is subscribed to an Active Directory site, all the Hub Transport servers that are installed in that Active Directory site at that time can participate in the EdgeSync synchronization process. If one of those servers is removed, the Microsoft Exchange EdgeSync service that is running on the remaining Hub Transport servers will continue the data synchronization process. However, if new Hub Transport servers are installed in the Active Directory site, they will not participate in the EdgeSync synchronization process. To enable those Hub Transport servers to participate in the EdgeSync synchronization process, you have to resubscribe the Edge Transport server. The following table lists the EdgeSync properties that are related to the locking and leasing process. The properties are not configurable. Table 44 EdgeSync lease properties
Property name Value Description
Lock duration
5 minutes
This setting determines for how long a particular Microsoft Exchange EdgeSync service will acquire a lock. If the Microsoft Exchange EdgeSync service on the Hub Transport server that is holding this lock does not respond, it will take five minutes for the Microsoft Exchange EdgeSync service on another Hub Transport server to take over the lease. Forcing EdgeSync synchronization does not override this value.
504
Option duration
1 hour
This setting determines for how long a Microsoft Exchange EdgeSync service can declare a lease option on an Edge Transport server. If the Microsoft Exchange EdgeSync service holding the lease is unavailable and does not restart during this option period, no other Microsoft Exchange EdgeSync service will take over the lease option, unless you force EdgeSync synchronization. This setting determines how frequently the lock field is updated when a Microsoft Exchange EdgeSync service has acquired a lock to an Edge Transport server.
Lock renewal
1 minute
Synchronization Schedule
Different types of data synchronize on different schedules. The schedule specifies the maximum length of time that a Microsoft Exchange EdgeSync service should go between synchronization intervals. The EdgeSync schedule intervals are not configurable. However, if you use the Start-EdgeSynchronization cmdlet in the Exchange Management Shell to force synchronization of Edge Subscriptions to occur immediately, you override the timer that determines the next time that EdgeSync synchronization is scheduled to occur. The following table lists the EdgeSync schedule parameters that determine when different types of data are synchronized to ADAM. Table 45 EdgeSync schedule parameters
505
Parameter
Value
Description
Configuration
1 hour
This parameter determines the frequency at which the Microsoft Exchange EdgeSync service will try to synchronize configuration data to an Edge Transport server. This parameter determines the frequency at which the Microsoft Exchange EdgeSync service will try to synchronize recipient data to an Edge Transport server. This parameter determines how frequently topology information is reloaded.
Recipients
4 hours
Topology
5 minutes
506
EdgeSync - <Site Name> to Internet SMTP:*;100 Edge Subscription name Note: The name of the Edge Subscription is the same as the name of the subscribed Edge Transport server.
True True
507
True
If more than one Edge Transport server is subscribed to the same Active Directory site, additional Send connectors to the Internet are not created. Instead, all Edge Subscriptions are added to the same Send connector as source servers. This configuration causes outbound connections to the Internet to be load balanced between the subscribed Edge Transport servers. This Send connector is configured to send e-mail messages from the Exchange organization to all remote Simple Mail Transfer Protocol (SMTP) domains. It will use Domain Name System (DNS) routing to resolve domain names to mail exchange (MX) records. You can modify the configuration of this connector manually. However, if you must route outbound e-mail through a smart host, for example, you can suppress creation of this connector and manually configure a Send connector to the Internet. Note: A Send connector that is configured to use a smart host to route e-mail must have the DNSRoutingEnabled parameter set to $false. If the DNSRoutingEnabled parameter is set to $false, the DomainSecureEnabled parameter must also be set to $false.
Name Address Space Source Servers Enabled DNS Routing Enabled Smart Hosts
EdgeSync - Inbound to <Site Name> SMTP:--;1 Edge Subscription name True False --
The -- placeholder in the address space for the inbound Send connector represents the authoritative and internal relay accepted domains for the Exchange organization and is the
508
literal character displayed. Any messages that the Edge Transport server receives for authoritative and internal relay accepted domains are routed to this Send connector and relayed to the smart hosts. The -- placeholder in the list of smart hosts represents all the Hub Transport servers that are located in the subscribed Active Directory site and is the literal character displayed. Hub Transport servers that are added to an Active Directory site after an Edge Subscription has been established do not participate in the EdgeSync synchronization process. However, they are automatically added to the list of smart hosts for the inbound Send connector. If more than one Hub Transport server is located in the subscribed Active Directory site, inbound connections will be load balanced across the smart hosts. You cannot modify the address space or list of smart hosts for the inbound Send connector. However, if you use the New-EdgeSubscription cmdlet in the Exchange Management Shell when you create the Edge Subscription on the Hub Transport server, you can set the value of the CreateInboundSendConnector parameter to $false. If you do this, no inbound connector is created and you must manually configure a Send connector from the Edge Transport server to the Exchange organization. After the initial EdgeSync synchronization has finished, you can run the Get-SendConnector cmdlet in the Exchange Management Shell on the subscribed Edge Transport server to verify that these Send connectors are created.
Figure 91 illustrates inbound mail flow from the Internet through a subscribed Edge Transport server. In this example, a message is received for a recipient whose mailbox is stored on a Mailbox server that is located in Site-B. The Edge Transport server receives the message and routes it to the EdgeSync - Inbound to Site-A Send connector. The receiving Hub Transport server in Site-A then routes the message to Site-B by using the intra-organization Send connector. Figure 91 Inbound mail flow with an Edge Subscription
510
511 New-EdgeSubscription -File "c:\edge2subscriptionfile.xml" -Site "Site-A" -CreateInboundSendConnector $true -CreateInternetSendConnector $false
512
those domains and specify one or more Edge Subscriptions as the source server for those Send connectors. The DNS MX resource record for an external relay domain resolves to your Edge Transport server. Configure a Send connector that relays e-mail to an external relay domain to use a smart host for routing. If you configure the Send connector for an external relay domain to use DNS routing, a routing loop will occur. For more information about external relay domains, see Managing Accepted Domains.
513
The NetBIOS name of the Edge Transport server. The name of the Edge Subscription in Active Directory will match this name. The fully-qualified domain name (FQDN) of the Edge Transport server. The Hub Transport servers in the subscribed Active Directory site must be able to locate the Edge Transport server by using DNS to resolve the FQDN. The public key of the Edge Transport server's self-signed certificate. The name assigned to the ESBRA. The ESBRA account has the following format: ESRA.Edge Transport server name. ESRA means EdgeSync replication account.
514
ESRA Password
The password assigned to the ESBRA. The password is generated by using a random number generator and is stored in the Edge Subscription file in clear text. The creation date of the Edge Subscription file. The length of time that these credentials will be valid before they expire. The ESBRA account is valid for only 24 hours. The secure LDAP port to which the EdgeSync service binds when synchronizing data from Active Directory to ADAM. By default, this is TCP port 50636. The licensing information for the Edge Transport server. After an Edge Transport server is subscribed to Active Directory, the licensing information about the Edge Transport server is displayed in the Exchange Management Console for the Exchange organization. You must license the Edge Transport server before you create the Edge Subscription for this information to be displayed correctly.
Product ID
Important: The ESBRA credentials are written to the Edge Subscription file in clear text. You must protect this file throughout the subscription process. After the Edge Subscription file is imported to a Hub Transport server, you should immediately delete the Edge Subscription file from the Edge Transport server, the Hub Transport server, and any removable media.
515
Hub Transport server pair. During initial synchronization, the newly created ESRA credentials are replicated to ADAM. These ESRA credentials are used to help secure later synchronization sessions. Each EdgeSync replication account is assigned the properties described in the following table. Table 49 Ms-Exch-EdgeSyncCredential Properties
Property name Type Description
TargetServerFQDN
String
The Edge Transport server that will accept these credentials. The Hub Transport server that will present these credentials. This value is empty if the credential is the bootstrap credential. When to start using this credential. When to stop honoring this credential. The user name that is used to authenticate. The password that is used to authenticate. The password is encrypted by using ms-ExchEdgeSync-Certificate.
SourceServerFQDN
String
The following sections of this topic describe how the ESRA credentials are provisioned and used during the EdgeSync synchronization process.
516
The Edge Subscription file is exported by copying it to removable media. The file is now ready to import to a Hub Transport server.
517
ESRA.Hub.Edge, are replicated to ADAM. These accounts are used to authenticate later EdgeSync synchronization sessions. The Hub Transport server that performs the initial replication is determined randomly. The first Hub Transport server in the Active Directory site to perform a topology scan and discover the new Edge Subscription performs the initial replication. Because this discovery is based on the timing of the topology scan, any Hub Transport server in the site may perform the initial replication. The Microsoft Exchange EdgeSync service initiates a secure LDAP session from the Hub Transport server to the Edge Transport server. The Edge Transport server presents its selfsigned certificate and the Hub Transport server verifies that the certificate matches the certificate that is stored on the Edge Transport server configuration object in Active Directory. After the Edge Transport server's identity is verified, the Hub Transport server provides the credentials of the ESRA.Edge account to the Edge Transport server. The Edge Transport server verifies the credentials against the account that is stored in ADAM. The Microsoft Exchange EdgeSync service on the Hub Transport server then pushes the topology, configuration, and recipient data from Active Directory to ADAM. The change to the Edge Transport server configuration object in Active Directory is replicated to ADAM. ADAM receives the newly added ESRA.Hub.Edge entries and the Edge Credential service creates the corresponding ADAM account. These accounts are now available to authenticate later scheduled EdgeSync synchronization sessions.
518
Free space on the hard disk drive that stores the message queue database transaction logs. The number of uncommitted message queue database transactions that exist in memory. The memory that is used by the EdgeTransport.exe process. The memory that is used by all processes.
519
For each monitored system resource on a Hub Transport server or Edge Transport server, the following three levels of resource utilization are applied: Normal The resource is not overused. The server accepts new connections and messages. Medium The resource is slightly overused. Back pressure is applied to the server in a limited manner. Mail from senders in the authoritative domain can flow. However, the server rejects new connections and messages from other sources. High The resource is severely overused. Full back pressure is applied. All message flow stops, and the server rejects all new connections and messages.
The following example shows the typical structure of the EdgeTransport.exe.config file: <configuration> <runtime> <gcServer enabled="true" /> </runtime> <appSettings> <add key="Configuration Option" value="Value" />
520
</appSettings> </configuration> You can add new configuration options or modify existing configuration options in the <appSettings> section. Many configuration options available are completely unrelated to back pressure. Any configuration options that don't involve back pressure are outside the scope of this topic. Note: The parameter names in the <add key=../> section are case sensitive. Table 50shows the general configuration options for back pressure that are available in the EdgeTransport.exe.config file. Table 50 General back pressure options
Parameter name Description
EnableResourceMonitoring ResourceMonitoringInterval
This parameter enables or disables back pressure. The default value is TRUE. This parameter controls how frequently the system resource utilization levels are checked. To specify a value, enter the value as a time span: hh:mm:ss, where h = hours, m = minutes, and s = seconds. The default value is 00:00:02. The valid range for this parameter is 00:00:01 to 00:00:30.
Monitoring the Free Hard Disk Drive Space for the Message Queue Database
By default, the message queue database is stored at C:\Program Files\Microsoft\ExchangeServer\TransportRoles\data\Queue. This location is controlled by the QueueDatabasePath parameter in the EdgeTransport.exe.config file. For more information about the message queue database, see Managing the Queue Database. By default, the high level of hard disk drive space utilization is calculated by using the following formula: 100*(hard disk drive size - 4 GB) / hard disk drive size The results of this formula are expressed as a percentage of the total hard disk drive space that is being used. The formula guarantees that 4 GB of free hard disk drive space is always
521
available for the message queue database, regardless of the size of the hard disk drive. The results of the formula are always rounded down to the nearest integer. By default, the medium level of hard disk drive utilization is 2 percent less than the high level. By default, the normal level of hard disk drive utilization is 4 percent less than the high level. As the available hard disk drive space decreases, the hard disk drive utilization increases. You can override the default calculations for the high, medium, and normal levels of hard disk drive utilization by specifying the values in the EdgeTransport.exe.config file. Table 51 shows the options for monitoring the free hard disk drive space for the message queue database that are available in the EdgeTransport.exe.config file. Table 51 Options for monitoring the free hard disk drive space for the message queue database
Parameter name Default value Valid input range
0. This value indicates that the default formula will be used. 0. This value indicates that the actual value is 2 percent less than the value of PercentageDatabaseDiskSpa ceUsedMediumThreshold. 0. This value indicates that the actual value is 2 percent less than the value of PercentageDatabaseDiskSpa ceUsedMediumThreshold.
3 to 100
3 to 100. The value must be less than the value of PercentageDatabaseDiskSpac eUsedHighThreshold. 3 to 100. The value must be less than the value of PercentageDatabaseDiskSpac eUsedMediumThreshold.
PercentageDatabaseDiskSpa ceUsedNormalThreshold
Important: When the back pressure limits for hard disk drive space utilization are set to their default levels, the hard disk drive that stores the message queue database on an Edge Transport server or Hub Transport server must always have more than 4 GB of free hard disk drive space. If the available free space is less than 4 GB, the hard disk drive utilization level is considered high. Therefore, all message flow stops. In that case, you must follow one of these steps: - Relocate the message queue database to a different hard disk drive that has more than 4 GB of free space. - Increase the values of the PercentageDatabaseDiskSpaceUsedHighThreshold, PercentageDatabaseDiskSpaceUsedMediumThreshold, or PercentageDatabaseDiskSpaceUsedNormalThreshold parameters.
522
Monitoring the Free Hard Disk Drive Space for the Message Queue Database Transaction Logs
By default, the message queue database transaction logs are stored at C:\Program Files\Microsoft\ExchangeServer\TransportRoles\data\Queue. This location is controlled by the QueueDatabaseLoggingPath parameter in the EdgeTransport.exe.config file. For more information about the message queue database, see Managing the Queue Database. The EdgeTransport.exe.config file contains a QueueDatabaseCheckPointDepthMax parameter that has a default value of 20 MB. This parameter controls the total allowed size of all uncommitted transaction logs that exist on the hard disk drive. This parameter is used in the formula that calculates hard disk drive utilization. Note: The value of the QueueDatabaseCheckPointDepthMax parameter applies to all transport-related Extensible Storage Engine (ESE) databases that exist on the Hub Transport server or Edge Transport server. This would include the message queue database and the IP filter database. If you set the value of the QueueDatabaseCheckPointDepthMax parameter too low, this can cause significant performance issues because uncommitted transactions are forcibly committed to the database instead of being written to transaction logs. We recommend that you do not modify the default value of the QueueDatabaseCheckPointDepthMax parameter. By default, the high level of hard disk drive utilization is calculated by using the following formula: 100*(hard disk drive size - 25*DatabaseCheckPointDepthMax) / hard disk drive size If you use the 20 MB default value of the DatabaseCheckPointDepthMax parameter, 500 MB is always reserved for the message queue database transaction logs regardless of the size of the hard disk drive. The results of the formula are always rounded down to the nearest integer. By default, the medium level of hard disk drive utilization is 2 percent less than the high level. The normal level of hard disk drive utilization is 4 percent less than the high level. As the available hard disk drive space decreases, the hard disk drive utilization increases. You can override the default calculations for the high, medium, and normal levels of hard disk drive utilization by specifying the values in the EdgeTransport.exe.config file. Table 52 shows the options for monitoring the free hard disk drive space for the message queue database transaction logs that are available in the EdgeTransport.exe.config file.
523 Table 52 Options for monitoring the free hard disk drive space for the message queue database transaction logs
Parameter name Default value Valid input range
0. This value indicates that the default formula will be used. 0. This value indicates that the actual value is 2 percent less than the value of PercentageDatabaseLogging DiskSpaceUsedMediumThres hold.
3 to 100
3 to 100. The value must be less than the value of PercentageDatabaseLogging DiskSpaceUsedHighThreshold . 3 to 100. The value must be less than the value of PercentageDatabaseLogging DiskSpaceUsedMediumThres hold.
PercentageDatabaseLogging 0. This value indicates that DiskSpaceUsedNormalThresh the actual value is 2 percent old less than the value of PercentageDatabaseLogging DiskSpaceUsedMediumThres hold.
Monitoring the Number of Uncommitted Message Queue Database Transactions That Exist in Memory
A list of changes that are made to the message queue database is kept in memory until those changes can be committed to a transaction log. Then the list is committed to the message queue database itself. These outstanding message queue database transactions that are kept in memory are known as version buckets. The number of version buckets may increase to unacceptably high levels because of virus issues, problems with the message queue database integrity, or hard disk drive performance. You can override the default values for the high, medium, and normal numbers of version buckets by specifying the values in the EdgeTransport.exe.config file. Table 53 shows the options for monitoring the version buckets that are available in the EdgeTransport.exe.config file. Table 53 Options for monitoring the number of version buckets
Parameter name Default value Valid input range
VersionBucketsHighThreshold 100
1 to 8000
524
VersionBucketsMediumThres hold
60
1 to 8000. The value must be less than the value of VersionBucketsHighThreshold . 1 to 8000. The value must be less than the value of VersionBucketsMediumThresh old.
VersionBucketsNormalThresh old
40
PercentagePrivateBytesUsed HighThreshold
3 to 100
525
PercentagePrivateBytesUsed MediumThreshold
0. This value indicates that the actual value is 2 percent less than value PercentagePrivateBytesUsed MediumThreshold. 0. This value indicates that the actual value is 2 percent less than value PercentagePrivateBytesUsed MediumThreshold.
3 to 100. The value must be less than the value of PercentagePrivateBytesUsed HighThreshold. 3 to 100. The value must be less than the value of PercentagePrivateBytesUsed MediumThreshold.
PercentagePrivateBytesUsed NormalThreshold
TRUE 94
526
Stage 1
The memory utilization of the EdgeTransport.exe process is compared to the value that is specified by the PercentagePrivateBytesUsedNormalThreshold parameter. The default value is 71 percent of the total physical memory. If the memory utilization of the EdgeTransport.exe process is higher than the specified normal level, garbage collection is forced. Garbage collection is a process that checks for unused objects that exist in memory, and reclaims the memory that is used by those unused objects.
Stage 2
The number of uncommitted message queue database transactions that exist in memory is compared to the value specified by the VersionBucketsNormalThreshold parameter. The default value is 400. If the number of uncommitted message queue database transactions that exist in memory is higher than the specified normal level, an attempt is made to force the outstanding message queue database transactions that exist in memory to be written to transaction logs.
Stage 3
The utilization levels of all monitored resources are checked against specified values for normal levels of utilization. If any of the resource levels are higher than the specified values for normal levels, the resource with the highest level of utilization is used to take action. The following sections describe the actions taken on Hub Transport servers and Edge Transport servers at different resource utilization levels.
527
Incoming SMTP connections and from other messaging servers are rejected. The store driver continues to accept messages from Mailbox servers. The Pickup directory and the Replay directory stop processing messages.
For a high level of resource utilization on a Hub Transport server: Incoming SMTP connections from other Hub Transport servers are rejected. Incoming SMTP connections from other messaging server are rejected. The store driver stops accepting messages from Mailbox servers. The Pickup directory and the Replay directory stop processing messages.
Table 56 describes the effects of back pressure on a Hub Transport server. Table 56 Effects of back pressure on Hub Transport servers
Server role Resource utilization level Connection s from other Hub Transport servers Connection s from other messaging servers Store driver connection s from Mailbox servers Pickup directory and Replay directory submission Internal mail flow
Medium High
Allowed Rejected
Rejected Rejected
Allowed Rejected
Rejected Rejected
For a high level of resource utilization on an Edge Transport server: Inbound SMTP connections from other messaging servers are rejected. The Pickup directory and the Replay directory stop processing messages.
Medium High
Rejected Rejected
Rejected Rejected
Rejected Rejected
Stage 4
The memory utilization of the EdgeTransport.exe process is compared to the value specified by the PercentagePrivateBytesUsedNormalThreshold parameter. The default value is 71 percent of the total physical memory. If the memory utilization of the EdgeTransport.exe process is higher than the specified normal level, the following action occurs: If the Microsoft Exchange Transport service is restarted, messages that exist in the submission queue are not automatically processed when the service starts. The number of transactions in the uncommitted message queue database that exist in memory is compared to the value specified by the VersionBucketsNormalThreshold parameter. The default value is 40. If the number of transactions in the uncommitted message queue database that exist in memory is larger than the specified normal level, the following actions occur: The transport dumpster is disabled. The transport dumpster is a feature of the Hub Transport server role that is used by Mailbox servers in a cluster continuous replication (CCR) configuration to store copies of recently delivered messages. If an unscheduled Mailbox server outage occurs, the transport dumpster resubmits the copies of the recently delivered messages. For more information, see How to Configure the Transport Dumpster. Message delivery to any remote destination that uses a remote delivery queue is disabled. These destinations include remote domains or remote Active Directory directory service sites. Message delivery to mailbox servers that use mailbox delivery queues is unaffected.
Stage 5
If the memory utilization of the EdgeTransport.exe process is at the medium or high level, or if the memory utilization of all other processes exceeds the maximum specified value, the following actions occur: The enhanced DNS cache is flushed from memory.
529
Event Type: Warning Event Source: MSExchangeTransport Event Category: Resource Manager Event ID: 15001 Description: The resource pressure changed from Previous Utilization Level to Current Utilization Level. Statistics: Statistics Event log entry for constantly high resource utilization levels
Event Type: Warning Event Source: MSExchangeTransport Event Category: Resource Manager Event ID: 15002 Description: The resource pressure is constant at High. Statistics: Statistics Event log entry for changes in memory utilization level by the EdgeTransport.exe process Event Type: Warning Event Source: MSExchangeTransport Event Category: Resource Manager Event ID: 15003 Description: Private bytes consumption changed from Previous Utilization Level to Current Utilization Level. Statistics: Statistics
530
531
Custom Organization X-Headers and Forest XHeaders that Are Used in Exchange 2007
Organization X-headers start with "X-MS-Exchange-Organization-". Forest X-headers start with "X-MS-Exchange-Forest-". Table 58 describes some of the organization X-headers and forest X-headers that are used in messages in an Exchange 2007 organization. Table 58 Some of the organization X-headers and forest X-headers that are used in messages in an Exchange 2007 organization
X-Header Description
X-MS-Exchange-Forest-RulesExecuted X-MS-Exchange-Organization-AntispamReport
This X-header lists the transport rules that were performed on the message. This X-header is a summary report of the antispam filter results that have been applied to the message by the Content Filter agent.
532
X-MS-Exchange-Organization-AuthAs
This X-header is always present when the security of a message has been evaluated. This X-header specifies the authentication source. The possible values are Anonymous, Internal, External, or Partner. This X-header is populated during Domain Secure authentication. The value is the fully qualified domain name (FQDN) of the remote authenticated domain. This X-header specifies the authentication mechanism for the submission of the message. The value is a 2-digit hexadecimal number. This X-header specifies the FQDN of the server computer that evaluated the authentication of the message on behalf of the organization. This X-header identifies journal reports in transport. As soon as the message leaves the transport server, the header becomes X-MSJournal-Report. This X-header identifies the time when the message first entered the Exchange organization.
X-MS-Exchange-Organization-AuthDomain
X-MS-Exchange-OrganizationAuthMechanism
X-MS-Exchange-Organization-AuthSource
X-MS-Exchange-Organization-Journal-Report
X-MS-Exchange-OrganizationOriginalArrivalTime
X-MS-Exchange-Organization-Original-Sender This X-header identifies the original sender of a quarantined message when it first entered the Exchange organization. X-MS-Exchange-Organization-OriginalSize This X-header identifies the original size of a quarantined message when it first entered the Exchange organization. This X-header identifies the original SCL of a quarantined message when it first entered the Exchange organization. This X-header identifies the phishing confidence level (PCL). The possible PCL values are from 1 to 8. A larger value indicates a suspicious message. For more information, see Anti-Spam Stamps.
X-MS-Exchange-Organization-Original-Scl
X-MS-Exchange-Organization-PCL
533
X-MS-Exchange-Organization-Quarantine
This X-header indicates that the message has been quarantined in the spam quarantine mailbox and a delivery status notification (DSN) has been sent. Or it indicates that the message was quarantined and released by the administrator. This X-header field prevents the released message from being submitted to the spam quarantine mailbox again. For more information, see How to Recover Quarantined Messages from the Spam Quarantine Mailbox. This X-header identifies the SCL of the message. The possible SCL values are from 0 to 9. A larger value indicates a suspicious message. The special value -1 exempts the message from processing by the Content Filter agent. For more information, see Configuring Content Filtering. This X-header contains the results of the Sender ID agent. The Sender ID agent uses the sender policy framework (SPF) to compare the message's source IP address to the domain that is used in the sender's e-mail address. The Sender ID results are used to calculate the SCL of a message. For more information, see Sender ID.
X-MS-Exchange-Organization-SCL
X-MS-Exchange-Organization-SenderIdResult
534
How Header Firewall is Applied to Organization X-Headers and Forest X-headers in Messages
Header firewall for organization X-headers and forest X-headers that exist in inbound messages consists of two specific permissions that are assigned to a Receive connector that is configured on a Hub Transport server or an Edge Transport server: If the permissions are assigned to the Receive connector, header firewall is not applied to the message. The organization X-headers or forest X-headers in the message are preserved. If the permissions are not applied to the Receive connector, header firewall is applied to the message. The organization X-headers or forest X-headers are removed from the message. 59 describes the header firewall permissions for organization X-headers and forest X-headers that are available on a Receive connector. Table 59 Header firewall permissions for organization X-headers and forest X-headers that are available on a Receive connector for inbound messages
Permission By default, the security principals that have the permission assigned Permission group that has the security principals as members By default, the usage type that assigns the permission groups to the Receive connector Description
Ms-Exch-AcceptHeadersOrganization
Hub Transport servers Edge Transport servers Exchange Servers (Note: On Hub Transport servers only)
ExchangeServer s
Internal
This permission applies to organization Xheaders. Organization Xheaders start with "X-MSExchangeOrganization-". If this permission is not granted, the receiving server removes any organization headers from the message.
535
Ms-Exch-AcceptHeaders-Forest
Hub Transport servers Edge Transport servers Exchange Servers (Note: On Hub Transport servers only)
ExchangeServer s
Internal
This permission applies to forest X-headers. Forest X-headers start with "X-MSExchangeForest-". If this permission is not granted, the receiving server removes any forest headers from the message.
If you want to apply header firewall to organization X-headers and forest X-headers in a custom Receive connector scenario, use the any of following methods: Create a new Receive connector, and select a usage type other than Internal. The Receive connector usage type can only be set when you create the connector. For more information, see How to create a new receive connector. Modify an existing Receive connector and remove the ExchangeServers permission group. For more information, see How to Modify the Configuration of a Receive Connector. Use the Remove-ADPermission cmdlet to remove the Ms-Exch-Accept-HeadersOrganization permission and the Ms-Exch-Accept-Headers-Forest permission from a security principal that is configured on the Receive connector. This method doesn't work if the permission has been assigned to the security principal by using a permission group. You can't modify the assigned permissions or the group membership of a permission group. For more information, see remove-ADPermission. Use the Add-ADPermission cmdlet to deny the Ms-Exch-Accept-HeadersOrganization permission and the Ms-Exch-Accept-Headers-Forest permission to a security principal that is configured on the Receive connector. For more information, see addADPermission.
How Header Firewall is Applied to Organization X-Headers and Forest X-Headers in Outbound Messages
Header firewall for organization X-headers and forest X-headers that exist in outbound messages consists of two specific permissions that are assigned to a Send connector that is configured on a Hub Transport server or an Edge Transport server:
536
If the permissions are assigned to the Send connector, header firewall is not applied to the message. The organization X-headers or forest X-headers in the message are preserved. If the permissions are not applied to the Send connector, header firewall is applied to the message. The organization X-headers and forest X-headers are removed from the message. Table 60 describes the header firewall permissions for organization X-headers and forest Xheaders that are available on a Send connector. Table 60 Header firewall permissions for organization X-headers and forest X-headers that are available on a Send connector for outbound messages
Permission By default, the security principals that have the permission assigned By default, the usage type that assigns the security principals to the Send connector Description
Ms-Exch-SendHeaders-Organization
Hub Transport servers Edge Transport servers Exchange Servers (Note: On Hub Transport servers only) Externally secured servers Exchange Legacy Interop universal security group Exchange Se rver 2003 and Exchange 2000 S erver bridgehead servers
Internal
This permission applies to organization X-headers. Organization Xheaders start with "XMS-ExchangeOrganization-". If this permission is not granted, the sending server removes any organization headers from the message.
537
Ms-Exch-SendHeaders-Forest
Hub Transport servers Edge Transport servers Exchange Servers (Note: On Hub Transport servers only) Externally secured servers Exchange Legacy Interop universal security group Exchange 20 03 and Exchange 2000 bridgehead servers
Internal
This permission applies to forest Xheaders. Forest Xheaders start with "XMS-ExchangeForest-". If this permission is not granted, the sending server removes any forest headers from the message.
If you want to apply header firewall for organization X-headers or forest X-headers in a custom Send connector scenario, use the any of following methods: Create a new Send connector, and select a usage type other than Internal or Partner. The Send connector usage type can only be set when you create the connector. For more information, see How to create a new send connector. Remove a security principal that assigns the Ms-Exch-Send-Headers-Organization permission and the Ms-Exch-Send-Headers-Forest permission from the connector. For more information, see How to Modify the Configuration of a Send Connector. Use the Remove-ADPermission cmdlet to remove the Ms-Exch-Send-HeadersOrganization permission and the Ms-Exch-Send-Headers-Forest permission from one of the security principals that is configured on the Send connector. For more information, see remove-ADPermission. Use the Add-ADPermission cmdlet to deny the Ms-Exch-Send-Headers-Organization permission and the Ms-Exch-Send-Headers-Forest permission to one of the security principals that is configured on the Send connector. For more information, see addADPermission.
538
How Header Firewall is Applied to Organization X-Headers and Forest X-Headers from Other Message Sources
Messages can enter the Exchange 2007 transport pipeline on a Hub Transport server or an Edge Transport server without using Send connectors or Receive connectors. Header firewall for organization X-headers and forest X-headers is applied to messages originating from these other message sources as described in the following list: Pickup directory The Pickup directory is used by administrators or applications to submit message files. Header firewall for organization X-headers and forest X-headers is always applied to the message files in the Pickup directory. For more information about the Pickup directory, see Managing the Pickup Directory. Replay directory The Replay directory is used to resubmit messages that have been exported from Exchange 2007 message queues. How header firewall for organization Xheaders and forest X-headers is applied in these messages is controlled by the XCreatedBy: header field in the message file: If the value of this header field is MSExchange12, header firewall is not applied to the message. If the value of X-CreatedBy: is not MSExchange12, header firewall is applied.
If the X-CreatedBy: header field does not exist in the message file, header firewall is applied. For more information about the Replay directory, see Managing the Replay Directory. Drop directory The Drop directory is used by Foreign connectors on Hub Transport servers to send messages to messaging servers that do not use the Simple Mail Transfer Protocol (SMTP) to transfer messages. Header firewall for organization X-headers and forest X-headers is always applied to message files before they are put in the Drop directory. For more information about Foreign connectors, see Foreign Connectors. Store driver The store driver exists on Hub Transport servers to transport messages to and from mailboxes on Mailbox servers. For outgoing messages that are created and submitted from mailboxes, header firewall for organization X-headers and forest X-headers is always applied. For incoming messages, header firewall for organization X-headers and forest X-headers is selectively applied. The X-headers that are specified in the following list are not blocked by header firewall for inbound messages to mailbox recipients: X-MS-Exchange-Organization-SCL X-MS-Exchange-Organization-AuthDomain X-MS-Exchange-Organization-AuthMechanism X-MS-Exchange-Organization-AuthSource X-MS-Exchange-Organization-AuthAs
539
X-MS-Exchange-Organization-OriginalArrivalTime X-MS-Exchange-Organization-OriginalSize
For more information about the store driver, see Transport Architecture. DSN messages Header firewall for organization X-headers and forest X-headers is always applied to the original message or the original message header that is attached to the DSN message. For more information about DSN messages, see Managing Delivery Status Notifications. Agent submission Header firewall for organization X-headers and forest X-headers is not applied to messages that are submitted by agents.
540
Anonymous user account Authenticated user accounts Hub Transport servers Edge Transport servers Exchange Servers (Hub Transport servers only) Externally Secured servers Exchange Legacy Interop security group Partner Server account
ExchangeLegacyServers Partner
The Ms-Exch-Accept-Headers-Routing permission is assigned to all usage types except Custom. If you want to apply header firewall to routing headers in a custom Receive connector scenario, follow these steps:
541
1. Perform one of the following actions: Create a new Receive connector, and select the usage type Custom. Do not assign any permission groups to the Receive connector. You can't modify the assigned permissions or the group membership of a permission group. Modify an existing Receive connector, and set the PermissionGroups parameter to the value None. 2. Use the Add-ADPermission cmdlet to add the appropriate security principals that are required on the Receive connector. Make sure that no security principals have the MsExch-Accept-Headers-Routing permission assigned to them. If it is necessary, use that Add-ADPermission cmdlet to deny the Ms-Exch-Accept-Headers-Routing permission to the security principal that you want to configure to use the Receive connector. For more information, see the following topics: How to create a new receive connector How to Modify the Configuration of a Receive Connector add-ADPermission remove-ADPermission
Internal
Exchange Servers (Note: On Hub Transport servers only) Externally secured servers
Exchange Legacy Interop universal security group Exchange 2003 and Exchange 2000 bridgehead servers Anonymous User Account Partner Servers Internet Partner
The Ms-Exch-Send-Headers-Routing permission is assigned to all usage types except Custom. If you want to apply header firewall to routing headers in a custom Send connector scenario, use the any of following methods: Create a new Send connector, and select the usage type Custom. The Send connector usage type can only be set when you create the connector. For more information, see How to create a new send connector. Remove a security principal that assigns the Ms-Exch-Send-Headers-Routing permission from the connector. For more information, see How to Modify the Configuration of a Send Connector. Use the Remove-ADPermission cmdlet to remove the Ms-Exch-Send-HeadersRouting permission from one of the security principals that is configured on the Send connector. For more information, see remove-ADPermission. Use the Add-ADPermission cmdlet to deny the Ms-Exch-Send-Headers-Routing permission to one of the security principals that is configured on the Send connector. For more information, see add-ADPermission.
How Header Firewall is Applied to Routing Headers from Other Message Sources
Messages can enter the Exchange 2007 transport pipeline on a Hub Transport server or an Edge Transport server without using Send connectors or Receive connectors. Header firewall
543
for routing headers is applied to the other messages sources that are described in the following list: Pickup directory The Pickup directory is used by administrators or applications to submit message files. Header firewall for routing headers is always applied to the message files in the Pickup directory. For more information about the Pickup directory, see Managing the Pickup Directory. Store driver The store driver exists on Hub Transport servers to transport messages to and from mailboxes on Mailbox servers. Header firewall for routing headers is always applied to all messages that are sent from mailboxes on Mailbox servers. Header firewall for routing headers is not applied to incoming messages for delivery to mailbox recipients. For more information about the store driver, see Transport Architecture. DSN messages Header firewall for routing headers is always applied to the original message or the original message header that is attached to the DSN message. For more information about DSN messages, see Managing Delivery Status Notifications. Replay directory, Drop directory, and Agent submission Header firewall for routing headers is not applied to messages that are submitted by the Replay directory, the Drop directory, or agents.
544
Table 63 describes the permissions that allow the Exch50 command on a Receive connector for inbound messages. If one of these permissions is not granted, and a message is sent that contains the Exch50 command, the server accepts the message, but doesn't include the Exch50 command. Table 63 Permissions that allow the Exch50 command on a Receive connector for inbound messages
Permission By default, the security principals that have the permission assigned Permission group that has the security principals as members By default, the usage type that assigns the permission groups to the Receive connector
Ms-Exch-AcceptExch50
Hub Transport servers Edge Transport servers Exchange Servers (Note: On Hub Transport servers only) Externally Secured servers
ExchangeServers
Internal
Ms-Exch-AcceptExch50
ExchangeLegacyServ ers
Internal
If you want to block the Exch50 command in a custom Receive connector scenario, use the any of following methods: Create a new Receive connector, and select a usage type other than Internal. The Receive connector usage type can only be set when you create the connector. For more information, see How to create a new receive connector. Modify an existing Receive connector and remove the ExchangeServers permission group. For more information, see How to Modify the Configuration of a Receive Connector. Use the Remove-ADPermission cmdlet to remove the Ms-Exch-Accept-Exch50 permission from a security principal that is configured on the Receive connector. This method does not work if the permission has been assigned to the security principal by using a permission group. You can't modify the assigned permissions or the group membership of a permission group. For more information, see remove-ADPermission. Use the Add-ADPermission cmdlet to deny the Ms-Exch-Accept-Exch50 permission to a security principal that is configured on the Receive connector. For more information, see add-ADPermission.
545
Table 64 describes the permission that allows the Exch50 command on a Send connector for outbound messages. If this permission is not granted and a message is sent that contains the Exch50 command, the server sends the message, but doesn't include the Exch50 command. Table 64 Permission that allows the Exch50 command on a Send connector for outbound messages
Permission By default, the security principals that have the permission assigned By default, the usage type that assigns the security principals to the Send connector
Ms-Exch-Send-Exch50
Hub Transport servers Edge Transport servers Exchange Servers (Note: On Hub Transport servers only) Externally secured servers Exchange Legacy Interop universal security group Exchange 2003 and Exchange 2000 bridgehead servers
Internal
If you want to block the Exch50 command in a custom Send connector scenario, you can use the any of following methods: Create a new Send connector, and select a usage type other than Internal. The Send connector usage type can only be set when you create the connector. For more information, see How to create a new send connector. Remove a security principal that assigns the Ms-Exch-Send-Exch50 permission from the connector. Use the Remove-ADPermission cmdlet to remove the Ms-Exch-Send-Exch50 permission from one of the security principals that is configured on the Send connector. For more information, see remove-ADPermission. Use the Add-ADPermission cmdlet to deny the Ms-Exch-Send-Exch50 permission to one of the security principals that is configured on the Send connector. For more information, see add-ADPermission.
546
547
section 2.2.3 of RFC 2822. Other field body syntax requirements are described in sections 3 and 4 of RFC 2822. The message body The message body is a collection of lines of US-ASCII text characters that appears after the message header. The message header and the message body are separated by an empty blank line that ends with the CRLF character combination. The message body is optional. Any line of text in the message body must be less than 998 characters. The CR and LF characters can only appear together to indicate the end of a line. When SMTP messages contain elements that are not plain US-ASCII text, the message must be encoded to preserve those elements. The MIME standard defines a method of encoding non-text content in messages. MIME allows for text in other character sets, non-text attachments, multipart message bodies, and header fields in other character sets. MIME is defined in RFC 2045, RFC 2046, RFC 2047, RFC 2048, and RFC 2077. MIME defines a collection of header fields that specify additional message attributes. The following table describes some important MIME header fields. Table 65 Important MIME header fields
Header field name Default value Description
MIME-Version:
1.0
This header field is the first MIME header field that appears in a MIME-formatted message. This header field appears after the other standard RFC 2822 header fields, but before any other MIME header fields. MIMEaware e-mail clients use this header field to identify a MIME-encoded message. When this header field is absent, MIME-aware e-mail clients identify the message as plain text.
548
Content-Type:
text/plain
This header field identifies the media type of the message content as described in RFC 2046. A media type consists of a type, a subtype, and one or more optional parameters, such as a charset= parameter that defines the MIME character encoding. Types that begin with "x-" are non-standard. Subtypes that begin with "vnd." are vendor-specific. The Internet Assigned Names Authority (IANA) maintains a list of registered media types. For more information, see MIME Media Types. Note: The third-party Web site information in this topic is provided to help you find the technical information you need. The URLs are subject to change without notice. The multipart media type allows for multiple message parts in the same message by using sections defined by different media types. Some Content-Type: field values include text/plain, text/html, multipart/mixed and multipart/alternative.
549
Content-Transfer-Encoding:
7bit
This header field can describe the following information about a message: The encoding algorithm that was used to transform any non-USASCII text or binary data that exists in the message body. An indicator that describes the current condition of the message body. There can be multiple values of the Content-TransferEncoding: header field in a MIME message. When the Content-Transfer-Encoding: header field appears in the message header, it applies to the whole body of the message. When the ContentTransfer-Encoding: header field appears in one of the parts of a multipart message, it applies only to that part of the message. When an encoding algorithm is applied to the message body data, the message body data is transformed into plain US-ASCII text. This transformation allows the message to travel through older SMTP messaging servers that only support messages in US-ASCII text. The values of the ContentTransfer-Encoding: header field that indicate an encoding algorithm was used on the message body are as follows:
550
Content-Disposition:
Attachment
This header field instructs a MIME-enabled e-mail client on how it should display an attached file, and is described in RFC 2183. The values of this field may be Inline or Attachment. When the value of this field is Inline, the attachment is displayed in the message body. When the value of this field is Attachment, the attached file appears as a regular attachment that is separate from the message body. Other parameters are available when the value is Attachment, such as Filename, Creationdate, and Size.
551
Rich text format (RTF) RTF supports text formatting and other graphical elements. RTF is synonymous with the Transport Neutral Encoding Format (TNEF). TNEF and RTF can be used interchangeably. Only Outlook and a few other MAPI e-mail clients understand RTF messages. MAPI is a Microsoft-developed messaging architecture that enables multiple applications to interact with different messaging systems across a variety of hardware platforms. MAPI is built on the Component Object Model (COM) architecture. Outlook uses MAPI to communicate with mailboxes on a computer running Exchange 2007 that has the Mailbox server role installed. The rich text message format is completely different from the rich text document format that is available in Microsoft Word. TNEF TNEF is a Microsoft-specific format for encapsulating MAPI message properties. A TNEF message contains a plain text version of the message and an attachment that packages the original formatted version of the message. Typically, this attachment is named Winmail.dat. The Winmail.dat attachment includes the following information: The original formatted version of the message, including, for example, fonts, text sizes, and text colors OLE objects, including, for example, embedded pictures or embedded Microsoft Office documents Special Outlook features, including, for example, custom forms, voting buttons or meeting requests Regular message attachments that were in the original message
The resulting plain text message can be represented in the following formats: An RFC 2822-compliant message composed of only US-ASCII text with a Winmail.dat attachment encoded in Uuencode A multipart MIME-encoded message that has a Winmail.dat attachment
A MAPI-compliant e-mail client that fully understands TNEF, such as Outlook, processes the Winmail.dat attachment and displays the original message content without ever displaying the Winmail.dat attachment. An e-mail client that doesn't understand TNEF may present a TNEF message in any of the following ways: The plain text version of the message is displayed, and the message contains an attachment named Winmail.dat, Win.dat, or some other generic name such as Attnnnnn.dat or Attnnnnn.eml where the nnnnn placeholder represents a random number. The plain text version of the message is displayed. The TNEF attachment is ignored or removed. The result is a plain text message.
552
Messaging servers that understand TNEF can be configured to remove TNEF attachments from incoming messages. The result is a plain text message. Moreover, some e-mail clients such as Microsoft Outlook Express may not understand TNEF, but recognize and ignore TNEF attachments. The result is a plain text message. There are third-party utilities that can help convert Winmail.dat attachments. TNEF is understood by Exchange Server 5.0 and later versions. TNEF messages are transferred between SMTP messaging servers by using the standard DATA command verb. TNEF is automatically used by Exchange based on the following situations: Exchange 2000 Server TNEF is used for messages that are transferred between Exchange servers that are in different routing groups. Exchange Server 2003 If the Exchange organization is in mixed mode, TNEF is used for messages that are transferred between Exchange servers that are in different routing groups. Summary Transport Neutral Encoding Format (STNEF) STNEF is equivalent to TNEF. However, STNEF messages are encoded differently than TNEF messages. Specifically, STNEF messages are always MIME-encoded and always have a ContentTransfer-Encoding value of Binary. Therefore, there is no plain text representation of the message, and there is no distinct Winmail.dat attachment contained in the body of the message. The whole message is represented by using only binary data. Messages that have Content-Transfer-Encoding value of Binary can only be transferred between SMTP messaging servers that support and advertise the BINARYMIME and CHUNKING SMTP extensions as defined in RFC 3030. The messages are always transferred between SMTP messaging by using the BDAT command, instead of the standard DATA command. STNEF is understood by Exchange 2000 and later versions. STNEF is automatically used by Exchange if the following conditions are true: Exchange 2000 STNEF is used for messages that are transferred between Exchange servers that are in the same routing group. An unsupported hotfix also enables Exchange 2000 to use STNEF for messages that are transferred between Exchange servers in different routing groups. Exchange 2003 If the Exchange organization is in native mode, STNEF is used for all messages that are transferred between Exchange servers in the organization. Exchange 2007 STNEF is used for all messages that are transferred between Exchange servers in the organization. Exchange never sends STNEF messages to external recipients. Only TNEF messages can be sent to recipients outside the Exchange organization.
553
554
Bcc: fields as you compose a message. These conversion options are not available for recipients in the Exchange organization. Internet recipient message encoding options You can control the MIME or plain text encoding options for specific contacts in your Contacts folder, and you can override the conversion options for a specific recipient in the To:, Cc: or Bcc: fields as you compose a message. These conversion options are not available for recipients in the Exchange organization. International options You can control the character sets that are used in messages.
555
TNEF Conversion Options for Messages That are Sent to Remote Domains
In Exchange Server 2007, you can set the TNEF conversion options for messages that are sent to a remote domain in the Exchange Management Shell or on the Remote Domains tab in the Exchange Management Console. Although the settings are functionally equivalent in the two management interfaces, they may use slightly different terms.
556
The following table describes the TNEF conversion options that are available for remote domains in the Exchange Management Shell. Table 66 TNEF conversion options for remote domains in the Exchange Management Shell
Source Parameter Description
Set-RemoteDomain
TNEFEnabled
This parameter controls the sending of TNEF messages to recipients in the remote domain. Valid values for this parameter are as follows: $True: TNEF is used for all messages that are sent to the remote domain. $False: TNEF is never used for any messages that are sent to the remote domain. $Null: TNEF messages are not specifically allowed or prevented for recipients in the remote domain. Whether TNEF messages are sent to recipients in the remote domain is controlled by the following settings: The value of the UseMAPIRichTextFor mat parameter that is specified for a mail user or mail contact in the Exchange organization. The sender's settings in Outlook The default value is $Null.
557
The TNEF conversion options that are available for remote domains in the Exchange Management Console are described in the following procedure. To use the Exchange Management Console to configure the TNEF options for a remote domain 1. Open the Exchange Management Console. 2. In the console tree, click Organization Configuration, and then click Hub Transport. 3. In the result pane, click the Remote Domains tab. 4. In the result pane, select the remote domain entry that you want to configure. In the action pane, click Properties, and then on the Properties page for that remote domain, click the Message Format tab. 5. On the Message Format tab, under Message Format Options, select Exchange rich text format. The following options are available: Always use TNEF is used for all messages that are sent to the remote domain. Never Use TNEF is never used for any messages that are sent to the remote domain. Determined by individual user settings This is the default value. TNEF message are not specifically allowed or prevented for recipients in the remote domain. Whether TNEF messages are sent to recipients in the remote domain is controlled by the following settings: - The value of the UseMAPIRichTextFormat parameter that is specified for a mail user or mail contact in the Exchange organization. - The sender's settings in Outlook 6. Click OK.
TNEF Conversion Options for Messages That are Sent to Mail Users and Mail Contacts
You can set the TNEF conversion options for messages that are sent to mail users and mail contacts in the Exchange Management Shell or in the Recipient Configuration node in the Exchange Management Console. The following table describes the TNEF conversion options that are available for messages that are sent to mail users and mail contacts in the Exchange Management Shell.
558 Table 67 TNEF conversion options that are available for mail users and mail contacts in the Exchange Management Shell
Source Parameter Description
Set-MailUser Set-MailContact
UseMAPIRichTextFormat
This parameter controls whether TNEF message encoding is used on messages that are sent to the mail user or mail contact. Valid values are as follows: Always TNEF is used for all messages that are sent to the recipient. Never TNEF is never used for any messages that are sent to the recipient. UseDefaultSettings This is the default value. TNEF message are not specifically allowed or prevented for the mail user or mail contact. Whether TNEF messages are sent to the recipient is controlled by the following settings: The value of the TNEFEnabled parameter that is specified for the remote domain. The sender's settings in Outlook The default value is UseDefaultSettings.
The TNEF conversion options that are available for mail users and mail contacts in the Exchange Management Console are described in the following procedure.
559
To use the Exchange Management Console to configure the message format settings for a mail user or mail contact 1. Open the Exchange Management Console. 2. In the console tree, expand Recipient Configuration, and then select Mail Contact. 3. In the result pane, select the mail user or mail contact that you want to configure. In the action pane, under the name of the mail user or mail contact, click Properties. 4. On the General tab, select the settings in the Use MAPI rich text format: dropdown that you want to use for messages sent to this recipient. The following options are available: Always TNEF is used for all messages that are sent to the recipient. Never TNEF is never used for any messages that are sent to the recipient.
Use default settings This is the default value. TNEF message are not specifically allowed or prevented for the mail user or mail contact. Whether TNEF messages are sent to the recipients is controlled by the following settings: - The value of the TNEFEnabled parameter that is specified for the remote domain. - The sender's settings in Outlook
560
You can override the default message format for an individual message while you compose the message as described in the following procedure. To use Outlook 2007 to set the message format to TNEF while you compose the message 1. In Outlook 2007, select the File menu, select New, and then select Mail Message. 2. In the new message window, select the Format menu, and then select Rich Text. You can control the default TNEF message conversion options for TNEF messages that are sent to all recipients outside the Exchange organization. These options are called Internet message format options. The options only apply to remote recipients, and not to recipients in the Exchange organization. These options are described in the following procedure. To use Outlook 2007 to set the default Internet message format options for converting TNEF messages 1. In Outlook 2007, from the toolbar, click Tools, and then click Options. 2. Click the Mail Format tab. 3. In the Message format section, click Internet Format.... 4. In the Outlook Rich Text options section, select the default conversion option for TNEF messages that are sent to remote recipients. The following options are available: Convert to HTML format This is the default option. Any TNEF messages sent to remote recipients are converted to HTML. Any formatting in the message should closely resemble the original message. MIME-encoded HTML messages are supported by many, but not all, e-mail clients. Convert to Plain Text format Any TNEF messages sent to remote recipients are converted to plain text. Any formatting in the message is lost. Send using Outlook Rich Text Format Any TNEF messages sent to remote recipients remain TNEF messages. 5. Click OK. You can control the default TNEF message conversion options for TNEF messages that are sent to specific recipients outside the Exchange organization. These options are called Internet recipient message format options. The options only apply to remote recipients, and not to recipients in the Exchange organization. These options are described in the following procedure. To use Outlook 2007 to set the Internet recipient message format options for converting TNEF messages 1. Use one of the following methods
561
For a recipient stored in the Contacts folder, open the contact, double-click the e-mail address in the E-mail... field, and then select Internet format. For a recipient on the To:, Cc: or Bcc: fields, as you compose the message, double-click the recipient, and then select Internet format. 2. Select one of the following options: Let Outlook decide the best sending format This is the default setting. This setting forces Outlook to use the TNEF conversion option that is specified by the default Internet format. The possible values are Convert to HTML format, Convert to Plain Text format, or Send using Outlook Rich Text Format. Therefore, the TNEF message may be left as TNEF, converted to HTML or converted to plain text. If you want to make sure that the TNEF message is remains TNEF for this recipient, you should change this setting from Let Outlook decide the best sending format to Send using Outlook Rich Text format. Send Plain Text only Any TNEF messages sent to the recipient are converted to plain text. Any formatting in the message is lost. Send using Outlook Rich Text format Any TNEF messages sent to remote recipients remain TNEF messages. 3. Click OK. Note: Outlook 2007 doesn't support using Personal Address Book (.pab) files. Outlook 2003 and earlier versions of Outlook fully support .pab files. The previous procedure is identical whether the contact is stored in the Contacts folder or in a .pab file.
The list specifies the order of precedence from lowest to highest. A setting made at a higher level may override a setting made at a lower level. The following table describes the settings that make sure that a TNEF message leaves the Exchange 2007 organization in the TNEF format.
562 Table 68 Settings that make sure that a TNEF message leaves the Exchange 2007 organization in the TNEF format
Source Parameter Values
Rich text Send using Outlook Rich Text format The recipient isn't defined as a mail user or mail contact in the Exchange organization. Always UseDefaultSettings $True $Null
Set-RemoteDomain
TNEFEnabled
Microsoft Exchange never sends Summary Transport Neutral Encoding Format (STNEF messages to external recipients. Only TNEF messages can be sent to recipients outside the Exchange organization.
563
Remote domain settings Mail user and mail contact settings Microsoft Outlook settings Message format Internet message Internet recipient message format Message character set encoding options
Message Encoding Options for Messages That are Sent to Remote Domains
In Exchange Server 2007, you can set the message encoding options for recipients in remote domains in the Exchange Management Shell or on the Remote Domains tab in the Exchange Management Console. Although the settings are functionally equivalent in the two management interfaces, they may use slightly different terms. The following table describes the message encoding options that are available for remote domain recipients in the Exchange Management Shell. Table 69 Message encoding options for remote domain recipients in the Exchange Management Shell
Source Parameter Description
Set-RemoteDomain
CharacterSet
The character set that you specify will only be used for MIME messages that do not have their own character set specified. Setting this parameter will not overwrite character sets are already specified in the outgoing mail. For a list of valid character set names, see Supported Character Sets for Remote Domain Configuration.
564
Set-RemoteDomain
ContentType
This parameter specifies the content type for MIME messages sent to recipients in the remote domain. Valid values for this parameter are as follows: MimeHtmlText Conv erts messages to MIME messages that use HTML formatting, unless the original message is a text message. If the original message is a text message, outgoing message will be a MIME message that uses text formatting. MimeText Converts all messages to MIME messages that use text formatting. MimeHtml Converts all messages to MIME messages that use HTML formatting. The default value is MimeHtmlText.
565
Set-RemoteDomain
LineWrapSize
This parameter specifies the maximum number of characters that can exist on a single line of text in the body of the e-mail message. Older e-mail client applications may prefer 78 characters per line. The valid input range for this parameter is 0 and 132. If you want to remove the characters per line limit, you may set the value of the LineWrapSize parameter to unlimited. By default, the value is unlimited.
Set-RemoteDomain
NonMimeCharacterSet
This parameter is used if the following conditions are true: Incoming messages from a remote domain that are missing the value of the charset= parameter in the MIME Content-Type: header field. Outgoing messages to a remote domain that are missing the value of the MIME character set. For a list of valid character set names, see Supported Character Sets for Remote Domain Configuration.
The message encoding options that are available for remote domain recipients in the Exchange Management Console are described in the following procedure. To use the Exchange Management Console to configure the message encoding options for recipients in remote domains 1. Open the Exchange Management Console. 2. In the console tree, click Organization Configuration, and then click Hub
566
Transport. 3. In the result pane, click the Remote Domains tab. 4. In the result pane, select the remote domain entry that you want to configure. In the action pane, click Properties, and then on the Properties page for that remote domain, click the Message Format tab. 5. On the Message Format tab, under Message Format Options, select the settings that you want to use for messages sent to this remote domain. The following options are available: Display senders name on messages The default value is enabled.
Use message text line wrap at column The default value is not specified. This corresponds to a value of unlimited. Character Sets
- MIME character set: For the default remote domain, the value is set to match the regional settings of the operating system. For example, Western European (ISO). For user-created remote domains, the default value is None. - Non-MIME character set: For the default remote domain, the value is set to match the regional settings of the operating system, for example, Western European (ISO). For user-created remote domains, the default value is None. 6. Click OK.
567 Table 70 Message encoding options for mail users and mail contacts in the Exchange Management Shell
Source Parameter Description
UsePreferMessageFormat
The valid input for this parameter is $true or $false. The default value is $false. If you set this parameter to $true,the values of the MessageFormat, MessageBodyFormat, and MacAttachmentFormat are used. If you set this parameter to $false, the values of the MessageFormat, MessageBodyFormat, and MacAttachmentFormat are ignored. When this parameter is set to $false, the recipient message format options are controlled by the following settings: The value of the ContentType parameter that is specified for the remote domain. The sender's settings in Microsoft Office Outlook.
568
MessageFormat
This parameter specifies the message format for messages that are sent to the mail user or mail contact. The valid values are as follows: Text The message is composed of only USASCII text. The message is not MIME-encoded. Mime The message is MIME encoded. If the MessageBodyFormat parameter is set to Text, you can set the MessageFormat parameter to Text or Mime. If the MessageBodyFormat parameter is set to Html or TextAndHtml, you can only set the MessageFormat parameter to Mime.
569
MessageBodyFormat
This parameter specifies the message body format for messages that are sent to the mail user or mail contact. Valid values for this parameter are as follows: Text The message body contains only USASCII text. The whole message could be plain text or the message could be MIME-encoded with a plain text message body. Html The message is MIME-encoded with HTML content in the message body. TextAndHtml The message body is a multipart MIME message that contains both text and HTML representations of the message in different parts. The default value is TextAndHtml. If the MessageFormat parameter is set to Text, you can only set the MessageBodyFormat parameter to the value Text. This results in a plain USASCII text message as defined in RFC 2822. If the MessageFormat parameter is set to Mime, you can set the MessageBodyFormat parameter to Text, Html, or TextAndHtml.
570
MacAttachmentFormat
This parameter specifies the Apple Macintosh Operating System attachment format for messages that are sent to the mail user or mail contact. Valid values for this parameter are as follows: BinHex This is a binary to hexidecimal attachment encoding algorithm. UuEncode This is a binary to US-ASCII text attachment encoding algorithm. AppleSingle This is a file format designed to store "dual forked" files that are compatible with the Apple Unix (A/UX) file system as a single file. AppleDouble This is a file format designed to store "dual forked" files that are compatible with the Apple Unix (A/UX) file system as two separate files. The default value is BinHex. If the MessageFormat parameter is set to Text, you can set the MacAttachmentFormat parameter to BinHex or UuEncode. If the MessageFormat parameter is set to Mime, you can set the MacAttachmentFormat parameter to BinHex, AppleSingle or
571
572
messages that are sent to the Internet. The following options are available: - Automatically wrap text at nn characters The default value of the placeholder nn is 76. The valid input range is 30 to 132 characters. - Encode attachments in UUENCODE format when you send a plain text message By default, this option is not selected. Uuencode is an encoding algorithm that converts binary attachments to US-ASCII text in the message body. Uuencode is only available for plain US-ASCII text messages as defined in RFC 2822. MIME-encoded messages can't use Uuencode. b. Click OK. 4. In the Message format section, click International Format.... 5. Click OK. You can control the message encoding options for messages that are sent to specific recipients outside the Exchange organization. These options are called Internet recipient message format options. The options only apply to remote recipients, and not to recipients in the Exchange organization. These options are described in the following procedure. To use Outlook 2007 to set the Internet recipient message encoding options 1. Use one of the following methods For an Internet recipient stored in the Contacts folder, open the contact, rightclick the e-mail address in the E-mail... field, and then select Send Options.... For Internet recipients on the To:, Cc: or Bcc: fields, as you compose the message, right-click the recipient, and then select Send Options.... 2. Select I want to specify the format for messages to this recipient. 3. Select one of the following options in the Message Format section: MIME This option specifies MIME encoding for messages that you send to this recipient. This is the default option. When you select MIME, you must select one of the following options in the Message Body: section: - Plain Text This option specifies that the MIME-encoded message body should use plain text formatting. The message body may only contain unformatted text. - Include both Plain Text and HTML This option specifies that the message is a multipart MIME message that contains a plain text version and an HTMLFormatted version of the message body. - HTML This option specifies that the MIME-encoded message body should use HTML formatting. The message body may contain different fonts, embedded graphics, and other formatting options. Plain Text/UUEncode This option specifies that the message should be a
573
message composed of only US-ASCII text as specified in RFC 2822. The Uuencode encoding algorithm for is used for any attachments. - By default, the BINHEX attachment format for Macintosh files is selected. To force the attachment format for Macintosh files to UUEncode, clear the check box next to BINHEX. 4. Click OK. Note: Outlook 2007 doesn't support using Personal Address Book (.pab) files. Outlook 2003 and earlier versions of Outlook fully support .pab files. The previous steps are identical whether the contact is stored in the Contacts folder, or in a .pab file. By default, Outlook uses automatic character set message encoding by scanning the whole text of the outgoing message to determine the appropriate encoding to use for the message. This setting applies to messages that you send to Internet recipients and recipients in the Exchange organization. To use Outlook 2007 to set the default message character set encoding 1. In Outlook 2007, from the toolbar, click Tools, and then click Options. 2. Click the Mail Format tab. 3. In the Message format section, click International Options.... In the Encoding Options section, select the default encoding options for outgoing messages. The following options are available: Auto select encoding for outgoing messages By default, this option is selected. Outlook scans the whole text of the outgoing message to determine the most compatible character set for the message. For automatic encoding selection in Outlook to work correctly, you must make sure that appropriate international support NLS files and fonts are installed on the client computer. Preferred encoding for outgoing messages This encoding option specifies the default MIME character set for all outgoing messages. This encoding is used when the auto select encoding method is not selected, or when the auto select encoding method finds multiple appropriate encoding methods. 4. Click OK. You can override the default character set message encoding for an individual message, but only when you have specified a default preferred encoding for outgoing messages. To override the default character set message encoding while you compose a message as described in the following procedure.
574
To use Outlook 2007 to set the message character set encoding while you compose a message 1. In Outlook 2007, from the toolbar, click Tools, and then click Options. 2. Click the Mail Format tab. 3. In the Message format section, click International Options.... In the Encoding Options section, clear Auto select encoding for outgoing messages. 4. Click OK to close the International Options window. 5. Click OK to close the Options window. 6. Select the File menu, select New, and then select Mail Message. 7. In the new message window, select the Encoding menu, and then select the character set that you want to use.
The list specifies the order of precedence from lowest to highest. A setting made at a higher level may override a setting made at a lower level. The following table describes the order of precedence from lowest priority to highest priority for message character set encoding options. Table 71 Order of precedence from lowest priority to highest priority for message character set encoding options
Source Parameter Values
575
The following table describes the order of precedence from lowest priority to highest priority for plain text message encoding options. Table 72 Order of precedence from lowest priority to highest priority for plain text message encoding options
Source Parameter Values
Set-RemoteDomain
LineWrapSize
0-132 unlimited
Plain Text Plain Text Options: Encode attachments in UUENCODE format when you send a plain text message Automatically wrap text at nn characters
Outlook settings
Plain Text format UUEncode attachment format BINHEX Mac attachment format Uuencode Mac attachment format
Set-MailUser Set-MailContact
UsePreferMessageFormat
$True. If $False or if the recipient isn't defined as a mail user or mail contact in the Exchange organization, the mail user or mail contact settings are ignored. Text
MessageFormat
MessageBodyFormat
Text
MacAttachmentFormat
BinHex UuEncode
576
The following table describes the order of precedence from lowest priority to highest priority for MIME message encoding options. Table 73 Order of precedence from lowest priority to highest priority for MIME message encoding options
Source Parameter Values
Set-RemoteDomain
ContentType
Outlook settings
Message format
Outlook settings
Include both Plain Text and HTML Set-MailUser Set-MailContact UsePreferMessageFormat HTML
$True. If $False or if the recipient isn't defined as a mail user or mail contact in the Exchange organization, the mail user or mail contact settings are ignored. Mime
MessageFormat
MessageBodyFormat
Set-MailUser Set-MailContact
MacAttachmentFormat
577
578
The maximum size for all the files in the InboundFailures folder is 128 MB. The maximum size for all the files in the OutboundFailures folder is 128 MB. The content conversion tracing directories don't use circular logging to remove old files, depending on the age or size of the files. As soon as the maximum size for a folder is reached, content conversion tracing stops writing information to the folder. If you want to make sure that the maximum folder size limits aren't exceeded, you can create a scheduled task that periodically moves the content conversion tracing files to a different location. The permissions that are required on the folders and subfolders that are used in content conversion tracing are as follows: Administrators: Full Control Network Service: Full Control System: Full Control
Caution: Content conversion tracing copies the complete contents of e-mail messages. To avoid unwanted exposure of confidential information, you must set appropriate security permissions on the location of the content conversion tracing files.
<GUID>.txt This file contains the exception description, conversion results, and the conversion options and message size limits that are imposed on all messages by the store driver. A content conversion error that occurs when an outbound message is converted from MAPI to MIME generates the following two files in the OutboundFailures folder: <GUID>.msg This file contains the failed message in the Microsoft Office Outlook message format. <GUID>.txt This file contains the exception description, conversion results, and the conversion options and message size limits that are imposed on all messages by the store driver.
579
The placeholder <GUID> is the same in both file names. Each content conversion error generates a different GUID that is used in the file names of the corresponding message and text files. An example of a GUID that is used in the file names is 038b930e-61fd-4bfdb9b4-0374c18b73f7.
580
Constructs of iCalendar that can't be supported by the Outlook or Exchange calendar schema. Conversion failures of iCalendar do not result in the sender receiving a 5.6.0 DSN message. Instead, the message is delivered with an attached .ics file that contains the iCalendar message body. Failures caused by badly formatted MIME message Unsolicited commercial e-mail or spam messages may have formatting errors in the message header, such as unmatched quotation marks in recipient descriptions. A much smaller number of failures caused by badly formatted MIME are considered bugs. Outbound content conversion failures are much less common than inbound failures. When outbound failures occur, they are usually caused by Exchange code bugs or corrupted message content.