Set up SmarterMail as an IIS Site (IIS 7.0/7.5) instead of using SmarterMail Web server

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.

Following are the steps to add SmarterMail as an IIS web site in IIS 7.0/7.5:

[1] Stop and Disable the SmarterMail Web Server
Before you add SmarterMail as an IIS web site, it is essential that you stop and disable the SmarterMail web server. To stop and disable the SmarterMail web server, follow the below steps:

1. Click on Start -> Programs -> SmarterTools -> SmarterMail -> Configure SmarterMail Web Server
2. Click on the Stop button
3. Change the Startup Mode to Disabled
4. Click on the Apply button
5. Click the Close button

[2] Add an Application Pool for SmarterMail web site

1. Open Internet Information Services (IIS) Manager
2. Right click on Application Pools from the tree view and choose Add Application Pool
3. Name the new application pool SmarterMail, or any other name you would like
4. Set the .Net Framework Version to v4.0.x
5. Set the Application Pools Managed Pipeline to ‘Integrated’
6. Make sure “Start application pool immediately” is checked
7. Click OK

[3] Add SmarterMail web site to IIS 7.0/7.5

1. Open Internet Information Services (IIS) Manager
2. Click on your ServerName, and on the right side options, under IIS, double-click ISAPI and CGI Restrictions
3. Verify that ASP.NET v4.0 is allowed (If not, right click on ASP.NET v4.0.x and select Allowed)
4. On the left side of the page, right click on Sites in the tree view and choose Add Website
5. Name the site SmarterMail or something similar you like
6. If you have created an Application Pool name other than SmarterMail, click Select and choose the correct Application Pool
7. For the physical path, browse to the SmarterMail -> MRS folder. The default location is C:\Program Files (x86)\SmarterTools\SmarterMail\MRS (on 64-bit operating system)
8. 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.
9. Make sure “Start Web site immediately” is checked
10. Click OK

[4] Verify IIS Settings for the SmarterMail web site

1. In IIS Manager, click on your ServerName
2. Under IIS, double click ISAPI and CGI Restrictions
3. Verify that ASP .NET v4.0 is allowed. If it is not, right-click on ASP .NET v4.0 and select Allowed
4. In the tree view, click Sites
5. Expand (or double click) the SmarterMail web site
6. Click on the App_Themes folder
7. Under IIS, double click HTTP Response Headers
8. Under the Action menus, click Set Common Headers
9. Enable the Expire Web content setting
9.1. Click After
9.2 Add 7 for the number of days
10. Click OK
11. Click on Application Pools in the tree view
12. Right click on the SmarterMail application pool and select Advanced Settings
13. Under the Process Model heading, ensure the the Identity is set to the NetworkService account
14. From the Start menu, open Administrative Tools and select Services, then verify that the World Wide Publishing Service is running

Leave a Reply