No way to configure port for UDP new mail notification packets (264035)



The information in this article applies to:

  • Microsoft Exchange Server 2003 Standard Edition
  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange 2000 Server
  • Microsoft Exchange Server 5.5
  • Microsoft Exchange Server 5.0
  • Microsoft Exchange Server 4.0

This article was previously published under Q264035
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SUMMARY

You can configure an Exchange Server computer to use specific Transmission Control Protocol (TCP) ports for the information store, directory, and System Attendant to enable access to it through a firewall, router, or other device that blocks certain TCP or User Datagram Protocol (UDP) ports. You cannot configure the ports that will be used when the server sends a client a new mail notification packet. In a situation where UDP traffic from the server to the client is blocked, clients may not receive new mail notification. For additional information about configuring TCP/IP access to an Exchange Server computer through a firewall for Exchange 2000 Server, click the following article number to view the article in the Microsoft Knowledge Base:

270836 Exchange 2000 static port mappings

MORE INFORMATION

New mail notification messages are sent by means of UDP packets from the server to the client. The ports used for this notification are set by the client when the client logs on to the information store.

As part of the log on process to the information store, the client tells the server the IP address and port where it expects to receive new mail notification messages. This will be a UDP port in the 1024-65535 range.

When the server receives a mail message for a mailbox that a client is logged on to, it opens a UDP port dynamically, and sends a packet to the IP address and port registered by the client logged on to that mailbox.

Because the client picks a port at startup and the server does not always use the same port when sending the notification, there is no way to predict either the source or destination ports that this traffic will use.

For clients to reliably receive new mail notification packets, you must enable traffic as follows:

   Setting          Value
   ------------------------------------------
   Protocol ID      UDP
   Direction        Exchange Server --> Client
   Local Port       >1024
   Remote Port      >1024
					

The "Client" in this table can be specifying either specific client IP addresses or the networks where the clients reside. Your filtering device documentation will have information on how to actually implement the filter.

Note Microsoft Outlook 2003 includes a registry key that allows the setting of a static UDP port for new mail notification packets. This registry key is available only in Outlook 2003 or later. You can modify the following registry key to specify a UDP port number.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\RPC

Key: 	FixedUDPPort
Value: 	DWORD

The decimal value of the port number must be between 1024 and 65535.


Modification Type:MinorLast Reviewed:9/7/2005
Keywords:kbinfo KB264035