HOWTO: Install the Sample Gateway in Exchange Development Kit
ID: Q200669
|
The information in this article applies to:
-
Exchange Development Kit (EDK), versions 4.0, 5.0, 5.5
SUMMARY
The Exchange Development Kit (EDK) contains the files necessary to build the sample gateway. This article explains how to install the sample gateway once it has been built.
MORE INFORMATION
This article assumes the following:
- The Exchange server is installed to the directory C:\Exchsrvr.
- You have built these programs found in the Platform SDK in subdirectories under \Samples\Dbmsg\Exchange:
- Proxygen.dll
- Sgwadmin.dll
- Gwsample.exe
- Xlatinst.exe
- Addrinst.exe
- Extninst.exe
- Gwinst.exe
- Servinst.exe
- Ipm_in.dll
- Ipm_out.dll
- The Exchange server name is Server, the Exchange organization name is Organization, the Exchange site name is Site, the Windows NT domain name is Domain, the Exchange service account name is Exchange-Service-Account, and the password for the Exchange service account is Password.
- You are logged into Windows NT as the Exchange-Service-Account.
Steps to install the Sample Gateway
- Make a directory named C:\Exchsrvr\Address\EDK\i386 and copy Proxygen.dll to that directory.
- Make a directory named C:\Exchsrvr\Add-ins\Sgw\i386 and copy Sgwadmin.dll to that directory.
- Make a directory named C:\Sgw\In.
- Make a directory named C:\Sgw\Out.
- Copy Gwsample.exe to C:\Sgw.
- Copy Ipm_in.dll and Ipm_out.dll to your \Winnt\System32 directory.
- 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.
- Issue the following commands:
C:\>Xlatinst.exe /dll=IPM_IN.DLL /CLASSES=ENVELOPE.IPM%REPORT.IPM /POINT=SAMPLEGW.INBOUND
C:\>*NOTE: if you use this command in a batch file insert an additional % when defining the CLASSES; that is, /CLASSES=ENVELOPE.IPM%%REPORT.IPM
C:\>Xlatinst.exe /dll=IPM_OUT.DLL /CLASSES=ENVELOPE.IPM%REPORT.IPM /POINT=SAMPLEGW.OUTBOUND
C:\>*NOTE: if you use this command in a batch file insert an additional % when defining the CLASSES; that is, /CLASSES=ENVELOPE.IPM%%REPORT.IPM
C:\>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
C:\>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
C:\>Gwinst.exe /sitedn=/o=Organization/ou=Site /display_name=SGW /name=SGW:i386 /addrtype=edk /server=Server /extname=sgw
C:\>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
- 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.
Additional query words:
kbDSupport kbXchge kbMsg kbEDK kbEDK400 kbEDK500 kbEDK550
Keywords : kbEDK kbXchge kbMsg kbEDK400 kbEDK500 kbEDK550
Version : WINDOWS:4.0,5.0,5.5
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: August 12, 1999