Re: Setting-up virtual hosts and email addresses on Linux

From: Edward Lee epl (
Date: 03/16/04

  • Next message: Hans Fugal: "NAT-T on Linux?"
    Date: 16 Mar 2004 10:01:44 -0800

    Dan <> wrote in message news:<>...
    > On 15 Mar 2004 09:52:20 -0800, (Alex) wrote:
    > >Hi all,
    > >
    > >I'm setting up a web server, and though I know how to do virtual hosts
    > >in Apache, how do I setup mail to virtual hosts in sendmail (or any
    > >mail server really)? For example, if a client wants, I
    > >can get setup just fine, but I have no idea how to
    > >setup or any other email address.

    We use,, etc. as user names in /etc/passwd

    > You can set up your email to work in two different ways. The simplest
    > way is such that every email user has a Linux user account. To give
    > 'me' an email account, you simply create a user account for him. This
    > works regardless of the number of hosts or domains you have. A
    > problem only arises if you have different 'me's on different domains,
    > say and You've got two

    Yes, almost every domain wants sales:,, etc.

    > different email addresses, but you can only have one user account for
    > 'me'. But often this isn't a problem. I've got Postfix handling

    The problem is that the customer needs to login as,
    but they want

    > several domains for me, and I use this approach. This is the default
    > method for most mail servers.
    > If you truly need different hosts, then you set up a database to store
    > your email accounts and mail. I believe that qmail does it this way
    > by default.
    > > Any how-to's or
    > >anything about this?
    > Have a look at or I believe that
    > qmail,, sets up a database for virtual domains, although
    > the other MTAs can also be configured to do so.
    > Dan

  • Next message: Hans Fugal: "NAT-T on Linux?"