From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 20:25:22 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 38AAA16A4CE for ; Mon, 22 Nov 2004 20:25:22 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id E816243D31 for ; Mon, 22 Nov 2004 20:25:21 +0000 (GMT) (envelope-from oliverfuchs@onlinehome.de) Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CWKkT-0007sR-00 for freebsd-questions@freebsd.org; Mon, 22 Nov 2004 21:25:21 +0100 Received: from [217.246.205.156] (helo=oliverfuchs.onlinehome.de) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1CWKkS-0006u2-00 for freebsd-questions@freebsd.org; Mon, 22 Nov 2004 21:25:21 +0100 Received: from oliverfuchs.onlinehome.de (localhost [127.0.0.1]) iAMKP7BW002579 for ; Mon, 22 Nov 2004 21:25:07 +0100 (CET) (envelope-from oliverfuchs1@oliverfuchs.onlinehome.de) Received: (from oliverfuchs1@localhost)iAMKP65M002578 for freebsd-questions@freebsd.org; Mon, 22 Nov 2004 21:25:06 +0100 (CET) (envelope-from oliverfuchs1) Date: Mon, 22 Nov 2004 21:25:06 +0100 From: Oliver Fuchs To: freebsd-questions@freebsd.org Message-ID: <20041122202506.GA2534@oliverfuchs.onlinehome.de> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c2b2791553508cc938db2bcf18721a3c Subject: unsure about /etc/hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 20:25:22 -0000 Hi, I am at the moment unsure about the localhost entries in my /etc/hosts. From /usr/src/etc/hosts I have found this one: # 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 I have no problems with sending the mail locally. So I am a little bit confused about what is the correct way to define the localhost in /etc/hosts. Thanx in advance Oliver -- ... don't touch the bang bang fruit