On Wed, 19 May 1999, Michael wrote:

>I am sorry if this has been touched on before, but after going through a
>plethora of messages, I have been unable to find what I am looking for.

np, were here to help =)

>
>I am trying to set up multiple domains with multiple aliases. For example:
>Joe B. has a login of joeb and an email address of -  [EMAIL PROTECTED]  Yet Joe
>H. has a login in as joeh and an email address of - [EMAIL PROTECTED] .

This is very very simple to do. What you want to do is set up your virtual
domains like normal, and make sure neither domain is in the 'locals' file,
that way the /var/qmail/alias directory is to be checked.

Add an acocunt for joeb
Add an account for joeh

on the machine locally, or on any other machine that you plan to have them
check pop mail from.

Now, in the /var/qmail/alias directory, create two files.

.qmail-foo-joe

containing:

&[EMAIL PROTECTED]

and

.qmail-foobar-joe

&[EMAIL PROTECTED]

Make sure that you add these domains to the virtualhosts file too.

>
>I am able to set alias so that Any mail sent to joe at any domain will go to
>whoever I choose. I just can not get it to where I can have the same alias
>name with different domains and still keep the mail separated. I am
>currently using the .qmail-joe format for my alias forwards and then put in
>the addresses that accept that mail. How do I set it up so that the mail for
>the joe alias from the domain foo.com only goes to the joeb account????
>
>Any help is greatly appreciated as I am pulling hair out on this one.
>
>
>
>Sincerely,
>
>Michael Hamson
>
>

  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
 10:00pm  up 104 days,  5:03,  3 users,  load average: 0.00, 0.06, 0.07

Reply via email to