deden purnamahadi <[EMAIL PROTECTED]> writes on 13 October 1999 at 10:11:21 JAV
> Dear all,
> Say, I have two domains : domain_a.com and domain_b.com
> Both use the same SMTP server (with qmail).
> Is possible that [EMAIL PROTECTED] has different mailbox as
> [EMAIL PROTECTED] ?
> How can I do that ?
This is what "virtual domains" do. There are a couple of approaches
1) Putting each domain under control of a different real user ("real"
meaning "listed in the passwd file"), and then putting a
.qmail-whoever file in the directory of the controlling user for each
user of the virtual domain. This is easiest IMHO for domains with
small numbers, a few tens, of users. (The control/virtualdomains file
maps from the virtual domain to the controlling user).
2) Using users/assign, you can centralize the mappings of virtual
users to actual mailboxes. I don't use this, but the documentation
covers it.
3) Fancy database-based schemes for large sites (tens and hundreds of
thousands of users). I don't use these, not being a large site.
The documentation including the FAQ, and Dave Sill's Life With Qmail
site, describe all this more clearly than I can off the top of my
head; knowing that you're looking for "virtual domains" you should now
be able to find the specific info you want in those sources.
Have fun!
--
David Dyer-Bennet **Update your records, forwarding expires soon** [EMAIL PROTECTED]
http://dd-b.lighthunters.net/ (photos) Minicon: http://www.mnstf.org/minicon
http://www.dd-b.net/dd-b (sf) http://ouroboros.demesne.com/ Ouroboros Bookworms
Join the 20th century before it's too late!