From owner-freebsd-questions@FreeBSD.ORG Tue May 3 16:05:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AED4416A4EB for ; Tue, 3 May 2005 16:05:26 +0000 (GMT) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34D5A43D83 for ; Tue, 3 May 2005 16:05:26 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 12152 invoked from network); 3 May 2005 16:05:22 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 May 2005 16:05:22 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 4732156; Tue, 3 May 2005 12:05:21 -0400 (EDT) Sender: lowell@be-well.ilk.org To: "Bill Schmitt (SW)" References: <42751E3C.8060103@schmittnet.com> From: Lowell Gilbert Date: 03 May 2005 12:05:20 -0400 In-Reply-To: <42751E3C.8060103@schmittnet.com> Message-ID: <44hdhknvlr.fsf@be-well.ilk.org> Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: Domain Name in postfix on a Local Network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 16:05:27 -0000 "Bill Schmitt (SW)" writes: > I've been struggling through setting up a mail server on my home > network, with the goal to be running an imap server. As I've indicated > on some other related postings I've made, networking is probably my > weakest side and I need a little help. > > I have no real internet name for the box, which I call "schfrbsd" > (named with a dot at the end in rc.conf hostname="schfrbsd."). Using > that name, I've managed to get Samba working and a local web server, > but when I come to mail, I get confused. The network is made up of a > bunch of XP Home Machines, the FreeBSD 4.9 machine, and a Netgear > Router/Firewall that also runs DHCP. I don't think it's relevant here, > but the workgroup name I use for Samba and Windows Peer Networking is > "olympia". The router is called schrout, if that helps. If the router can do DNS as well as DHCP, that will help you out a lot. > When I come to configuring postfix, there are entries for myhostname > and mydomain. I believe myhostname should be schbsd. What do I use for > mydomain? Where should I be naming the domain? "myhostname" will default to whatever hostname(1) says.