How to avoid detecting local contacts as internal recipients

Problem

The CodeTwo Exchange Rules Pro 1.x and CodeTwo Exchange Rules software recognizes contacts existing in Active Directory as internal recipients. In result, incorrect rules are applied to the messages.

This Knowledge Base article is designed to use with older versions of CodeTwo software. If you have installed CodeTwo Exchange Rules Pro 2.x or upgraded version of CodeTwo Exchange Rules Family, please refer to this article. 

Solution

To avoid such issues, instead adding to scope of senders Internal users, you may exclude all users in your domain(s), using their e-mail addresses. Before going further, please find your domains' names. In this scenario We will use codetwo.com, as the first and only domain. Now, if you would like to apply the rule only for external recipients, please follow steps described below:

  1. ​​Remove "Internal users" from scope of senders
  2. Switch to the the "Exceptions" section (in CodeTwo Exchange Rules family you can find it at the bottom part of the window)
  3. Create new exception using "Add..." button, and then select "Scope of recipients"
  4. On the right side of windows click again "Add..." button and select "Email addresses"
  5. Fill the form with "*@YourCompanyDomain.com", so in this scenario it will be "*@codetwo.com"

    Please note that asterisk (*) character stands for any e-mail address in your domain. Additionally, if you have more than one domain, you may separate them using semicolon (;) sign, e.g. *@codetwo.com; *@codetwo.de

297-1
Fig. 1. Exception for all internal users in CodeTwo Exchange Rules Pro 1.x

 

297-2
Fig. 2. Exception for all internal users in CodeTwo Exchange Rules Family