From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 16:27:40 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 A3953828 for ; Tue, 9 Sep 2014 16:27:40 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.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 648FF304 for ; Tue, 9 Sep 2014 16:27:39 +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 mx01.qsc.de (Postfix) with ESMTPS id 295FD3CE45; Tue, 9 Sep 2014 18:27:35 +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 s89GRZK5003091; Tue, 9 Sep 2014 18:27:35 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 9 Sep 2014 18:27:35 +0200 From: Polytropon To: "William A. Mahaffey III" Subject: Re: minor sendmail issue .... Message-Id: <20140909182735.2bb371c5.freebsd@edvax.de> In-Reply-To: <540F26AC.7040309@hiwaay.net> References: <540F26AC.7040309@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 16:27:40 -0000 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. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...