How to Configure a Windows Server 2003 Server as a Relay Server or Smart Host

 

When Microsoft® Windows Server™ 2003 is used as an SMTP relay server, it is configured with a default public domain. It is also configured to relay messages for only SMTP mail domains in the Exchange Server organization and does not relay messages to other domains.

Before You Begin

Before you perform the procedure in this topic, read Deployment Scenarios for Internet Connectivity.

The following permissions are required to perform this procedure:

  • Member of the local administrators group

Procedure

To configure a Windows Server 2003 server as a relay server or smart host

  1. Verify that SMTP is installed on the Microsoft Windows Server 2003 server. To verify that SMTP is installed:

    1. In Control Panel**,** double-click Add/Remove Programs, and then click Add/Remove Windows Components.

    2. Under Components, select Internet Information Services (IIS), and then click Details.

    3. Under Subcomponents of Internet Information Services (IIS), verify that the SMTP Service check box is selected. If the check box is not selected, select it, click OK, and then complete the installation instructions.

  2. In Internet Services Manager, add the SMTP mail domain for which you want the Windows server to relay. To add the SMTP domain:

    1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.

    2. Expand the server that you want, and then expand the default SMTP virtual server. By default, the default SMTP virtual server has a local domain with the fully qualified domain name (FQDN) for the server.

    3. To create the inbound SMTP mail domain, right-click Domains, point to New, and then click Domain.

    4. In New SMTP Domain Wizard, click Remote as the domain type, and then click Next.

    5. In Name, type the domain name of your SMTP mail domain for your Exchange organization.

    6. Click Finish.

  3. Configure the SMTP mail domain that you just created for relay:

    1. In Internet Services Manager, right-click the SMTP mail domain, and then click Properties.

    2. Click Allow the Incoming mail to be Relayed to this Domain.

    3. Click Forward all e-mail to smart host, and then type the IP address in square brackets ([ ]) or the FQDN of the Exchange server that is responsible for receiving e-mail for the domain. For example, to enter an IP address, type [123.123.123.123].

    4. Click OK.

  4. Specify the hosts that you want to openly relay to all domains:

    1. In Internet Services Manager, right-click Default Virtual Server and click Properties.

    2. On the Access tab, click Relay.

    3. Click Only the list below, click Add, and then add the hosts that you want to use the SMTP server to send mail.

    4. Under Single computer, specify the IP address of the Exchange bridgehead server that you want to relay using this SMTP server. Click DNS Lookup to find the IP address of the specific server.

For More Information

For more information about how to configure a Windows server as a relay server or smart host, see Microsoft Knowledge Base article 293800, "XCON: How to Set Up Windows 2000 as a SMTP Relay Server or Smart Host."