From owner-freebsd-questions@FreeBSD.ORG Mon Jun 28 22:21:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7455D106564A for ; Mon, 28 Jun 2010 22:21:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 34E078FC0C for ; Mon, 28 Jun 2010 22:21:12 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id 34B6B1E361; Tue, 29 Jun 2010 00:21:12 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o5SMLBYl003005; Tue, 29 Jun 2010 00:21:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 29 Jun 2010 00:21:11 +0200 From: Polytropon To: Michael Message-Id: <20100629002111.b616dbf2.freebsd@edvax.de> In-Reply-To: <4C291E56.3090004@gmail.com> References: <4C290B62.5060209@gmail.com> <20100628234349.6ad1a000.freebsd@edvax.de> <4C291E56.3090004@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: sendmail: My unqualified host name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2010 22:21:13 -0000 On Mon, 28 Jun 2010 23:12:38 +0100, Michael wrote: > Yes but I don't quite understand why. It's my laptop system and I don't > really need or want sendmail there. You may want to reconsider this statement. :-) > I guess it must be some script > trying to send email instead of logging to a file. The sendmail facility is used by the system to deliver status messages (e. g. by the daily/monthly/weekly periodic scripts, sometimes by the printing subsystem), so it depends on an at least locally working installation. There may be other services that rely on sendmail to provide output directed to a system's mail box (usually root). Check /etc/defaults/rc.conf for the sendmail_* family of options. > But how can I find out exactly what is trying to use sendmail (which > fails and complaints)? I think it's sendmail itself that complains on startup (running as local-only delivery system). > My configuration (8.0-RELEASE-p3): > /etc/rc.conf > hostname="prime" > sendmail_enable="NONE" > /etc/hosts > ::1 localhost prime > 127.0.0.1 localhost prime Try to additionally define a domainname ".local" or ".lan", e. g. 127.0.0.1 localhost 127.0.0.1 prime.local prime See "man 5 hosts" for details, I think it explains it very well (it's right in the 1st paragraph). Also give the full name in /etc/rc.conf: hostname="prime.local". Then make sure to have visited /etc/mail doing "make all install". This will make sure sendmail picks up all neccessary configuration items. > It was all fine and quiet for months and started just recently. So THAT is really strange. > The only > change in the system I can think of is that I replaced pf with ipfw. I doubt that has anything to do with it. > Still don't understand what is so urgent that sendmail keeps trying > every minute. It fails to start properly because of a missing configuration item. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...