This article describes how you can configure the Internet Mail Service (IMS)
in Microsoft Exchange Server 5.5 Service Pack 1 (SP1) or later to stop
relaying unsolicited e-mail (spam). This configuration does not prevent Post
Office Protocol version 3 (POP3) clients and Internet Message Access Protocol
version 4 (IMAP4) clients from sending Simple Mail Transfer Protocol (SMTP)
messages.
NOTE: Exchange Server 5.5 Service Pack 1 (SP1) permits you to
set restrictions on routing.
To set restrictions on routing, follow these steps:
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:
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.
IP=full IP address of the client
For example:
1.1.1.1, MASK=255.255.255.255
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.
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.
You can use this setting to stop the relay of messages that are sent from specified IP addresses and subnet masks.