From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 19:35:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7256E28 for ; Tue, 9 Sep 2014 19:35:41 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 88F63C0F for ; Tue, 9 Sep 2014 19:35:41 +0000 (UTC) Received: from r56.edvax.de (port-92-195-111-1.dynamic.qsc.de [92.195.111.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 6949924E02; Tue, 9 Sep 2014 21:35:33 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s89JZWZn002017; Tue, 9 Sep 2014 21:35:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 9 Sep 2014 21:35:32 +0200 From: Polytropon To: "William A. Mahaffey III" Subject: Re: minor sendmail issue .... Message-Id: <20140909213532.34f02807.freebsd@edvax.de> In-Reply-To: <540F3613.8060608@hiwaay.net> References: <540F26AC.7040309@hiwaay.net> <20140909182735.2bb371c5.freebsd@edvax.de> <540F3613.8060608@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 19:35:41 -0000 On Tue, 09 Sep 2014 12:17:07 -0500, William A. Mahaffey III wrote: > I think I have that point (matching names in rc.conf & hosts) covered: > > > [root@kabini1, /etc, 12:14:40pm] 407 % grep -i kabini rc.conf hosts > rc.conf:hostname="kabini1" > hosts:192.168.0.27 jaguar kabini1 > [root@kabini1, /etc, 12:14:41pm] 407 % Yes, which means no: There's no entry for 127.0.0.1 for that host. Local sendmail is listening on that IP. Also read "man 5 hosts" about what the fields of this file, separated by spaces, indicate: As you can see, "jaguar", the official host name as per hosts file, does not match the hostname "kabini1" set in rc.conf. In order to have several names for one IP (which is possible and valid), you can simply add more than one entry for each IP, for example: 127.0.0.1 localhost.local localhost 127.0.0.1 kabini1.local kabini1 192.168.0.27 kabini1.local kabini1 192.168.0.27 jaguar.local jaguar You can check if your settings are correct by testing them with the "host " command. > but w/ no domain name .... I'll try jaguar.local in hosts & see how that > goes .... Thx :-) .... The domain name isn't essentially required, but it does not harm to define one. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...