MailEnable Standard Guide
Publishing via host headers or virtual directories
Services and Connectors > Web Mail > Configuring Web Mail > Publishing via host headers or virtual directories

MailEnable provides two ways of publishing web mail (or web administration) via the Internet. These approaches are referred to as configuring Host Headers, or a Virtual Directory.

The Host Header option allows web mail (or web administration) to be published through a single IIS web site. When a browser requests the URL, the host name portion of the URL request is mapped to the IIS web site that is publishing the MailEnable web mail (or web administration) application. This approach means web mail can be accessed through a URL like http://webmail.domainname or http://webadmin.domainname.

Publishing web mail through host headers

MailEnable Web Applications can be published through host headers through the following branch in the Administration Program: Servers > localhost > Services > WebMail

The list displayed in the right hand pane contains the host names to which users can access the MailEnable application.  To add a new host header, right click on Servers > localhost > Services > WebMail and select New > Host Header

This will present the following dialog which specifies the host name (e.g. webmail.yourdomain), the IP address that the host name is published as under DNS, and the port number.

The web mail skin, base and default language that will be used when someone attempts to access web mail via the given hostname can also be selected.

Setting

Description

Host name

The host name is the domain name users type in their web browser to access the web mail. You may wish to give the web mail a URL similar to webmail.example.com. A DNS entry has to be created in order to direct users to the IIS server.

IP Address

The address that the host header will be bound to. The DNS entry for the host name has to therefore point to this IP address.

Port

The port that the host header will listen on

Default postoffice Sets the default postoffice to be used for the web mail host header

Base

Set the base (Professional or Enterprise Edition) for web mail

Skin

Set the skin for the web mail interface

Language

Set the language for the mail interface

Publishing web mail through virtual directories

To allow the Web Web Mail interface to be accessible from other web sites listed within IIS a virtual directory can be created under each of the site.  The steps below explain the process involved:

  1. Navigate to the following location within the administration console: MailEnable Management > Servers > localhost > Services > WebMail 
  2. Right click on WebMail and select properties.
  3. Under the General tab click on the Configure button in the site configuration section.
  4. Select a web site within the site configuration window and click on the Install Webmail for selected site...  button to install the Web Administration virtual directory under the site.

The utility lists all the web sites that are published under IIS. It is then possible to install or remove web mail on each of these sites.Select the web sites to install web mail for by placing a tick in the box next to the site name.  Then select the Install web mail for selected sites button. Web mail can be removed from web sites by placing a tick in the box next to the site name and selecting the Remove web mail from selected sites button.