Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 1998 14:33:32 -0500 (EST)
From:      mike@seidata.com
To:        freebsd-isp@FreeBSD.ORG
Cc:        mike@seidata.com
Subject:   Sendmail Config ?
Message-ID:  <Pine.BSF.4.05.9812231405300.245-100000@ns1.seidata.com>

next in thread | raw e-mail | index | archive | help
Hello,

Here's my setup...

domain.com is hosted by remoteserver.com,

ns1.remoteserver.com provides authoritative DNS services for
domain.com and contains a MX of mx.domain.com for handling all of
domain.com's mail,

The owner of domain.com wants to host his website on my server,
localserver.com as www.domain.com,

I 'mirrored' (zone transfers not allowed, of course) the DNS records
of ns1.remoteserver.com (they faxed their records to me) and they, in
turn, mirrored the 'www.domain.com' entry which maps to one of my IPs,

In my DNS records, I setup the 'MX' entry to point to their
mx.domain.com,

Their site/domain now works perfectly, but SMTP is not quite there...

What happens is that email sent to user@domain.com from my server
immediately comes back with a 'user unknown' message, as if my server
is attempting to find 'user' locally rather than realizing that
domain.com is remote and it needs to route the mail to the remote mx.

I don't think it's DNS, but a sendmail misconfig on my part...
Something's making the mailer client on the SMTP server think the
domain is local when it isn't...

Here's what I have for DNS:

[soa stuff]
                IN      NS      ns1.localserver.com.
                IN      NS      ns1.remoteserver.com.

                IN      MX      10 mx.domain.com.

domain.com.	IN      A       1.1.1.7
mx		IN      A       1.1.1.2
www             IN      A       2.2.2.1

'domain.com' and 'mx.domain.com' map to remoteserver.com's namespace
(mirrored axactly), and only 'www.domain.com' maps to my namespace
(mirrored by ns1.remoteserver.com).

The Bat book doesn't say anything special about off-site MX hosts, 
but it does say a *lot* that I'm not familiar with concerning
sendmail-specific configuration...

I'll keep reading, but if anyone can enlighten me re: a proper setup,
it'd be much appreciated.  :)

Happy Holidays...

--
 Mike Hoskins
 System/Network Administrator
 SEI Data Network Services, Inc.
 http://www.seidata.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812231405300.245-100000>