WARNING! The following products were discontinued on 30 June 2021 and are no longer available for purchase or supported:
- Exclaimer Auto Responder
- Exclaimer Email Alias Manager for Exchange
- Exclaimer Mail Archiver
For more information, please see the Discontinued Questions and Answers page.
Scenario
You have Email Alias Manager for Exchanger installed and now want to control which aliases your end users can see in their Outlook.
Resolution
The first step to adding the registry keys is to create the paths according to the bitness of your operating system and Outlook. Please note that if the setting is present in HKEY_CURRENT_USER then it completely replaces the setting in HKEY_LOCAL_MACHINE.
The following steps involve modification to the registry. Serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
How to back up and restore the registry in Windows
Example 1: to include all addresses with the domain "youralias.com" enter the value *@youralias.com
If you are unsure whether you are using a 32-bit or 64-bit version, please follow the steps below:
64-bit Operating System running 32-bit Outlook:
- For all users: HKLM\Software\Wow6432Node\Exclaimer Ltd\Email Alias Manager\Settings
- Per user: HKCU\Software\Exclaimer Ltd\Email Alias Manager\Settings
64-bit Operating System running 64-bit Outlook:
- For all users: HKLM\Software\Exclaimer Ltd\Email Alias Manager\Settings
- Per user: HKCU\Software\Exclaimer Ltd\Email Alias Manager\Settings
32-bit Operating System:
- For all users: HKLM\Software\Exclaimer Ltd\Email Alias Manager\Settings
- Per user: HKCU\Software\Exclaimer Ltd\Email Alias Manager\Settings
Now that you have created the paths in the registry you can add the keys:
- DWORD called IncludeADProxyAddresses
- Multi-String called IncludePatterns
- Multi-String called ExcludePatterns
IncludeADProxyAddresses
If set to 0, the code will not read any proxy addresses (i.e. aliases) from the Active Directory and the only available address will be the user’s primary SMTP address. If set to 1 (default), the code will include all the proxy addresses from the Active Directory.
IncludePatterns
All proxy addresses from the Active Directory will be passed through this list of filter patterns, and only those that match will go on to the next stage. The default pattern is *@*.
Imagine your user's aliases are as follows:
Example 1: to exclude all addresses with the domain "youralias.com" enter the value *@youralias.com.
The drop-down in Outlook will look like this:
Example 2: to include all of a user's addresses where the domain contains "youralias." enter the value *@youralias*.
The drop-down in Outlook will look like this:
Example 3: to include all addresses where the user name contains "john@" enter the value john@*.
The drop-down in Outlook will look like this:
ExcludePatterns
All proxy addresses that have survived the IncludePatterns phase are passed through this list of patterns and all those that match will be removed from the list of addresses. The default pattern is (empty), i.e. no exclusions apply.
Example 1: to exclude all addresses with the domain "youralias.com" enter the value *@youralias.com
The drop-down in Outlook will look like this:
Example 2: to exclude all of a user's addresses where the domain contains "youralias." enter the value *@youralias.*
The drop-down in Outlook will look like this:
Example 3: to exclude all addresses where the user name contains "john@" enter the value * john@*
The drop-down in Outlook will look like this:
Wild cards
In the IncludePattern and ExcludePattern sections, wild cards (*) will be supported in both the local part and domain part of the address. Strings that do not contain the @ symbol will be treated as a domain part with a full wild card in the local part.
Regular Expressions
It is also possible to use regular expressions in these keys by starting the string with the prefix regex:
Example: to remove all aliases with a user name separated by a dot enter the value regex:\..*@
The drop-down in Outlook will look like this:
More details on regular expressions can be found here.