Adding a Virtual Host

If you want IMail Server to receive mail for a second e-mail domain that has its own set of users, you need to set up a virtual host for the second domain. For example, if your mail server provides mail service for the e-mail domain, domain1.com, and you also want it to provide mail service for another e-mail domain, domain2.com, you need to create a virtual host for domain2.com. There are two types of virtual hosts:virtual hosts with IP addresses and virtual hosts without IP addresses.

See the chapter on configuration, in the IMail Server User's Guide for information about the two types of virtual hosts, including their limitations and DNS setup for virtual hosts.

To add a virtual host:

  1. From Administration Account Options, select Virtual Hosts.

  2. On the Virtual Host Administration page, click Add Host. The Add Virtual Host page appears. The list box shows all IP addresses set up in the Windows NT TCP/IP properties as well as any virtual IP addresses assigned by the IMail Server.

  3. Do one of the following:

  4. Official Host Name. Enter the name of the mail host. The name you enter here will be used to address mail to the users on the virtual host. For example, if you enter mail.domain2.com as the mail host name, any users you add to the virtual host will receive mail at user@mail.domain2.com.

  5. Aliases. Specify alternate host names for which you want the host to accept mail. For example, if your mail host name is mail.domain2.com, you can set an alias of domain2.com so that IMail Server accepts mail addressed to fred@mail.domain2.com and also fred@domain2.com. Multiple aliases are separated by a space.

  6. Top Directory Name. Enter the name of the directory where the directories for users, lists, and web files for this virtual host will be stored. In most cases, you will want to use a different directory for each virtual host that you create. It is possible for virtual hosts to share a single directory but then users that have the same names will actually share the same mailbox.

  7. Enter the parameters for mailboxes and messages. These parameters apply to all users on the virtual host.

  8. Sub Mailbox Creation.  IMail Server does not allow the automatic creation of sub-mailboxes via a sub mailbox delimiter. This setting allows the administrator to specify what to do when a message arrives for a user and is addressed to a sub-mailbox which does not exist. Select one of the following actions:

  9. Select the options to enable for the virtual host. The following options apply for the entire domain.

  1. Select the connection type. The following options apply for the entire domain.

Note: If the default domain is set to Force SSL, all virtual domains will also be restricted to using SSL. This is because the login page is based upon the default domain's settings. However, if a virtual domain is set for Force SSL there will be no impact on other virtual domains or for the default domain.

  1. Click Save to save the new virtual host configuration.

 


Related Topics

Modifying Virtual Hosts

Adding User Mail Accounts