From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 12:54:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBAD51065671 for ; Sun, 7 Sep 2008 12:54:59 +0000 (UTC) (envelope-from fbsd06+ZR=e0e7cb9c@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id B56058FC20 for ; Sun, 7 Sep 2008 12:54:59 +0000 (UTC) (envelope-from fbsd06+ZR=e0e7cb9c@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id C4CA1164800 for ; Sun, 7 Sep 2008 08:43:53 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 3A43623E4B5 for ; Sun, 7 Sep 2008 08:43:51 -0400 (EDT) Date: Sun, 7 Sep 2008 13:43:49 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080907134349.2363e6b3@gumby.homeunix.com.> In-Reply-To: <200809061928.28539.af300wsm@gmail.com> References: <200809061928.28539.af300wsm@gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: mail server DNS configuration questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2008 12:55:00 -0000 On Sat, 6 Sep 2008 19:28:28 -0600 Andrew Falanga wrote: > Hi, > > Well, my clients at church are still having issues and after working > with George, a respondant to my original questions, I think that > most, if not all, of my problems are related to DNS and how we've got > it improperly configured. > > First, a crude drawing of how our mail server exists in the world: > > 192.168.2.x/24 72.24.23.252 "lot's of networks" > Private Network <--> CableOne <--> Internet > > Now, our mail server's IP is 192.168.2.23. On the router, he (the > person at whose house the mail server is) has IP forwarding setup so > that mail get's sent to our FreeBSD machine. > ... > It doesn't take a rocket scientist, or a computer scientist, to > figure out we've got DNS issues. I'm thinking that I should setup a > domain within the 192.168.2.0/24 network on this box. This has little to do with DNS, and there's nothing obviously wrong. The router has the routable IP address and is forwarding incoming port 25 tcp connections to the real mail server using NAT. As far as the internet side is concerned your entire network has to look like a single server, so the mailserver has to pretend to be running on the router, and announce itself as mail.whitneybaptist.org. You'll probably need to pass your outgoing mail through another mail server to avoid its being rejected though.