Question: How can I modify the mail access URL like http://mail.domain.com for SmarterMail server?
Solution:
The instructions for setting up SmarterMail as an IIS site differ slightly, depending on whether you are using IIS 6.0 or IIS 7.0. Both are described below.
NOTE: This topic assumes that you are familiar with IIS and how it works. SmarterTools recommends you to use the Web server included with SmarterMail, if you are unfamiliar with or uncomfortable using Microsoft IIS.
Running SmarterMail in IIS6
An overview of the instructions are:
- Disable the SmarterMail Web server.
- Add Application pool.
- Add SmarterMail to IIS.
- Verify IIS Settings.
- Update DNS.
- Test the site.
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 as Disabled.
- Click on the Apply button.
- Click 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 select 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 IP address which is to be used 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\SmarterTools\SmarterMail\MRS.
- Leave the "Allow anonymous access to this web site" box as 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 v2.0.50727 Web Service Extension is set as 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 following this path: 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.
Configuring IIS7 for Windows 2008
An overview of the instructions is:
- Disable the SmarterMail Web server.
- Add Application pool.
- Add SmarterMail to IIS.
- Verify IIS Settings.
- Update DNS.
- Test the site.
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 :: 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.
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.
- Select ServerName. Under IIS, double-click ISAPI and CGI restriction. Verify that ASP.NET v2.0 is allowed (If not, right click on ASP.NET v2.0 and select Allowed).
- On the left side of the page, right click and choose Add Website.
- Name the site as 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\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.
- Click OK.
Verify IIS Settings
Follow these steps to verify the IIS settings:
- In IIS Manager, click ServerName.
- Under Security, double click ISAPI and CGI Restrictions.
- Verify that ASP .NET v2.0 is allowed. If it is not, right-click on ASP .NET v2.0 and select Allowed.
- In IIS Manager, double-click Sites.
- Double-click the SmarterMail site.
- Double click on the App_Themes folder.
- Under IIS, double click HTTP Response Headers.
- Under the Action menus, click Set Common Headers.
- Check Expire Web content.
- Click After.
- Click the add 7 for the number of days.
- Click OK.
- In Administrative tools under Services, verify that the World Wide Publishing Service is Running.
HC Panel End Settings:
- Login in HC panel at hcadmin level, Go to menu Server Manager :: Edit Server :: Mail Setting.
- In the mail server IP field enter that Unique IP and enter port "80".
- Provide SmarterMail login.
Note: Source taken from www.smartertools.com
If you have any further queries, please contact HC community.