In order for users to access SmarterMail outside of the server where it is installed, SmarterMail must first be configured as a site in a web server, such as Microsoft Internet Information Server (IIS). During SmarterMail's installation process, an IIS Config Tool will be available to automatically configure this site.
If Administrators wish to skip the IIS configuration during SmarterMail's installation, there are two options for completing that configuration later: 1.) Running the IIS Config Tool at a later time or 2.) manually configuring a site directly in IIS. To run the IIS Config Tool outside of SmarterMail's installation, navigate to its location in the server files, which defaults to C:\Program Files (x86)\SmarterTools\SmarterMail\IISTool\IisConfigurationTool.exe. To manually configure a SmarterMail site within IIS 7, follow the steps below.
NOTE: This topic assumes that you are familiar with IIS and how it works. For specific information on IIS, please refer to Microsoft's documentation and support: https://www.iis.net/overview
. It is also recommended to be up-to-date with all software patches.
This article covers the following:
- Adding a new application pool for SmarterMail
- Adding SmarterMail to IIS
- Verifying IIS Settings
Adding an Application Pool
Follow these steps to add an application pool specifically for SmarterMail:
- Open Internet Information Services (IIS) Manager.
- Right click on Application Pools from the tree view and choose Add Application Pool.
- Name the new application pool SmarterMail, or something similarly easy to identify.
- Set the .NET Framework Version to v4.5.x.
- Set the Application Pools Managed Pipeline to 'Integrated'.
- Make sure "Start application pool immediately" is checked.
- Click OK.
Adding SmarterMail to IIS
Follow these steps to add SmarterMail to IIS:
- Register your APS.net installation with IIS by running the following command prompt:
- Open Internet Information Services (IIS) Manager
- Click on your ServerName, and on the right side, under IIS, double-click ISAPI and CGI Restrictions.
- Verify that ASP.NET v4.5 is allowed. If not, right click on ASP.NET v4.5.x and select Allowed. Note: This version number display here may vary, depending on the ASP.net patch version.
- On the left side of the page, right click on Sites in the tree view and choose Add Website.
- Name the site SmarterMail.
- (If you created an Application Pool under a different name than SmarterMail, click Select and choose the correct Application Pool.)
- For the physical path, browse to the SmarterMail -> MRS folder. The default location is C:\Program Files (x86)\SmarterTools\SmarterMail\MRS.
- For Binding, choose an IP address to use for Webmail. If this IP address is shared with another website, you will need to use a different port or utilize Host Headers. For more information about using Host Headers, refer to the IIS documentation.
- Make sure "Start Web site immediately" is checked.
- Click OK.
Verifying IIS Settings
Follow these steps to verify the IIS settings. Please read each item carefully.
- In IIS Manager, click on your ServerName.
- Under IIS, double click ISAPI and CGI Restrictions.
- Verify that ASP .NET v4.5 is allowed. If it is not, right-click on ASP .NET v4.5 and select Allowed (SmarterMail versions 13.x and older allow the .NET 4.0 framework).
- In the tree view, click Sites.
- Expand (or double click) the SmarterMail site.
- Click on Application Pools in the tree view.
- Right click on the SmarterMail application pool and select Advanced Settings.
- Under the Process Model heading, ensure the Identity is set to the NetworkService account. It is also important to ensure that NetworkService has full control over SmarterMail's MRS directly.
- From the Start menu, open Administrative Tools and select Services, then verify that the World Wide Publishing Service is running.