To set restrictions on routing, follow these steps:
- Install Exchange Server 5.5 Server Pack 1 (SP1) or later.
- Open the properties on the Exchange Server Internet Mail Service, and then click the Routing tab.
- Select Reroute incoming SMTP mail, and then add all inbound mail domains. (This setting is required for POP3/IMAP4 support.)
- Click Routing Restrictions. This opens a dialog box with additional restrictions.
For information about these additional restrictions, see the "Additional Routing Restrictions" section of this article.
Additional Routing Restrictions
Hosts and Clients That Successfully Authenticate
You can use this setting to relay only those messages that are sent from hosts and clients with valid logon information. If you have POP3 or IMAP4 users, each client profile must be set up to log on to the outgoing mail server.
To turn on outgoing server authentication in Microsoft Outlook or Outlook Express, follow these steps:
- Open the properties of the default Internet account, and then click the Servers tab.
- In the Incoming Mail Server box, verify that the user account information is in this format: domain\accountname. The domain account password follows the user account information.
- In the Outgoing Mail Server box, click to select the My server requires authentication check box, and then click the Settings button.
- Click either the Use same settings as my incoming mail server check box, or specify an additional account and password to use that is different from the account and password for the incoming mail server.
- To save the settings, click OK.
Hosts and Clients With These IP Addresses
You can use this setting to relay only those messages that are sent from a host whose IP addresses and subnet mask fall in the range that you specify.
- To permit only a single host or client to relay, type the IP address in the following format:
IP=full IP address of the client
For example: 1.1.1.1, MASK=255.255.255.255
- To permit a range of IP addresses to relay, type the IP address in the following format:
IP=range of IP addresses
For example:
1.1.1.0, MASK=255.255.255.0
This will permit the IP address range of 1.1.1.1 - 1.1.1.254 to relay.
Hosts and Clients Connecting to These Internal Addresses
You can use this setting to relay only those messages that are sent by hosts and clients that connect to specified IP addresses on the Microsoft Exchange Server computer. This permits multihomed servers to restrict message relay based on the IP address to which the client connects. If you select this option, you must turn off IP forwarding on the Networking property pages in Control Panel.
Specify the Hosts and Clients That Can Never Route Mail
You can use this setting to stop the relay of messages that are sent from specified IP addresses and subnet masks.