The online FAQ database contains hundreds of answers to frequently asked questions, articles on using our web server applications and other related technologies, and resolutions to common problems. If you are seeing an error message, be sure to try searching on the error message or error number that you are seeing.

 
  1. A common misconception about the SMTP service in IIS is that it replaces or is exclusive at providing SMTP services on any particular server or domain. While it can indeed be used like that, very few installations apparently do. (And we would suggest you do not use it for that, as it is an extremely bare-bones solution as an SMTP server).
  2. Most installations use the IIS SMTP service solely as a means for ASP applications/files to create and queue e-mail, via the Microsoft CDONTS library. It is usually not used for incoming mail and does not have to affect the actual SMTP server(s) used on the same server or your network/domain. Note: By default, it will not run if any other SMTP software is running on the same server. It must be reconfigured as shown below (see item number 4).
  3. You configure the IIS SMTP service with the IIS Management Console application by selecting PROPERTIES for "DEFAULT SMTP SITE", or by creating a new SMTP site.
  4. If you are going to run the IIS SMTP service on the same exact server you are running other SMTP server software on, you need to change the default PORT setting for incoming connections to something other than the default (of 25). If you cannot get the IIS SMTP service to start, it is usually because you have some other server software running on PORT 25. This is on the SMTP SITE tab of the site properties.
  5. On the DELIVERY tab in the SMTP site properties, you should set MASQUERADE DOMAIN and FULLY QUALIFIED DOMAIN NAME to something like "MACHINENAME.MYDOMAIN.NET". Then you set the SMART HOST field to the IP address or FQDN of your actual SMTP server.
  6. Once you have the IIS SMTP service configured properly, you should now be able to start the service and get it to forward mail to your actual SMTP server. Your SMTP server could possibly be configured not to accept outgoing mail originating from unsecured/untrusted sources. This is common to prevent people who transmit SPAM from using your SMTP server to relay mail. You will just need to configure your SMTP server to accept outgoing mail from the IIS server. How to do this varies depending on what SMTP server software you are using.

Note: If you cannot get the SMTP site to start, make sure the port number you changed in step 4 is actually an available port. If it is, check the startup settings of the Microsoft SMTP service in the Services applet in Control Panel. If it is disabled, the site will not start. To determine what ports are open on your server, see FAQ Article #400 for more details.