Platform SDK: Exchange Server

Installing an Addr-Type Object in the Directory

You install an Addr-Type object in the Microsoft Exchange Server directory using the PROXYGEN.DLL. The source code for this DLL is included with the samples in the directory PROXYGEN. Installing an Addr-Type object has the following effects:

To install an Addr-Type object in the directory

  1. Copy a proxy generation DLL (for example, PROXYGEN.DLL) into the correct directory on the Microsoft Exchange Server computer. Each server has a top-level shared directory called \\<server name>\ADDRESS. The directory path is composed of the path to the ADDRESS directory, a directory name that matches the address type, and a directory name that matches the computer type. For example:
    CD /D C:\EXCHSRVR\ADDRESS
    MD EDK
    CD EDK
    MD I386
    CD I386
    XCOPY C:\MSSDK\BIN\PROXYGEN.DLL
    
  2. To install an Addr-Type object with the EDK address type on the MYSERVER server using the PROXYGEN.DLL library, type the following command on one line:
    ADDRINST /SITEDN=/o=Microsoft /ou=APPS-WGA /NAME=EDK /MACHINE=i386 /TYPE=EDK /PROXYDLL=\\MYSERVER\ADDRESS\EDK\I386\PROXYGEN.DLL /SERVER=MYSERVER /GWPROXY=EDK:@MICROSOFT.COM
    

To delete an Addr-Type object

  1. To delete an object under the same conditions, type the following command all on one line:
    ADDRINST /SITEDN=/o=Microsoft /ou=APPS-WGA /NAME=EDK /MACHINE=i386 /TYPE=EDK /PROXYDLL=\\MYSERVER\ADDRESS\EDK\I386\PROXYGEN.DLL /SERVER=MYSERVER /GWPROXY=EDK:@MICROSOFT.COM /DELETE
    
  2. Verify that the object has been deleted by opening a mailbox and making sure that it contains no address of the specified address type.

Note  Because the operation of creating new e-mail addresses is asynchronous, the event log should be examined for task completion before performing any command that requires new proxy addresses to be installed.