Configuration of rules

CodeTwo Exchange Rules Family enables creation of email rules that will be triggered by the program prior to meeting the defined conditions while the messages are traveling through the Exchange Server.

In the subsections of this section, you will learn how to define the conditions / exceptions of rules, the groups of conditions / exceptions and finally add the actions to the defined rules. Furthermore, you will also learn how the particular actions and conditions work. Last but not least, you will be given information on the additional options useful while processing rules. Click the links below to learn more about:

To add a rule, click the Add button located in the List of rules pane within the Administration Panel. It will show the menu containing a new clean rule along the predefined samples of rules that may be used instead of creating such from scratch (Fig. 1.).

Adding a new rule.
Fig. 1. Adding a new rule.


After you add any of the predefined rules, their description will show in the pop out window.

The ready-made rules include:

  • New rule (clean) - adds a clean rule without any conditions nor actions (Fig. 2.).

Description of a new clean rule.
Fig. 2. Description of a new clean rule.

  • Signature for all email - inserts a signature for emails sent inside and outside a particular organization (Fig. 3.).

Description of a rule inserting signature for all emails.
Fig. 3. Description of a rule inserting signature for all emails.

  • Signature for internal email - inserts a signature to emails sent inside a particular organization (Fig. 4.).

Description of a rule inserting signature for internal emails.
Fig. 4. Description of a rule inserting signature for internal emails.

  • Disclaimer for outgoing email - inserts a signature to emails sent outside a particular organization (Fig. 5.).

Description of a rule inserting disclaimer for outgoing emails.
Fig. 5. Description of a rule inserting disclaimer for outgoing emails.

Once you add a rule, it will be instantly visible on the List of rulesTo manage the rules' order, you can use the up and down arrows or simply drag & drop the desired entries. Next to the up and down arrows there is a menu button that corresponds to the context menu available after right clicking a rule. The available options are:

  • Enable/Disable 
  • Rename
  • Clone 
  • Remove
  • Categories 
  • Move up/down (context menu only)

List of rules.
Fig. 6. List of rules.


The rules are applied in the order they are placed on the list in the left column (see Fig. 6.) from top to bottom. This also means that if several signatures are to be added by different rules, they will be added top to bottom in the order the rules are applied.

On the General tab of every rule, you can change its name, add a description, check when and who created / lastly modified the rule and finally enable it (Fig. 7.).

General tab.
Fig. 7. General tab.


Note that after adding the rules, they will be activated by default. It means that the program will apply actions defined in the rules if the conditions are met, right after clicking Submit changes button.

Search mechanism

The built-in search mechanism allows you to quickly find desired rules on the list. To begin a search, simply start typing in the search box field and finally hit Enter key. The searching is case insensitive, so it does not matter whether you type in "word" or "WoRd" - either way the rules will be found.

Using search box.
Fig. 8. Using search box.

The search is organized also by additional filters, that has both graphical and text representations. To manage assigned filters using the graphical picker, you can use the dropdown button and click an appropriate link. Every filter is shown in the search box with format of filter:"value" and is also case insensitive. The available filters are:

  • State - you can define whether you are looking for only enabled or disabled rules. The text representation is s:"Enabled" for enabled rules and s:"Disabled" for disabled ones.

State filter.
Fig. 9. State filter.

  • Category - you can define which categories must be assigned to rules you are looking for. The text representation is c:"category_name", e.g. c:"Auto responds" for rules that belong to "Auto responds" category.

Category filter.
Fig. 10. Category filter.

By default, if you choose multiple categories from the picker, the program will return all rules that matches at least one of the defined categories. The text representation would be c:"Category_one;Category_two;Category_three".  

On the other hand, in the case you need to filter rules that belong to multiple categories, you can use multiple filters using the text representation. Therefore a text representation c:"Category_one" c:"Category_two" will return rules that belong to at least these two categories.


For your convenience, rules can be organized in categories. A single category consists of chosen name and color. The Rule categories tab within program's Settings allows you to manage them using the AddEdit and Remove buttons (Fig. 11.).

Managing rules' categories.
Fig. 11. Managing rules' categories.


If you remove a category from the program's Settings, the category will be unbound from all associated rules.

A single rule can belong to multiple categories at a time. All categories to which the rule is assigned are displayed at the bottom of the General tab of every rule. From there you can also append more of them using the Assign categories button (Fig. 12.).

Rule categories.
Fig. 12. Rule categories.

Learn more about Categories

See also

Template editor - an overview of the built-in tool used for designing signatures, disclaimers and other emails sections.

CodeTwo Exchange Rules Converter - find out how to transfer your email signature / disclaimer adding rules to CodeTwo Email Signatures 365.

In this article

Was this information useful?