MailEnable Enterprise Guide
Services and Connectors / Web Mail / Configuring Web Mail / Publishing via host headers or virtual directories
In This Topic
    Publishing via host headers or virtual directories
    In This Topic

    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.



    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 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.


    The port that the host header will listen on

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


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


    Set the skin for the web mail interface


    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.

    Web mail skin selection

    MailEnable allows for the configuration of web mail bases and skins on a per server or domain basis.  A web mail base is the viewable design or style sheet that the end user of web mail can use.  Usually, these will have different features.

    Within the administration program there is an option to set the server level base web mail design.  See the Web Mail - Site Options for information on setting the server level base design. This will be the default base for every domain on the server providing one has not been set for a particular domain, which would override the server setting.

    To choose a base skin for a selected site or sites:

    1. Select the site(s) in the top view by placing a tick in the tick box next to each domain or web site.
    2. Select the button labeled Choose base for selected sites. 
    3. This will bring up a selection window. Using the drop down combo box, select the desired base for each of the web sites selected.

    Once a base is selected per site or server, then it is possible to select a skin on a domain basis or web site basis.  (also this generally occurs the same way in selecting a base). 

    To select a skin on a domain or website basis:

    1. Place a tick in the tick box for each domain
    2. Select Choose Skin…
    3. This will bring up a selection window. Using the drop down combo box, select the desired skin
    Note: When selecting a skin, you need to make sure the skin exists in the base folder selected.

    Web mail skin availability

    This option allows skins to be made Private or Public for a selected URL in the Site configuration screen.  To do this, select the Skin Availability button.  Highlighting the skin and double clicking will toggle availability between private and public.