sure, very very simple.
Make sure that the virtual domains are in the
/var/qmail/control/virtualdomains file, and NOT in the locals file.
Make a user on the box called 'user1'
Now, in your /var/qmail/control/virtualdomains file, have this:
www.virtualdomain1.com:alias-virtualdomain1
www.virtualdomain2.com:alias-virtualdomain2
in the /var/qmail/alias directory, create files named:
.qmail-virtualdomain1-webmaster
inside that file, put
&[EMAIL PROTECTED]
and the mail for [EMAIL PROTECTED] will be forwarded to him.
You can do this with any address you want @virtualdomainX.com
On Sun, 8 Aug 1999, steve j. kondik wrote:
>i've scoured the documentation and haven't figured out how to do this yet..
>here is my situation..
>
>my box has several ips, lets say domain1.com and domain2.com as well as some
>normal vpops, which work fine. now here is the problem, mail for
>[EMAIL PROTECTED] should go to user1 and mail for [EMAIL PROTECTED]
>should go to user2, now, both domain1 and domain2 are on the same box, using
>ip aliasing and all the users who recieve mail for these 2 domains have real
>shells on the box. is this possible without running multiple instances of qmail
>for each ip?
>
>this is probably easy, im just missing something here.
>
>thanks in advance,
>-steve
>
_ __ _____ __ _________
______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech
__ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC!
_ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
11:55pm up 16 days, 8:48, 3 users, load average: 0.00, 0.05, 0.07