Knowledge Base

HOW TO: Install the Sample Gateway in Exchange Development Kit

Article ID: 200669

Article Last Modified on 3/4/2004


APPLIES TO


This article was previously published under Q200669

IN THIS TASK

SUMMARY

This step-by-step article explains how to install the sample gateway once it has been built. The Exchange Development Kit (EDK) contains the files necessary to build the sample gateway.

back to the top

Requirements

This article assumes the following: back to the top

Steps to Install the Sample Gateway

  1. Make a directory named C:\Exchsrvr\Address\EDK\i386 and copy Proxygen.dll to that directory.
  2. Make a directory named C:\Exchsrvr\Add-ins\Sgw\i386 and copy Sgwadmin.dll to that directory.
  3. Make a directory named C:\Sgw\In.
  4. Make a directory named C:\Sgw\Out.
  5. Copy Gwsample.exe to C:\Sgw.
  6. Copy Ipm_in.dll and Ipm_out.dll to your \Winnt\System32 directory.
  7. Copy Msvcrtd.dll and Mfc42d.dll to your \Winnt\System32 directory. These files can be copied from your development computer to the Windows NT server that is going to run the gateway.
  8. Issue the following commands:

    Xlatinst.exe /dll=IPM_IN.DLL /CLASSES=ENVELOPE.IPM%REPORT.IPM /POINT=SAMPLEGW.INBOUND *NOTE: if you use this command in a batch file insert an additional % when defining the CLASSES; that is, /CLASSES=ENVELOPE.IPM%%REPORT.IPM Xlatinst.exe /dll=IPM_OUT.DLL /CLASSES=ENVELOPE.IPM%REPORT.IPM /POINT=SAMPLEGW.OUTBOUND *NOTE: if you use this command in a batch file insert an additional % when defining the CLASSES; that is, /CLASSES=ENVELOPE.IPM%%REPORT.IPM Addrinst.exe /sitedn=/o=Organization/ou=Site /name=edk /machine=i386 /type=edk /proxydll=\\Server\address\edk\i386\proxygen.dll /server=Server /gwproxy=EDK:@Site.Organization.com Extninst.exe /sitedn=/o=Organization/ou=Site /display_name="SGW EDK SAMPLE GATEWAY EXTENSION" /machine=i386 /name=SGW /extdll=\\Server\ADD-INS\SGW\i386\sgwadmin.dll /server=Server Gwinst.exe /sitedn=/o=Organization/ou=Site /display_name=SGW /name=SGW:i386 /addrtype=edk /server=Server /extname=sgw Servinst.exe /sitedn=/o=Organization/ou=Site /display_name=SGW /service=SGW /exe=c:\SGW\Gwsample.exe /server=Server /objname=SGW:i386 /objtype=gateway /account=Domain\Exchange-Service-Account /password=Password
  9. Run the Exchange Administrator program and configure properties of the sgw connector found on the Options tab. The Option tab for this article should have the following information filled in:
    Address Type: EDK
    Display Name: System Administrator
    Email Address: SysAdmin
    Messages to Process : select both Inbound and Outbound
                               INBOUND           OUTBOUND
    Threads                        4                4 
    Messages per Thread:           1                1
    Sleep per message:             0                0
    Polling Interval:        NOTIFICATION       NOTIFICATION
    Directory:                c:\sgw\in          c:\sgw\out
    Converter:             samplegw.inbound   samplegw.outbound
    						
    Start the SGW service in the Services Control Panel.
back to the top

Additional query words: kbDSupport kbXchge kbMsg kbEDK kbEDK400 kbEDK500 kbEDK550

Keywords: kbhowto kbhowtomaster kbmsg kbfaq KB200669