By default, SmarterMail installs a basic Web server that allows administrators to start using the application immediately after installation. However, SmarterTools recommends moving to a more robust and secure Web server, such as Microsoft IIS.
The instructions for setting up SmarterMail as an IIS site differ slightly depending on whether you are using IIS 6.0 or IIS 8.0. If you are using IIS 6.0, please refer to the KB article Set up SmarterMail as an IIS Site in IIS 6.0. If you are using IIS 8.0, please refer to the KB article Set Up SmarterMail as an IIS Site in IIS 8.
NOTE: This topic assumes that you are familiar with IIS and how it works. SmarterTools recommends that you use the Web server included with SmarterMail if you are unfamiliar with or uncomfortable using Microsoft IIS.
Applies to SmarterMail 8.x - 15.x
This article covers the following:
- Disabling the SmarterMail Web server
- Adding a new application pool for SmarterMail
- Adding SmarterMail to IIS
- Verifying IIS Settings
- Updating DNS
- Testing the site
Disabling the SmarterMail Web Server
These steps will stop and disable the default web server that is included with SmarterMail. This will also have the side-effect of disabling any shortcut for SmarterMail that may be placed on your desktop until you update it with the new URL for the SmarterMail site created in IIS.
- Click on Start -> Programs -> SmarterTools -> SmarterMail -> Configure SmarterMail Web Server
- Click on the Stop button
- Change the Startup Mode to Disabled
- Click on the Apply button
- Click the Close button
NOTE: You can also stop and disable the SmarterMail Web server from within the Services administrative tool if you are more comfortable using the Windows Server admin tool set.
Add 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 (SmarterMail versions 13.x and older allow the .NET 4.0 framework)
- Set the Application Pools Managed Pipeline to 'Integrated'
- Make sure "Start application pool immediately" is checked
- Click OK
Add SmarterMail to IIS
Follow these steps to add SmarterMail to IIS:
- Register your APS.net installation with IIS by running the following command prompt:
c:\windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
- 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. (SmarterMail versions 13.x and older allow the .NET 4.0 framework)
- 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 name other 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 Web site, you will need to use a different port or Host Headers. For more information about using Host headers, refer to the IIS documentation
- Make sure "Start Web site immediately" is checked
- Click OK
Verify 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 the App_Themes folder
- Under IIS, double click HTTP Response Headers
- Under the Action menus, click Set Common Headers
- Enable the Expire Web content setting
- Click After
- Add 7 for the number of days
- Click OK
- 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
- From the Start menu, open Administrative Tools and select Services, then verify that the World Wide Publishing Service is running
For more information, refer to the SmarterMail Online Help.
Learn more about SmarterMail's enterprise email features and benefits.