[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Domain Pointers and Mail



At 03:43 30/04/01, you wrote:
I have a requirement to set up domain pointers.

I think one way to do it is create Cname records that point to
the virtual site?

I also beleive I can have an mx record for the "point from"
domains refer to the mail server name for the "point to" name?

So, if that's the case where is the incoming mail stored?
Does the catch all account on the "point to" account get all
mail from the "point from" domains?

I have this feeling I've painted myself into a corner.

Ok here is what I do with the second domain  on a raq2 and raq3
first I create a some dns records for it
2nddomain.com IN A IPaddress of main site
www.2doamin.com IN A IPadress of main site
2domain.com  IN MX 10 same as main sites mail records

Now that sends webtraffic and mail to the server
then edit  the /etc/httpd/httpd.conf
add
ServerAlias  www.2doamin.com 2doamin.com
to the
<VirtualHost  part on the mail site
restart httpd

edit the /etc/sendmail.cw
add
2doamin.com
allows mail to be accepted

edit the virtusertable add
@2doamin.com mailbox of mail site
or I guess you could add

@2doamin.com    %1@xxxxxxxxxxxxxxxx
this would problem be a better way if they have more than one mailbox

then
makemap hash /etc/virtusertable < /etc/virtusertable

then restart sendmail

make sure you back up those conf files first

Craig