Message classification is a feature that is found within Exchange Server 2007 / 2010 and Outlook 2007 / 2010. By using the classification feature, a message that has been classified will contain specific metadata that describes the intended use or audience of the message. Additionally, when a message is classified, downstream applications like Outlook or OWA can use the classification metadata to display user-friendly information about the classification. Or, you can create transport rules that act upon messages depending on their classification and specific criteria.
In Exchange Server 2010 there are three message classifications that are enabled by default:
- Attachment Removed - Intended to inform recipients when attachments have been removed from the message.
- Originator Requested Alternate Recipient Mail - Intended to notify recipients that the message has been redirected from delivery to the original addressed recipient.
- Partner Mail - Intended to notify recipients that the message was encrypted and delivered through a secure connector.
Initially, these classifications are not associated with any transport rules and therefore inert. If you want to make use of these classifications, they will need to create a set transport rules to apply the default classifications based on certain conditions (hopefully as outlined in their descriptions).
In general, the whole point behind message classifications is so that they can be used for compliance and policy management. Either a user is explicitly defining a classification for a message or you are applying classifications to messages based on certain conditions. These classifications can then be used as either a visual cues (Outlook and OWA) as to the type of message being received by the recipient or you can have transport rules act on the classifications. For example, you can use a transport rule to prevent messages that have been classified as internal from being sent to external recipients.
To manage message classifications in Exchange there are four cmdlets that you can use:
- Get-MessageClassification – Used to get information about a specific classification.
- New-MessageClassification – Used to create a new message classification.
- Remove-MessageClassification – Used to delete a specific message classification.
- Set-MessageClassification – Used to modify a message-classification’s settings.
Details about creating message classifications and how to incorporate them into transport rules will be covered in my next post. But, once you have created a message classification, you will need to export that classification into an XML file, which can then be distributed to your Outlook 2007 or greater clients (otherwise users cannot apply the classification to messages). To accomplish this feat, use the Export-OutlookClassification.ps1 script to create the XML file using the following command:
Get-MessageClassification | .\Export-OutlookClassification.ps1 > C:\mycoolfile\Classifications.xml
Once you have the XML file, you will then need to distribute the file to your Outlook clients (using your favorite means). Finally, you will need to add a registry entry on the Outlook clients that points to the location of the XML file. Details are provided here: http://technet.microsoft.com/en-us/library/aa998271.aspx
If you like this, check out some other posts from Tyson:
- Using social networks to establish a publicly verifiable level of trust…
- Which browser is more secure IE8, Safari 4, Firefox 3.5, Chrome 4, or Opera 10?
- When a computer science degree matters, and when it doesn't
- Since when did cloud computing become/need a manifesto?
- Why would one phish using a Certificate Authority (CA) as bait?
- Would I trust you, if everyone else trusted you?
- Here is a good question: Is scripting programming or just systems administration?
- Fun with PowerShell 2.0 Eventing!
- Creating a custom 404 page to handle link redirection for ASP.NET web applications
Or if you want, you can also check out some of Tyson's latest publications:
- Windows PowerShell Unleashed (2ndEdition)
- Windows Server 2008 Unleashed (Yes, I did help on this book)
Lastly, visit the Microsoft Subnet for more news, blogs, and opinions from around the Internet. Or, sign up for the bi-weekly Microsoft newsletter. (Click on News/Microsoft News Alert)