blip wrote:

> Hi all,
> Have a question about the following:
>
> We host domains, and have many of our customers requesting things like
> [EMAIL PROTECTED] and the next customer asks for [EMAIL PROTECTED]
>
> I do understand the .qmail alias mechanism for when the situation is
> "local".  Can someone smack me in the direction of how to accomplish
> this for
> when a qmail server is hosting virtual domains?

Hi blip ;)

Place these "same user name" domains in qmail/control/virtualdomains as
qmail reads the ~/local file first!  Remove any domains from ~/locals that
you are putting into qmail/control/virtualdomains or it wont work

Create lines such as this in var/qmail/control/virtualdomains

mydomain.com:mydomaincom
herdomain.com:herdomaincom

user mydomaincom now controls the mail for mydomain.com

I use the same name as the domain less the "dots" to see real easily
what's going on in the qmail/alias directory and to avoid a real user with
that name in etc/passwd or elsewhere.

In var/qmail/alias

touch .qmail-mydomaincom-sales
touch .qmail-mydomaincom-info
touch .qmail-mydomaincom-jim
touch .qmail-herdomaincom-sales
touch .qmail-herdomaincom-info
touch .qmail-herdomaincom-jim

place in each file your forward address such as

&[EMAIL PROTECTED]

Use innocuous domains and send the tests to yourself to start it off.

Call me if you want to see the setup on our name server.

R


--
Rick Weber
Weber Communications - Palace Developers.
Coterie Inc. - Server Admin.

Palace Server sites are available at http://webercom.com/
Our Virtual Education Center is at http://www.coterie.com/
Get Free Palace clients and servers at http://www.thepalace.com/

palace://palace.virtualscholar.com
palace://pennsylvania.lag.com
palace://webercom.com

PO box F, Whitehall PA., 18052

Reply via email to