From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 17:10:55 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 59CADA92 for ; Tue, 9 Sep 2014 17:10:55 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (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 20B6B9FF for ; Tue, 9 Sep 2014 17:10:54 +0000 (UTC) Received: from [192.168.0.27] (rbn1-216-180-76-199.adsl.hiwaay.net [216.180.76.199]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s89HAqcQ003705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 9 Sep 2014 12:10:52 -0500 Message-ID: <540F3613.8060608@hiwaay.net> Date: Tue, 09 Sep 2014 12:17:07 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: minor sendmail issue .... References: <540F26AC.7040309@hiwaay.net> <20140909182735.2bb371c5.freebsd@edvax.de> In-Reply-To: <20140909182735.2bb371c5.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 17:10:55 -0000 On 09/09/14 11:27, Polytropon wrote: > On Tue, 09 Sep 2014 11:11:24 -0500, William A. Mahaffey III wrote: >> >> .... I am getting sendmail notifications in my messages file as such: >> >> >> Sep 9 03:01:00 kabini1 sendmail[44668]: My unqualified host name >> (jaguar) unknown; sleeping for retry >> Sep 9 03:02:00 kabini1 sendmail[44668]: unable to qualify my own domain >> name (jaguar) -- using short name >> >> [...] >> >> This is happening (I think) because I am on a LAN, w/ no domain name, no >> DNS servers running, just local machine names. > That shouldn't be a problem. As a domain name, you could > chose "local", "lan" or "localdomain". It's important that > you have the hostname= setting in /etc/rc.conf and a matching > entry in /etc/hosts that associates a valid IP (even if that > is just 127.0.0.1). An example: > > 127.0.0.1 localhost > 127.0.0.1 jaguar.local jaguar > 127.0.0.1 jaguar.local. > > You can even add more IPs that identify "jaguar", depending > on if your LAN has fixed addresses or the machine in question > obtains one via DHCP (different one each time). > > At first installation or after major changes, review the > sendmail configuration and "make all install" in /etc/mail. > See /etc/mail/Makefile for details about the targets you > would need to specify. The file names (!) will reflect > the naming decision you made. > > > >> These are kinda swamping other stuff in the messages >> file, is there a way to suppress these notifications from sendmail ? TIA > The notifications are there for a reason, so it would be > better to deal with the reason instead of with the error > message reporting the problem. :-) > > > 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 % but w/ no domain name .... I'll try jaguar.local in hosts & see how that goes .... Thx :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.