WhichAddress for MS Exchange 2000/2003 application

Updated: 30-June-2005   



Purpose

Exchange 2000 mailbox may have multiple SMTP addresses. For example, John Doe has a mailbox with john.doe@company.com primary SMTP address and johnd@company.com secondary SMTP address. As Outlook always resolves both SMTP addresses to mailbox name, there is no way to see what address the message was originally sent to. The only known workaround is looking through message envelope headers (open a message > View > Options...). Suppose John Doe would like to set a rule to put any emails sent to johnd@company.com to a separate "JohnD-Inbox" folder. When he tries to set the rule, it does not work because of address resolving.

WhichAddress for Exchange 2000/2003 application allows user to see which address the message was originally sent to and set up a rule to separate the messages being sent to different SMTP addresses.

Application is an Exchange store event sink. 




Benefits

- You can set up WhichAddress on per-mailbox basis or as "store-wide" application, i.e. it will work on each user's Inbox in the certain Exchange 2000 mailbox store 

- The application is server-centric, so you do not need to install any extra software on the client side 




Installation

On your Exchange Server computer:

1. Create a new mail-enabled user account and make sure it's mailbox alias is WATEST
 
2. Add the additional SMTP address WATEST1@domain.com

3. Select (or create) user account that is a member of the local Administrators, Domain Admins, Domain Users and Exchange Domain Servers security groups.
That account must have full permissions on the mailbox store. Open ESM (Exchange System Manager) and drill down to the mailbox store in question. Now open the properties and select the Security tab. Add your account and allow full control.
See also these MS articles: 
Exchange 2000 Permissions Required to Configure an Event Sink (http://support.microsoft.com/default.aspx?scid=kb;en-us;812861)
and 
How to Get Service Account Access to All Mailboxes in Exchange 2000 (http://support.microsoft.com/default.aspx?scid=kb;en-us;262054)



4. Log on as that user.

5. Create C:\Program Files\WhichAddress\ directory.

6. Download WhichAddress.zip archive file to C:\Program Files\WhichAddress\ directory and extract all files.

7. Run C:\Program Files\WhichAddress\WhichAddressSetup.exe

8. Check Install COM+ object checkbox. Place the #2 account name (using <domain>\<account> syntax) and password in the appropriate fields. Click CHANGE button.

9. Select in the first (upper) list the WATEST mailbox and check Register in the following Mailboxes checkbox. Click CHANGE button. WATEST mailbox will be placed in the second (lower) listbox.
 
10. Click Exit button.




Testing

1. Open any SMTP/POP3 e-mail client (for example, Outlook Express) and send two messages to WATEST@domain.com and WATEST1@domain.com

2. Using Outlook, open WATEST mailbox. Make sure the messages you just sent exist in the Inbox folder.

3. Open View menu. Select Current View > Customize Current View...

4. Click Fields... button. Select All mail fields from the list on bottom left corner of the form. Select E-mail account and Categories fields in the Available fields: list and press Add button. Click OK button to close Show Fields window. Click OK button to close View Summary window.

6. Look at E-mail account and Categories columns. Note you can sort on E-mail account.

7. Create a subfolder WATEST1 under Inbox folder. Select Tools menu > Rules Wizard and create the following rule: "Apply this rule after the message arrives assigned to WATEST1@domain.com category move it to the WATEST1 folder"

8. Open Outlook Express and send a message to WATEST1@domain.com

9. Check if the message has been moved to WATEST1 folder in Outlook.


I have tested WhichAddress with Outlook 2003 and Exchange 2000 SP1/SP2/SP3 on MS Windows 2000 Advanced server and with Exchange 2003 SP1 on MS Windows 2003 SP1. 




Uninstallation

1. Start C:\Program Files\WhichAddress\WhichAddressSetup.exe

2. Select all strings in the second mailbox list and mark Unregister from the following mailboxes checkbox.

3. Mark Uninstall COM+ object checkbox.

4. Press CHANGE button. After uninstallation is complete, press Exit button.




About this demo version. 

WhichAddress demo version works only for mailboxes whose names include "TEST". Examples:

      WhichAddress1TEST
      TEST2WhichAddress

Other mailboxes are unavailable. Also you can not register this demo version for all mailboxes at once (store-wide). Full product version has no limitations. 





What can I do if application is not working after Exchange server reboot?

Create WhichAddress_Reactivation.bat batch in C:\Program Files\WhichAddress directory. The batch file has to contain the following lines:
   Rem Reactivation of WhichAddress
   C:
   CD Program Files\WhichAddress
   C:\Program Files\SpamMover\WhichAddressSetup.exe -b
   Rem Done

Then make this file running after reboot. You can add this file to Windows Startup group, for example.





Feel free to send me your comments and criticism.

Thank you,

Victor Ivanidze,
software developer. 
IvaSoft
http://www.ivasoft.biz
mailto://victori@mail.fact400.ru
