Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Server

Microsoft Exchange Server 2010 : Setting Up Transport Rules (part 4) - Creating New Rules with the Exchange Management Console

2/13/2014 3:42:00 AM

4. Creating New Rules with the Exchange Management Console

To create a new transport rule on your Hub Transport servers using the EMC, launch the EMC. Navigate to Exchange Organization => Organization Configuration => Hub Transport in the left-hand pane, then select the Transport Rules tab in the middle pane. Click the New Transport Rule task in the pane on the right to start the New Transport Rule wizard.

Figure 4 shows the Introduction screen of the wizard. Here you provide the name and optional description of the new rule, as well as select whether the rule will be enabled once it is created. The Name field is required. We recommend using the Comment field liberally—otherwise, after you have 50 transport rules you will begin to lose track of what each one does without digging through the rule itself. Click Next to continue once you have configured a name and comment.

Figure 4. New Transport Rule wizard Introduction page

Figure 2 (shown previously) shows the Conditions page of the wizard. The default condition is Apply Rule To Messages (there is no check box for this), which will match all messages. If you want to narrow down which messages will be affected, select the check boxes of one or more conditions; they will be added to the lower text field.

To fill in the values of the conditions, click the underlined blue text fields and select the results from the selection dialog boxes that are opened. Once you are satisfied with the selections, click OK to close the selection dialogs. Click Next to continue.

Figure 3 (also shown previously) shows the Actions page of the Edit Transport Rule wizard. There are no default actions. Select the check boxes of one or more actions; they will be added to the lower text field.

Figure 5 shows the Exceptions screen; essentially this is the same set of conditions that you find on the Conditions page. Unlike the Conditions page, though, there are no default exceptions. Exceptions allow you to specify the conditions under which the transport rule will not apply. If you want to create an exception, select the check boxes of one or more exceptions; they will be added to the lower text field.

Figure 5. New Transport Rule wizard Exceptions screen

Figure 6 shows the Create Rule screen. This screen gives you a summary of the rule that will be created. In this figure, you can see a rule we have created that applies a disclaimer to all messages received that have an X-header value of SPAM. The transport rule states that the messages must have a disclaimer added except if the message is from the email address Help@rules.com or if the sender's address contains the string "CEO".

Transport Rules

Transport rules are always fun to describe to customers, since they have a familiar point of reference. We simply tell them that they are similar in experience to what they create with the Outlook Rules wizard, except that these rules have many more available settings and run completely server-side.

One of the things that we often run into, when we start diving a bit deeper, is the ability to get creative around transport rules. Specifically, we had a customer who needed to define a disclaimer based on the user's department. This customer ran Exchange Server 2007 on all Hub Transport servers and had not yet upgraded to Exchange Server 2010. So for users in the legal department, the outbound disclaimer had to state the legal requirements regarding client communication, while the sales department disclaimer had to state the company's warranty information.

So our first reaction was "Sure, basic stuff!" So we fired up the New Transport Rules wizard and chose the "if sender and recipient AD attributes are evaluation" condition. When we selected attributes in the editing pane, we were presented with a list of available Active Directory attributes that could be added to our rule condition. Well... bad news... Department is not one of the AD attributes that were available. We then realized that we do have all the AD Custom Attributes available. We simply ran a script in Active Directory that cloned the value of the department attribute to the Custom Attribute 15, and then selected Custom Attribute 15 for our condition. Done—and we successfully fought and conquered devolution!

Now, what we didn't realize at that time—and what would have helped us back then—is that Exchange Server 2010 now includes pretty much every Exchange recipient attribute as an available Transport Rule condition. So today, in Exchange Server 2010, we can create a new rule for this customer simply by selecting the Department attribute.


Figure 6. New Transport Rule wizard
Other -----------------
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Using SMS Trace (part 2)
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Using SMS Trace (part 1) - Obtaining SMS Trace
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Using SMS Service Manager
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Status Message Process Flow
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Working with Status Message Queries
- Microsoft Systems Management Server 2003 : Filtering Status Messages (part 2) - Status Filter Rules
- Microsoft Systems Management Server 2003 : Filtering Status Messages (part 1) - Configuring Status Reporting Properties
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 6) - Upgrading Domain and Forest Functional Levels
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 5) - Moving Operation Master Roles
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 4) - Replacing Existing Domain Controllers
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 3) - Upgrading the AD Schema Using adprep
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 2) - Upgrading a Single Member Server
- Exchange Server 2007 : Migrating from Windows 2000 Server to Windows Server 2003 (part 1) - Beginning the Migration Process
- Microsoft Systems Management Server 2003 : Understanding Status Summarizers (part 3) - Configuring Status Summarizers - Site System Status Summarizer
- Microsoft Systems Management Server 2003 : Understanding Status Summarizers (part 2) - Configuring Status Summarizers - Component Status Summarizer
- Microsoft Systems Management Server 2003 : Understanding Status Summarizers (part 1) - Display Interval , Status Message Thresholds
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Working with Status Messages (part 2) - Setting Status Message Viewer Options
- Microsoft Systems Management Server 2003 : Analysis and Troubleshooting Tools - Working with Status Messages (part 1) - Viewing Site Status Messages
- Microsoft Dynamic CRM 4 : Data Migration (part 4) - Creating a Data Migration
- Microsoft Dynamic CRM 4 : Data Migration (part 3) - Creating a CRM Adapter Publisher
 
 
Most view of day
- Adobe Fireworks CS5 : Exporting to Flash Catalyst
- Windows Server 2012 Group Policies and Policy Management : Local Group Policies, Domain-Based Group Policies
- Printing from a Program, Printing a Document - Print a Document Using the Default Printer, Print a Document Using a Specific Printer
- Monitoring Dynamics CRM Using System Center Operations Manager (part 2) - Microsoft Dynamics CRM Architecture
- Microsoft Systems Management Server 2003 : Understanding Status Summarizers (part 1) - Display Interval , Status Message Thresholds
- Microsoft Dynamic AX 2009 : Working with .NET Business Connector (part 1) - Processing Requests and Responses
- SharePoint 2010 and PowerShell: Real-World Solutions : Scripted Installation of SharePoint 2010 Using Windows PowerShell
- System Center Configuration Manager 2007 : Available Reports and Use Cases (part 3) - Client Status Reporting
- Integrating SharePoint 2013 with the Office Applications (part 9) - Microsoft InfoPath - Customizing the Document Information Panel and List Forms
- Integrating SharePoint 2013 with the Office Applications (part 5) - Microsoft OneNote
Top 10
- Windows Phone 8 : Scheduled Tasks - Scheduled Task API Limitations
- Windows Phone 8 : Scheduled Tasks - Updating Tiles Using a Scheduled Task Agent
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 5) - Editing an Existing To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 4) - Creating the To-Do Item Shell Tile, Saving a To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 3) - Debugging Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 2) - TodoService, TodoItemViewModel
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 1) - TodoItem,TodoDataContext
- Windows Phone 8 : Scheduled Tasks - Using Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - Background Agent Types
- Windows Phone 8 : Windows Phone Toolkit Animated Page Transitions - Reusing the Transition Attached Properties
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro