Ask the Community
Groups
How to Configure SMTP Virtual Server in Windows Server 2003 with IIS 6 - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>How to Configure SMTP Virtual Server in Windows Server 2003 with IIS 6</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <h3 data-id="purpose">Purpose</h3> <p>This article provides the steps to configure a host running Windows Server 2003 and IIS 6 for an SMTP server. An internal SMTP relay can be useful for sending notifications from Unitrends appliances.</p> <h3 data-id="applies-to">Applies To</h3> <p>Windows Server 2003 and IIS 6.0</p> <h3 data-id="installing-the-smtp-service">Installing the SMTP Service</h3> <p>The SMTP service is not installed by default with IIS. You must install the SMTP service using <b>Control Panel</b>. Installing the SMTP service creates a default SMTP configuration that you can then customize by using IIS Manager.</p> <h4 data-id="to-install-the-smtp-service-on-iis-6-0">To install the SMTP service on IIS 6.0</h4> <ol><li>On the <b>Start</b> menu, click <b>Control Panel</b>, double-click <b>Add or Remove Programs</b>, and then click <b>Add/Remove Windows Components</b>.</li> <li>In the <b>Components</b> lists, click <b>Application Service</b>, and then click <b>Details</b>.</li> <li>In the <b>Subcomponents of Application Service</b> list, click <b>Internet Information Services (IIS)</b>, and then click <b>Details</b>.</li> <li>In the <b>Subcomponents of Internet Information Services (IIS) </b>list, select the <b>SMTP Service</b> check box, and then click <b>OK</b>.</li> <li>Click <b>Next</b>. If you are prompted for the Windows CD or the network install path, follow the instructions.</li> <li>Click <b>Finish</b>.</li> </ol><p>When you install the SMTP service, a default SMTP server configuration is created with a message store in C:\Inetpub\Mailroot.</p> <p>When you are setting up the SMTP services, you can configure global settings for the SMTP service, as well as settings for individual components of the virtual server.</p> <p><b>The SMTP service is a relay agent only.</b> Email messages are forwarded to an SMTP server for delivery.</p> <h3 data-id="configuring-the-smtp-virtual-server">Configuring the SMTP Virtual Server</h3> <p>Installing the SMTP service will create a new node in IIS Manager. In order to configure the SMTP virtual server, you must start IIS Manager. For more information, see the topic SMTP Administration in Microsoft's <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Fwindows%2Fit-pro%2Fwindows-server-2008-R2-and-2008%2Fcc732976%28v%3Dws.10%29">IIS Operations Guide</a>.</p> <h4 data-id="important"><b>Important</b></h4> <p>You must be logged on as a member of the Administrators group on the local computer to perform the following procedure (or procedures), or you must have been delegated the appropriate authority.</p> <h4 data-id="to-start-iis-manager-from-the-run-dialog-box">To start IIS Manager from the Run dialog box</h4> <ol><li>On the <b>Start</b> menu, click <b>Run</b>.</li> <li>In the <b>Run</b> box, type inetmgr and click <b>OK</b>.</li> </ol><h4 data-id="to-start-iis-manager-from-the-administrative-services-console">To start IIS Manager from the Administrative Services console</h4> <ol><li>On the <b>Start</b> menu, click <b>Run</b>. In the <b>Run</b> text box, type control panel, and then click <b>OK</b>.</li> <li>In the <b>Control Panel</b> window, click <b>Administrative Tools</b>.</li> <li>In the <b>Administrative Tools</b> window, click <b>Internet Information Services</b>.</li> </ol><h4 data-id="default-settings">Default Settings</h4> <p>The default SMTP virtual server has the following default settings. If you create a new virtual server, you can configure default settings using the New Virtual Server Wizard.</p> <ul><li> <b>Name</b> The name of the virtual server that appears in IIS Manager. You can change the name of the virtual server in IIS Manager. Simply right-click the virtual server and then click <b>Rename</b>.</li> <li> <b>IP address / TCP port</b> All unassigned IP addresses. You can use the <b>General </b>tab in the <b>SMTP virtual server properties</b> dialog box to change this setting. If you change this setting, you must specify an IP address and the TCP port combination that is not being used by another SMTP virtual server. TCP port 25 is both the default TCP port and the recommended TCP port. More than one virtual server can use the same TCP port, but they must be configured with different IP addresses. If you do not set a unique IP address and TCP port combination, the SMTP virtual server will not start.</li> <li> <b>Default domain </b>The domain name tha is listed on the <b>Computer Name</b> tab in <b>System Properties</b>. The default domain is used to stamp messages from addresses that do not have a domain. An SMTP virtual server can have only one default domain, and it cannot be deleted. To change the name of the default domain in IIS Manager, double-click the virtual server, and then double-click <b>Domains</b>. Right-click the local (or default) domain, and then click <b>Rename</b>.</li> <li> <b>Home directory</b> C:\Inetpub\Mailroot\. The home directory is the root of your SMTP content directories, and it must be local to the computer on which the SMTP service runs.</li> </ul><h3 data-id="n-a"> </h3> <h3 data-id="third-party-sources">Third-party Sources</h3> <p><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Faspnet%2F8b83ac7t%28v%3Dvs.100%29">Microsoft MSDN: Install and Configure SMTP Virtual Servers in IIS 6.0</a></p> </article> </main>