This article was previously published under Q196626
This article has been archived. It is offered "as is" and will no longer be updated.
The Exchange Server Internet Mail Service (IMS) allows you to configure theserver to allow mail relaying. When you enable the Mail relaying in the IMS's 'Routing' property page, all mail will be routed without restrictions. Exchange Server 5.5 Service Pack 1 allows the administratorto impose restrictions on routing.
To enable these restrictions on routing functionality, follow these steps:
Install Exchange Server 5.5 Server Pack 1 (or later).
Open the properties on the Exchange Server Internet Mail Service andselect the Routing page. After the SP1 installation, this page will have an additional button called <Routing Restrictions...>.
Click Routing Restrictions to bring up a dialog box with additional Restrictions.
Exchange Server 5.5 Service Pack 1 adds "Routing Restrictions" to theInternet Mail Service. This allows the administrator to specify who canrelay mail off of your Exchange Server computer.
The following Restrictions have been added:
Specify the hosts and clients that can route mail when the followingconditions have been met.
Hosts and clients that successfully authenticate:
Messages sent from hosts and clients with valid logon information are relayed.
Hosts and clients with these IP addresses:
Messages sent from host whose IP addresses and subnet mask fall within the range to be allowed to relay.
To only allow a single host or client, enter in the format, IP=>full IP address of client< (i.e 184.108.40.206), MASK=255.255.255.255
To allow a range of IP address to relay, enter in the format, IP=>scope to allow< (i.e 220.127.116.11>, MASK=255.255.255.0. This will allow the address range of 18.104.22.168 - 22.214.171.124 to relay.
Hosts and clients connecting to these internal addresses
Messages sent by hosts and clients that connect to the specified IP address on the Microsoft Exchange Server computer are relayed. This allows multihomed servers to restrict message relay based on the IP address to which the client connects. If you select this option, you must disable IP forwarding on the Networking property pages in Control Panel.
Specify the hosts and clients that can NEVER route mail.
Messages sent from the specified IP addresses and subnet mask are NOT relayed.