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

Re: [cobalt-developers] SMTP Email



Alec Woolford wrote:

> I have had a request to direct all the emails from a virtual site to the
> specific IP address of an Exchange server which will then distribute the
> emails to the machines on the network.
> 
> The MX record has to be a valid host name and not an IP.
> 
> Any other ideas?

All emails FROM a virtual site?  You have no control over how people
SEND email; you can't force them to use your server, or any other server
for that matter.

Are you writing about "outgoing" email from site-name?  If so, then the
answer is on their end; they don't point at your server, they point
their outgoing email at the IP# of their exchange server.  Every email
client I know of can use an IP# as an outgoing server designation.

But I bet you mean "all the emails TO a virtual site".

That's not hard...

In your /etc/hosts file add a line thus:

11.22.33.44	exchange.yourdomain.com

(that's a <tab> and not spaces)

It really doesn't matter; you can use any domain you want.

Then create an MX record (the usual way) pointing all mail to
<theirdomain.dom> to exchange.yourdomain.com.

The reason you want this in your /etc/hosts file rather than in your own
DNS zone is that you don't want it to work from outside your server.

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