Vous êtes sur la page 1sur 27

Configuring the Outlook 2003 RPC over HTTP Client Page 1 of 27

Internet Explorer cannot display the webpage

• Articles
• Authors
• Blogs
• Exchange Hosting
• Free Tools
• Hardware
• Message Boards
• Newsletter
• RSS
• Services
• Software
• Tips
• White Papers

Site Search Search Site Submit Query

Advanced Search

• Home
◦ Articles & Tutorials
■ Exchange 2003 Articles
■ Mobility & Client Access

Configuring the Outlook 2003 RPC over


HTTP Client
Advertisement

Over 99% Spam Capture Rate!

Use the #1 Exchange Server anti-spam


solution, which uses two anti-spam
engines to capture over 99% of spam
flooding your server on a daily basis

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 2 of 27

Download a free trial!

The RPC over HTTP protocol allows your full Outlook 2003 MAPI
clients to connect to Exchange 2003 Servers using HTTP/HTTPS. This
solves the problem remote Outlook 2003 users have when located
behind restrictive firewalls. The trick is to figure out how to properly
configure the Outlook 2003 client to use this protocol. If you have
remote users who need to access Exchange 2003 via Outlook 2003,
then check out this article and see how to configure Outlook 2003 to
use RPC over HTTP.

• Published: Jan 05, 2004


• Updated: Oct 05, 2006
• Section: Mobility & Client Access
• Author: Thomas Shinder
• Printable Version
• Adjust font size:
• Rating: 3.9/5 - 358 Votes

• 1n
j
k
l
m
• 2n
j
k
l
m
• 3n
j
k
l
m
• 4n
j
k
l
m
• 5n
j
k
l
m

Internet connected organizations are coming to the realization that firewalls are useful for more
than just inbound access control. The traditional way of thinking about firewalls is that they
protect you from intruders located outside the firewall. Today’s firewall administrator realizes that
the corporate firewall must not only control what comes into the network, but also what leaves the
network. Many of us learned this lesson the hard way after having our networks infected with the
Nachi virus.

Unfortunately, many firewall administrators go too far. In their attempts at controlling outbound
access, they end up preventing outbound access to all protocols except for HTTP or SSL secured
HTTP (HTTPS). This prevents remote users from accessing your Exchange Server using secure
Outlook RPC connections via ISA Server 2000 Secure Exchange RPC publishing. Blocking
secure RPC connections prevents your remote users from benefiting from the full Outlook MAPI
client.

Microsoft realized the magnitude of this problem. Their solution is the RPC over HTTP protocol.
This protocol allows remote Outlook 2003 clients to connect to Exchange 2003 Servers using
HTTP or HTTPS. The RPC protocol commands and data are "wrapped" (as known as
encapsulated) in an HTTP header. The firewall in front of the Outlook 2003 MAPI client only
sees the HTTP header and passes the outbound connection through. The RPC over HTTP
protocols allows your remote users to get around what might be considered an overly zealous
approach to outbound access control.

The Outlook 2003 client connects to an RPC over HTTP proxy server. The RPC over HTTP proxy
server can be a front-end Exchange Server running IIS 6.0 on Windows Server 2003, or the RPC
over HTTP proxy server can be a machine running the IIS 6.0 RPC over HTTP proxy service on a
machine that is not configured as a front-end Exchange Server. Microsoft’s documentation

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 3 of 27

stresses the front-end/back-end Exchange configuration, but this configuration is not required. The
Outlook 2003 client only needs to connect to a Windows Server 2003 machine configured as a
RPC over HTTP proxy.

An example of such a configuration is shown in the figure below.

There are many ways you can make the RPC over HTTP proxy available to remote users. The
most secure way, and the only way I recommend that you do so, is to use an ISA Server 2000
firewall to control inbound access to the RPC over HTTP proxy. The ISA Server 2000 firewall is
able to inspect even SSL encrypted packets for dangerous exploits that might be hidden inside the
SSL tunnel. Other firewalls are not able to evaluate the validity of the commands and data moving
from a remote client to the RPC over HTTP proxy and put your network and Exchange Servers at
unnecessary risk.

For more information on how to configure an ISA Server 2000 firewall to support secure inbound
RPC over HTTP connections, check out the following series of articles:

Part 1 of this series can be found at:

http://www.msexchange.org/articles/rpchttppart1.html

Part 2 of this series can be found at:


http://isaserver.org/articles/rpchttppart2.html

Part 3 of this series can be found at:


http://www.isaserver.org/tutorials/rpchttppart3.html

Part 4 of this series can be found at:


http://isaserver.org/tutorials/rpchttppart4.html

You must use Outlook 2003 running on Windows XP Service Pack 1 to connect using the RPC
over HTTP protocol. In addition, you must install the hotfix mentioned in Microsoft KB article

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 4 of 27

Outlook 11 Performs Slowly or Stops Responding When Connected to Exchange Server


2003 Through HTTP. Download and install the hotfix before configuring a profile that allows
the user to connect to the Exchange Server.

It is important to note that you must create the Outlook 2003 profile while the Outlook 2003
computer is on the internal network, or while the Outlook 2003 computer is on the Internet and
can access the Exchange Server using RPC (TCP 135 – typically through an ISA Server 2000
secure Exchange RPC Publishing rule). You will not be able to create a new profile or change an
existing profile to use RPC over HTTP if is does not have access to the Exchange Server via RPC
(TCP 135).

This bears repeating: you will not be able to create a new Outlook profile when the Outlook client
is not on the internal network and can access the Exchange Server using RPC via TCP 135. In
addition, a user with an existing profile will not be able to alter the existing profile so that it can
use RPC over HTTP if that client is not located on the internal network and can access the
Exchange Server using TCP 135. The Outlook 2003 profile must be configured to use RPC over
HTTP while that machine is connected to the internal network and can access the Exchange
Server via TCP port 135.

Of course, there are always exceptions to the rule. The article Configuring Outlook 2003 for
RPC over HTTP indicates that you should be able to use the Office Resource Kit to configure an
Outlook 2003 profile that allows access to the RPC over HTTP severs without requiring RPC
access to the Exchange Server. We have not tested this configuration. If you have used the ORK
to configure such a profile, please let us know about your experiences on the message board at
http://forums.isaserver.org/ultimatebb.cgi?ubb=get_topic;f=5;t=002315.

Configuring the Outlook 2003 Client to use RPC over HTTP


Perform the following steps to create the Outlook 2003 profile:

1. Click Start and then right click on the Outlook 2003 icon in the menu. Click on the
Properties command.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 5 of 27

2. Click the Add button in the Mail dialog box.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 6 of 27

3. Type in a name for the profile in the Profile Name text box. Click OK.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 7 of 27

4. Select the Add a new e-mail account option in the This wizard will allow you to change
the e-mail accounts the direction that Outlook uses page. Click Next.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 8 of 27

5. On the Server Type page, select the Microsoft Exchange Server option and click Next.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 9 of 27

6. On the Exchange Server Settings page, type in the FQDN of the front-end Exchange
Server. This must be the same name used on the Web site certificate you have assigned to
the front-end Exchange Server’s Web site. For example, we obtained a Web site certificate
for the front-end Exchange Server’s Web site. The Common Name (CN) on the Web site
certificate is owa.internal.net. Therefore we enter owa.internal.net in the Microsoft
Exchange Server text box.

Type a user account name in the User Name text box. Click the Check Name button
to confirm that the Outlook 2003 client machine can communicate with the front-end
Exchange Server.

Put a checkmark in the Use local copy of Mailbox checkbox.

Click the More Settings button.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 10 of 27

7. You can change how Outlook detects the connection state on the General tab of the
Microsoft Exchange Server dialog box. Do not make any changes here unless you have an
explicit reason to do so.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 11 of 27

8. Click on the Advanced tab. Confirm that there is a checkmark in the Use local copy of
Mailbox checkbox. The default selection is Download headers followed by full item.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 12 of 27

9. Click on the Security tab. Put a checkmark in the Encrypt information checkbox. I’m not
sure this does anything when you use RPC over HTTP, but encryption is a good thing, so
we’ll enable this checkbox anyhow.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 13 of 27

10. Click on the Connection tab. Select the Connect using my Local Area Network (LAN)
option. Put a checkmark in the Connect to my Exchange mailbox using HTTP, then click
the Exchange Proxy Settings button.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 14 of 27

11. You configure the specifics of the RPC over HTTP session in the Exchange Proxy Settings
dialog box. Type in the FQDN to your front-end Exchange Server in the Use this URL to
connect to my proxy server for Exchange text box. This is same name listed as the
Common Name on the Web site certificate.

Put a checkmark in the Mutually authenticate the session when connecting with
SSL checkbox. Put in the FQDN of the front-end Exchange Server (the same name
listed on the Web site certificate) in the Principal name for proxy server text box.
Use the format:

Msstd:FQDN

For example, we use msstd:owa.internal.net for our published front-end Exchange


Server because the Common Name on the certificate is owa.internal.net.

Put a checkmark in the Connect using HTTP first, then connect using my Local
Area Network (LAN). This is an interesting setting, as its unclear what a "LAN"
protocol is in contrast to an "HTTP" protocol. I assume it means to use
unencapsulated RPC messages, but I can’t say that for sure.

In the Use this authentication when connecting to my proxy server for Exchange
drop down box, select the Basic Authentication option. This forces you to use SSL,
which is OK, because we are using SSL for our links.

Click OK on the Exchange Proxy Settings dialog box.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 15 of 27

12. Click Apply and OK on the Microsoft Exchange Server dialog box.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 16 of 27

13. Click Next on the Exchange Server Settings page.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 17 of 27

14. Click Finish on the Congratulations! Page.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 18 of 27

15. Click OK on the Mail dialog box.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 19 of 27

16. Open Outlook 2003. You will be able to use HTTPS for the connection, as confirm in the
Exchange Server Connection Status window. You can access the connection status
window by right clicking on the Outlook 2003 icon in the system tray and selecting the
connection status command right after you start up Outlook 2003.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 20 of 27

Summary
Outlook 2003 clients can connect to Microsoft Exchange 2003 Servers using the RPC over HTTP
protocol. This allows Outlook 2003 clients to get through firewalls that are configured to block
secure Exchange RPC connections from Outlook MAPI clients. Microsoft has solved this problem
by enabling the Outlook 2003 client running on Windows XP SP1 and above to encapsulate the
RPC protocol information in an HTTP header. ISA Server 2000 firewalls provide the highest level
of protection for RPC over HTTP proxies. This makes ISA Server 2000 the firewall of choice
when providing remote access to your Exchange Servers. The Outlook 2003 can be configured on
an individual basis, or you may be able to use the Office Resource Kit to configure Outlook
profiles.

I hope you enjoyed this article and found something in it that you can apply to your own network.
If you have any questions on anything I discussed in this article, head on over to
http://forums.isaserver.org/ultimatebb.cgi?ubb=get_topic;f=5;t=002315 and post a message. I’ll
be informed of your post and will answer your questions ASAP. Thanks! –Tom

About Thomas Shinder


Dr. Thomas W. Shinder is an MCSE, MCP+I, and MCT. He has worked as a technology trainer
and consultant in the Dallas-Ft. Worth metro area, assisting in development and implementation of
IP-based communications strategies for major firms such as Xerox, Lucent and FINA.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 21 of 27

Receive all the latest articles by email!


Get all articles delivered directly to your mailbox as and when they are released on
MSExchange.org! Choose between receiving instant updates with the Real-Time Article Update,
or a monthly summary with the Monthly Article Update. Sign up to the MSExchange.org Monthly
Newsletter, written by Exchange MVP Henrik Walther, containing news, the hottest tips,
Exchange links of the month and much more. Subscribe today and don't miss a thing!

• f
g Real-Time Article Update (click for sample)
b
c
d
e
• g
b Monthly Article Update (click for sample)
c
d
e
f
• g
b Monthly Newsletter (click for sample)
c
d
e
f

Enter email address

Latest articles by Thomas Shinder


• Configuring ISA to Redirect OWA Users to the Correct Directories and Protocols (Part 2)
• Configuring ISA to Redirect OWA Users to the Correct Directories and Protocols (Part 1)
• Protecting Microsoft Exchange with ISA Server 2004 Firewalls
• Providing E-Mail Defense in Depth for Microsoft Exchange with the ISA 2004 Firewall
SMTP Message Screener
• Providing Secure Remote Access for the Full Outlook MAPI Client using the Exchange
RPC Filter

Related links
• Using Outlook 2003 to connect to Exchange 2003 using RPC over HTTPS
• Implementing RPC over HTTPS in a single Exchange Server 2003 environment
• Configuring ISA Server 2000 to Support Outlook 2003 RPC over HTTP - Part 1: Preparing
the Infrastructure and Configuring the Front-End Exchange Server
• Troubleshooting RPC over HTTPS (Part 1)
• Troubleshooting RPC over HTTPS (Part 2)

Featured Links*
Fed up of handling email backup & retrieval requests?
Automatically archive email from Exchange to SQL or simply NTFS and let users find stored
emails easily in Outlook or a through web-based interface.
Microsoft Exchange 2007 Hosting + 24/7 US support - $9.99/mo
Only Exchange Hosting with 24/7 live US based phone/email support. Shared and dedicated
server options. 30 day trial!

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 22 of 27

Receive all the latest articles by email!


Receive Real-Time & Monthly MSExchange.org article updates in your mailbox. Enter your
email below!
Click for Real-Time sample & Monthly sample

Enter Email

Become an MSExchange.org member!


Discuss your Exchange Server issues with thousands of other Exchange experts. Click here to
join!

Community Area
Log in | Register

My Account | Log out

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 23 of 27

CodeTwo.com/Exchange-Signatures
Ads by Google

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 24 of 27

Limited time offer!

Get a free copy of the new SolarWinds Exchange Monitor!

Solution Center

Content Security for Exchange


Sponsored by GFI Software

• Anti Spam Section


• Articles & Tutorials
◦ Exchange 2007 Articles
◦ Exchange 2003 Articles
◦ Exchange 2000 Articles
◦ Exchange 2010 Articles
◦ Exchange 5.5 Articles
◦ Product Reviews
• Authors
◦ Anderson Patricio
◦ Henrik Walther
◦ Marc Grote
◦ Markus Klein
◦ Nathan Winters
◦ Neil Hobson
◦ Rui Silva
◦ Amit Zinman
◦ Lee Derbyshire
◦ Rodney Buike
• Blogs
• Exchange Hosting
• Hardware
◦ Mail Archiving
• Message Boards
• Newsletter Signup

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 25 of 27

• RSS Feed
• Services
◦ Anti Spam Filtering
◦ BlackBerry Hosting
◦ Exchange Hosting
◦ Hosted Email Archiving
• Software
◦ Administration
◦ Anti Spam
◦ Backup & Recovery
◦ Calendar Tools
◦ Content Checking
◦ CRM Software
◦ Disclaimers
◦ Document Management
◦ eDiscovery
◦ Email Anti Virus
◦ Email Archive & Storage
◦ Fax Connectors
◦ Free Exchange Tools
◦ List Servers - Mgmt
◦ Log Monitoring
◦ Migration
◦ Misc. Exchange server software
◦ Mobility & Wireless
◦ Outlook Addons
◦ OWA Addons
◦ POP3 Downloaders
◦ PST Management
◦ Reporting
◦ Security & Encryption
◦ SMS & Paging
• Tips & Tricks
• White Papers

Featured Products

Take the quiz to win


a 5 mailbox license

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 26 of 27

Featured Book

Order today Amazon.com


Special Preview: Read Chapter 9 here

Readers' Choice
Which is your preferred Migration solution?

• n Address Magic Enterprise


j
k
l
m
• j AXS-One Dynamic Data Migrator
k
l
m
n
• j Ensim Migration Tools
k
l
m
n
• j NetIQ Exchange Migrator
k
l
m
n
• j Priasoft Migration Suite for Exchange
k
l
m
n
• j Quest Migration Manager for Exchange
k
l
m
n
• j Other please specify
k
l
m
n

Vote!

TechGenix Sites
ISAserver.org
The No.1 ISA Server 2006 / 2004 / 2000 resource site.
WindowSecurity.com
Network Security & Information Security resource for IT administrators.
WindowsNetworking.com
Windows Server 2008 / 2003 & Windows Vista networking resource site.
VirtualizationAdmin.com
The essential Virtualization resource site for administrators.

• Anti Spam
• Articles
• Authors
• Blogs
• Books
• Free Tools
• Hardware
• Hosted Exchange
• Links
• Message Boards

• Newsletter
• RSS
• Services
• Software
• Tips
• White Papers

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009
Configuring the Outlook 2003 RPC over HTTP Client Page 27 of 27

About Us : Email us : Product Submission Form : Advertising Information


MSExchange.org is in no way affiliated with Microsoft Corp. *Links are sponsored by advertisers.

Copyright © 2009 TechGenix Ltd. All rights reserved. Please read our Privacy Policy and Terms
& Conditions.

http://www.msexchange.org/tutorials/outlookrpchttp.html 09/10/2009

Vous aimerez peut-être aussi