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, it will give administrators options to automatically configure this site.
If Administrators wish to skip the IIS configuration during SmarterMail's installation, they can manually configure a site directly in IIS. To manually configure a SmarterMail site within IIS 6, 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
Applies to SmarterMail 8.x - 13.x
Add an Application Pool
Follow these steps to add an application pool:
- Click on Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager.
- Right click on Application Pools and choose New -> Application Pool.
- Name the pool SmarterMail (or something equivalent) and click OK.
- Click Close.
Add SmarterMail to IIS
Follow these steps to add SmarterMail to IIS:
- Click on Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager.
- Right-click on the web sites tree on the left of the page and choose New -> Web Site.
- When asked for a description, type SmarterMail
- Choose the 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.
- For the physical path, browse to the SmarterMail\MRS folder. The default location is: C:\Program Files (x86)\SmarterTools\SmarterMail\MRS.
- Leave the “Allow anonymous access to this web site” box checked.
- When asked what permissions to grant, choose only Read and Run Scripts.
- Finish the Wizard.
- Go to Property of the site and then Home Directory tab
- From Application pool select the SmarterMail application pool you created
- Click Configure Button
- Add an application extension
- Executable: C:\Windows\Microsoft.net\Framework\v4.0.30319\aspnet_isapi.dll
- Extension: .xml
- All Verbs
- Uncheck "Verify that files exist"
- Click OK
Verify IIS Settings
Follow these steps to verify the IIS settings:
- If you are using Windows 2003, verify that ASP .NET v4.0 Web Service Extension is set to Allowed in IIS. If you do not see ASP .NET under Web Service Extensions, ensure that ASP .NET is enabled in the Application Server. You can do this by going to: Control Panel -> Add/Remove Programs -> Windows Components -> Application Server -> Details.
- Ensure that the default document for the site is Default.aspx (under the Documents tab).
- For better performance, set HTTP content expiration for 7 days on the App_Themes folder unless you are actively creating a new skin.
- In Windows 2003, alter application pool’s performance tab to disable the “Shutdown worker process after being idle for,” or change it to a high value, like 240.
Update DNS
If any domains are already set up with SmarterMail, make sure to update their Webmail DNS records to point to the new IP address.
Test the site
Open up your browser and type the IP address of the site you just added.
Applies to SmarterMail 8.x - 10.x
Disable the SmarterMail Web Server
These steps will stop and disable the web server included with SmarterMail. They will also have the side-effect of disabling the shortcut on SmarterMail on your desktop until you update it with the new URL for SmarterMail.
- Click on Start -> Program Files -> 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.
Add an Application Pool
Follow these steps to add an application pool:
- Click on Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager.
- Right click on Application Pools and choose New -> Application Pool.
- Name the pool SmarterMail (or something equivalent) and click OK.
- Click Close.
Add SmarterMail to IIS
Follow these steps to add SmarterMail to IIS:
- Click on Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager.
- Right-click on the web sites tree on the left of the page and choose New -> Web Site.
- When asked for a description, type SmarterMail
- Choose the 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.
- For the physical path, browse to the SmarterMail\MRS folder. The default location is: C:\Program Files (x86)\SmarterTools\SmarterMail\MRS.
- Leave the “Allow anonymous access to this web site” box checked.
- When asked what permissions to grant, choose only Read and Run Scripts.
- Finish the Wizard.
Verify IIS Settings
Follow these steps to verify the IIS settings:
- If you are using Windows 2003, verify that ASP .NET v4.0 Web Service Extension is set to Allowed in IIS. If you do not see ASP .NET under Web Service Extensions, ensure that ASP .NET is enabled in the Application Server. You can do this by going to: Control Panel -> Add/Remove Programs -> Windows Components -> Application Server -> Details.
- Ensure that the default document for the site is Default.aspx (under the Documents tab).
- For better performance, set HTTP content expiration for 7 days on the App_Themes folder unless you are actively creating a new skin.
- In Windows 2003, alter application pool’s performance tab to disable the “Shutdown worker process after being idle for,” or change it to a high value, like 240.
Update DNS
If any domains are already set up with SmarterMail, make sure to update their Webmail DNS records to point to the new IP address.
Test the site
Open up your browser and type the IP address of the site you just added.