From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 21:10:48 2004 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 22A5216A4CE for ; Mon, 22 Nov 2004 21:10:48 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F97B43D55 for ; Mon, 22 Nov 2004 21:10:46 +0000 (GMT) (envelope-from rasputin@hellooperator.net) Received: from rasputin by 9.hellooperator.net with local (Exim 4.43) id 1CWLSO-0001WP-Vy; Mon, 22 Nov 2004 21:10:44 +0000 Date: Mon, 22 Nov 2004 21:10:44 +0000 From: Dick Davies To: Oliver Fuchs Message-ID: <20041122211044.GQ22677@lb.tenfour> References: <20041122202506.GA2534@oliverfuchs.onlinehome.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041122202506.GA2534@oliverfuchs.onlinehome.de> User-Agent: Mutt/1.4.2.1i Sender: Rasputin cc: FreeBSD Questions Subject: Re: unsure about /etc/hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 21:10:48 -0000 * Oliver Fuchs [1107 21:07]: > # Host Database > # > # This file should contain the addresses and aliases for local hosts that > # share this file. Replace 'my.domain' below with the domainname of your > # machine. > # > # > ::1 localhost localhost.my.domain > 127.0.0.1 localhost localhost.my.domain > > So my hostname is I.and.I so the /etc/hosts entry must be: > ::1 localhost localhost.and.I > 127.0.0.1 localhost localhost.and.I > > Now regarding some programs (e.g. mutt) this option is not able to deliver > mail locally instead putting it in /var/spool/mqueue or > /var/spool/clientmqueue. > > If I use this: > ::1 localhost I.and.I > 127.0.0.1 localhost I.and.I This sets your hostname to point to the localhost address - is that what you want? Normally, you set your hostname to a public IP (or at least a network connected IP) i.e. ::1 localhost localhost.and.I 127.0.0.1 localhost localhost.and.I 1.2.3.4 I.and.I Jah love. -- Oh how awful. Did he at least die peacefully? ....To shreds you say, tsk tsk tsk. Well, how's his wife holding up? ....To shreds, you say... - Prof. Farnsworth Rasputin :: Jack of All Trades - Master of Nuns