From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 17:40:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D54C216A41F for ; Tue, 6 Dec 2005 17:40:11 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mtao02.charter.net (mtao02.charter.net [209.225.8.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A29A43D46 for ; Tue, 6 Dec 2005 17:40:10 +0000 (GMT) (envelope-from chowse@charter.net) Received: from mxip33-10.charter.net ([10.20.203.73]) by mtao02.charter.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20051206173638.REAP18406.mtao02.charter.net@mxip33-10.charter.net> for ; Tue, 6 Dec 2005 12:36:38 -0500 Received: from 24-176-115-13.dhcp.jcsn.tn.charter.com (HELO [192.168.254.3]) ([24.176.115.13]) by mxip33-10.charter.net with ESMTP; 06 Dec 2005 11:54:58 -0500 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Tue, 06 Dec 2005 10:54:53 -0600 From: Charles Howse To: Giorgos Keramidas Message-ID: Thread-Topic: sendmail local-host-names Thread-Index: AcX6hcc6BdrnfWZ5EdqPFwARJH5tYg== In-Reply-To: <20051206164519.GA15738@flame.pc> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: questions Subject: Re: sendmail local-host-names 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: Tue, 06 Dec 2005 17:40:12 -0000 > On 2005-12-06 10:35, Charles Howse wrote: >> Hi, >> >> I want to collect mail for FreeBSD user charles on my Mac. >> >> The hostname of my FreeBSD box is: >> moe.local >> >> User charles has an account, has been added to the qpopper authentication >> database, and sendmail_enable="NO" is in /etc/rc.conf. >> >> In /etc/mail/local-host-names, I have: >> moe.local >> larry.local >> local >> >> It's working, but I think I have too many entries in local-host-names. >> What entries are necessary? > > If your local hostnames are listed as names of one of the local IP > addresses in your /etc/hosts, then none is needed. Sendmail will > discover the local addresses on its own. Not quite sure I understand. Here is /etc/hosts from FreeBSD: [charles@moe:~]$ cat /etc/hosts ::1 localhost.local localhost 127.0.0.1 localhost.local localhost 192.168.254.4 moe.local moe 192.168.254.4 moe.local. 192.168.254.3 larry 192.168.254.3 larry.local Are you saying that since I have larry.local in /etc/hosts, then I don't need anything at all in local-host-names? For clarity, I'm doing local mail only, no Internet mail.