[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RAQ3 Using two domains on one virtual site is ok but can I use both domains for email?
- Subject: RE: [cobalt-users] RAQ3 Using two domains on one virtual site is ok but can I use both domains for email?
- From: Rodolfo Paiz <rpaiz@xxxxxxxxxxxxxx>
- Date: Mon Feb 12 14:45:18 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> On my RaQ 3 server I have managed to configure the server to
> have two domain names pointing at one site using the redirect
> permanent, but I was wondering if I could also use the email
> for both domains can it be done in a similar way? Any ideas
> or suggestions would be good.
Not sure how to do it with the GUI, but instructions follow if you want
to do it by hand.
Let's say you have boo.com hosted and as your virtual site, but you want
to point boo.net and boo.org at it too. Edit the virtusertable directly
(make a backup first!), and add in the following lines:
boo.net [one or more tabs, no spaces] %1@xxxxxxx
boo.org [one or more tabs, no spaces] %1@xxxxxxx
Now, save the file and type the following two commands *exactly*:
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable
kill -HUP `head -n 1 /var/run/sendmail.pid`
Note that I assume here that your virtusertable file is in /etc/mail;
adjust the path if it is somewhere else. Also, note that the quotes in
the second command are BACKQUOTES and not any other type of quotes.
Using apostrophes or anything else *will* not work.
Finally, this will convert all incoming mail at boo.net and boo.org
names to boo.com; this setup presumes that you really only want to use
one name, but if someone uses the other two by mistake you want to catch
it. It won't work if you want to give out specific address with the
net/org suffixes. (Of course, you *can* do it... it's just slightly
different from the answer I just gave. Read the man pages for more
info.)
--
Rodolfo J. Paiz
rodolfo@xxxxxxxx <mailto:rodolfo@xxxxxxxx>