Blue Reef Technical Support Blue Reef Virtual Server Reseller ProgramInstallation instructions, manuals, how-tos, and more!About Blue Reef Consulting, Inc.

About Blue Reef Virtual ServersEcommerce Solutions for your Virtual ServerSearch the Blue Reef Virtual Server web site
Return to Blue Reef Virtual Servers Home Page
Order virtual servers, software, computers, and more!
Return to Blue Reef Main Home Page
Specials
Site Map
Support Solutions to help you do business with your Virtual Server.



Blue Reef Virtual Servers
Virtual Server Support
Virtual Server Addons
Virtual Hosting on a Virtual Server
Virtual Hosting Overview
Using vaddhost to Automatically Add Virtual Hosts to your ServerUsing vaddhost to Automatically Add Virtual Hosts to your Server
Setting up Virtual Hosting
Advanced Features of Virtual Hosting Setup
Configuring Email Hosts
Miva SubhostsMiva Configuration of Subhosts
Configuring Hosts with FrontPage Extensions
Virtual Hosting Limitations
Virtual Hosting Security Issues
Virtual Hosting FAQ
Request help using our Problem Tracking System
Order a Blue Reef Virtual Server now!


Email Configuration for Subhosts

In order to provide email for your virtual subhosts, you will probably use the Virtual Server "virtmaps" feature. This is a proprietary feature that we have added to sendmail, the underlying program which handles all of your Virtual Server email.


Why virtmaps?
An HTTP/1.1 compliant web server (like your Virtual Server Apache Web Server) can detect Virtual Subhost domains when an HTTP request is made, and it sends back the corresponding content to the client. An SMTP server, however, cannot detect Virtual Subhost domains. It can only see that subhost1.com and subhost2.com resolve to the same IP address. So, to the SMTP server, webmaster@subhost1.com and webmaster@subhost2.com are the same webmaster.

Through Blue Reef's unique use of virtmaps, your Virtual Server SMTP server can detect the domain name of an incoming email and then route the email properly, despite similar usernames.


Creating Virtmaps
There are several methods you can use to create virtmaps on your Virtual Server.

iManager
iManager Tools and Wizards allow you to use your own web browser to easily create virtmaps on your Virtual Server.

Telnet/SSH
Connect to your Virtual Server via Telnet or SSH and add the virtmap to your ~/etc/virtmaps file. Use an online file editor, like pico, or transfer the file to your PC in order to add the virtmap. Be sure to download and upload the ~/etc/virtmaps file in ASCII mode.

  1. The virtmap you create in your ~/etc/virtmaps file should look something like this:

      john@subhost1.com   address/account
      john@subhost2.com   address/account
      subhost2.com        address/account

    The left-and side of the virtmap is the incoming email address. The right-hand side is where the email will be routed.

    The routing location can be either an email address or an email box on your server


    Wildcard Email
    The virtmaps feature also supports wild card mapping, so that any email sent to a non-existing e-mail address is delivered to a "catch-all" email alias or address. If the left hand side is only a domain name, then all email sent to that domain name will be delivered to the email address on the right hand side.

    webmaster@domain.com    bigjoe64@aol.com
    karen@domain.com        karen 
    domain.com              johnny2 
  2. Run the vnewvirtmaps command in order for the database to rebuild itself.

      % vnewvirtmaps
Removing Virtmaps
iManager contains a utility to remove e-mail virtmaps.

If you wish to use Telnet/SSH, connect to your Virtual Server via Telnet or SSH and do the following.

  1. Remove the virtmap from your ~/etc/virtmaps file. Use an online file editor, like pico, or transfer the file to your PC in order to remove the virtmap. Be sure to download and upload the ~/etc/virtmaps file in ASCII mode.

  2. Run the vnewvirtmaps command.

      % vnewvirtmaps
SEE ALSO:

Virtual Server Basics

Server Configuration


Server Add-ons

Using Telnet/SSH

Admin Utilities

Microsoft FrontPage Extensions

Recommended Security Books

Recommended Server Books

BOOKS TO HELP YOU:

Apache Server For Dummies
Apache Server For Dummies


Apache: Web Server Directives Guidebook
Apache: Web Server Directives Guidebook


Administering Web Servers, Security and Maintenance
Administering Web Servers, Security and Maintenance

Amazon.com logo
Search for :
Enter keywords...