Let's begin with a demonstration of how you can create a simple transport rule that appends a disclaimer to any...
message sent by a member of a specific distribution group (in Exchange Server 2007, distribution lists are referred to as distribution groups).
For the sake of this example, let's pretend that you want to append a confidentiality disclaimer to any email sent out by your company's legal department. To keep things simple, let's also assume that you have created a distribution group called "Legal" that contains all of the recipients in the company's legal department.
- Begin the process by opening the Exchange Management Console.
- Navigate to Organization Configuration -> Hub Transport and select the Transport Rules tab.
- Click the New Transport Rule link found in the Actions pane to launch the New Transport Rule wizard.
- Enter a name for the Exchange Server 2007 transport rule you're creating. For this example, let's call the rule "Legal Department Disclaimer." This screen also contains an area in which you can enter a description of the rule that you are creating. (I've never been one to tell people to fill in description fields, but transport rules can be complicated enough that some rules may warrant a description.)
This screen also contains an "Enable Rule" checkbox, which is selected by default. This means that the rule you're creating will be enabled as soon as you finish creating it, unless you deselect this box. For our purposes, let's leave the "Enable Rule" checkbox selected, as shown in Figure A.
Figure A: You should leave the Enable Rule checkbox selected.
- Click Next and you will be taken to the wizard's Conditions screen, which will allow you to choose the circumstances under which the rule is activated. Notice in Figure B that there are many conditions from which to choose. One of the reasons why transport rules can be so complex is because you have the option to choose multiple conditions.
Figure B: Select the circumstances under which rules will be activated.
- Since our goal is to append a disclaimer to email messages sent by members of the Legal distribution group, select the" From a Member of a Distribution List" checkbox.
- In Figure B, notice that the bottom half of the screen says "Apply rule to messages from a member of a distribution list." The words "distribution list" are hyperlinked. You must click on this link to specify the specific distribution groups to which you want the rule to apply. After doing so, the text at the bottom of the screen changes to reflect the name of the distribution list, as shown in Figure C.
Figure C : The text reflects the name of the distribution group you've selected.
- Click Next, and you will be taken to the wizard's Actions screen. We have already specified the circumstances that should trigger the transport rule. Now we must tell Exchange Server 2007 what should happen when the rule is triggered. Again, you have lots of options available to you. Since our goal is to create a confidentiality disclaimer though, choose the "Append Disclaimer Text" checkbox.
- If you look at Figure D, you will notice that the last line of text at the bottom of the screen says "append disclaimer text using Arial, smallest, Gray, with separator and fallback to wrap if unable to apply". Exchange Server 2007 gives you the option of specifying the disclaimer text and how that text is displayed. By clicking on the various hyperlinks you can specify the font, its size, the font color, and whether or not you want to use a separator.
Figure D: Not only can you specify the disclaimer, but also how it is displayed.
The font and separator options are pretty much self-explanatory, but there are two options on this screen that I want to talk about a little bit more.
The first is the fallback option. Take another look at Figure D. The last part of the rule states that Exchange Server should fall back to wrap if unable to apply. Wrap is the default option, which is basically a way of telling Exchange Server to ignore the formatting and append the disclaimer in plain text.
You also have the option of falling back to an ignore state. If the disclaimer was unable to be applied for some reason, this option would cause Exchange Server to send the message without the disclaimer. Your other option in a fallback situation is to reject the message, so that it will not be sent without a disclaimer.
The second option is the append option. By clicking on the Append link, you have the option of either appending or prepending the disclaimer. This means that you can place the disclaimer at either the bottom or the top of the message.
Configuring exceptions to an Exchange 2007 transport rule
- When you finish specifying the disclaimer text and the related options, click Next and you will be taken to the wizard's Exceptions screen. The Exceptions screen is used to specify circumstances in you do not want to apply the rule when it would normally be triggered.
Let's suppose that an employee in the legal department is also a member of the company's recreation committee. If that employee sends a message to all of the other employees asking for a volunteer to dress up as Santa Clause for the company Christmas party, the message really doesn't need to be treated as confidential.
There are a few different ways you could use transport rule exceptions to handle this type of situation. One possible option is to create an exception based on the message recipients. For example, you might create a rule exception that applies to users inside the company. That way the disclaimer won't be attached to messages sent to employees.
A better option is to base the exception on distribution group membership. For example, you could create a distribution group called "Social" that contains all company employees. You could then create an exception so that messages sent to the Social distribution group do not contain the disclaimer.
Still another option is to base the exception on keywords in the message' subject line. If an employee in the legal department wants to invite someone to lunch or something like that, they could put the word "social" in the subject line and the disclaimer would be left off.
If you do decide to create keyword-based exceptions, just make sure to choose your keywords carefully. Imagine the implications of someone sending an email with a subject line like "Social engineering related security breach." You would definitely want that message to be kept confidential. But the subject line contains the word "social," so our rule would omit the confidentiality disclaimer from the message.
- After configuring any desired exceptions, click Next and you will see a screen that displays a summary of all of the information that you have entered. This screen displays the rule's name, description, and the conditions, actions, and exceptions that you have created. Assuming that everything looks good, click the New button and the rule will be created.
- When the process completes, click the Finish button.
The Exchange Servere 2007 transport rule is now ready to use.
TUTORIAL: HOW TO SET UP EXCHANGE SERVER 2007 TRANSPORT RULES
Part 1: How to add a disclaimer to Exchange Server 2007 email
Part 2: How to create message classifications for Exchange Server 2007 email
|ABOUT THE AUTHOR:|
| Brien M. Posey, MCSE
Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Exchange Server, and has previously received Microsoft's MVP award for Windows Server and Internet Information Server (IIS). Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at http://www.brienposey.com.