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

Re: [cobalt-users] DNS MX and mail questions



Glenn Parsons wrote:

> I have a domain 1bigthink.com. I have a domain onebigthink.com. I would
> like ALL users on 1bigthink.com to ALL receive email to the same username
> on onebigthink.com.

Let's make sure I understand this.

You've got users with accounts on onebigthink.com, for example,
glenn@xxxxxxxxxxxxxxxx

If I write to glenn@xxxxxxxxxxxxx, you want the mail to get forwarded to
the glenn@xxxxxxxxxxxxxxx mailbox.

Is that correct?

Do you run both sites on the same RaQ?

If you do it's quite simple.

If you had a RaQ4 it would be extremely easier: you'd go to Site
Settings for onebigthink.com and enter 1bigthink.com into the Email
Server Aliases field.

On RaQ3s it's a bit harder, and I though I no longer have a RaQ2, I
believe the same method will work on it:

Find the virtusertable file.  On my RaQ4 it's in /etc/mail, and I
believe it is on RaQ3s and RaQ2s as well, but if not, look in /etc.  If
you can't find it, just do a

# locate virtusertable

Once you've found the table, edit it by adding the following line to the
bottom of virtusertable:

@1bigthink.com<tab>%1@xxxxxxxxxxxxxxxxxxx

Then, from the root prompt, from the directory where virtusertable is
located:

# makemap hash virtusertable < virtusertable

Of course make sure you've got an MX record pointing 1bigthink.com to
1bigthink.com, and an A record for 1bigthink.com.  That's it (and no,
I've NOT made a mistake; it's all 1bigthink.com to 1bigthink.com; no
need to have any 1bigthink.com records pointing to onebigthink.com at
all).

All mail addressed to any username at 1bigthink.com will go to the same
username at onebigthink.com.  If there's no such username at
onebigthink.com, it'll go to the catchall account for onebigthink.com. 
If there's no catchall account, it'll be returned as undeliverable.

If the sites are hosted on different systems the requirements are a bit
different; let me know if you're hosting these on different systems and
I'll explain that method as well.

> I run my own DNS servers. I have the WWW served on a separate server than
> mail. WWW works. I don't know how to approach the mail dilemma.

Doesn't matter where DNS is hosted; we host DNS for about 8,000 domains;
virtually none of them on the same system that hosts the website.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net, P. O. Box 52672, Riverside, CA  92517
voice: +1 909 778-9980  *  fax: +1 909 548-9484