From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 10:04:26 2004 Return-Path: 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 4FF6116A4CE for ; Tue, 14 Dec 2004 10:04:26 +0000 (GMT) Received: from hulk.superhero.nl (superhero.nl [213.84.142.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3483243D3F for ; Tue, 14 Dec 2004 10:04:25 +0000 (GMT) (envelope-from gelsema@superhero.nl) Received: (qmail 72799 invoked by uid 80); 14 Dec 2004 10:04:24 -0000 Received: from 193.172.47.197 (SquirrelMail authenticated user gelsemap); by webmail.superhero.nl with HTTP; Tue, 14 Dec 2004 11:04:24 +0100 (CET) Message-ID: <3905.193.172.47.197.1103018664.squirrel@193.172.47.197> In-Reply-To: <1167.192.168.0.3.1103018019.squirrel@192.168.0.3> References: <16830.11303.219463.890719@guru.mired.org> <1167.192.168.0.3.1103018019.squirrel@192.168.0.3> Date: Tue, 14 Dec 2004 11:04:24 +0100 (CET) From: "Gelsema, Patrick" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Strange startup behavior on 5.3-release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 10:04:26 -0000 > On Mon, 13 December, 2004 23:56, Mike Meyer said: >> I'm running 5.3-release, and seeing *very* strange behavior on >> startup. >> >> If I reboot the system, I get the following errors in >> /var/log/console.log: >> >> Dec 13 17:38:59 guru kernel: Starting sshd. >> Dec 13 17:39:00 guru kernel: sendmail: illegal option -- L >> Dec 13 17:39:00 guru kernel: sendmail: usage: sendmail [ -t ] [ >> -fsender ] [ -Fname ] [ -bp ] [ >> -bs ] [ arg ... ] >> >> I'm getting those errors because sendmail is set to >> /var/qmail/bin/sendmail in /etc/mail/mailer.conf. Since I'm running >> qmail, sendmail should be run *at all* at startup. >> >> The really strange thing is that if I shutdown and then restart the >> system, without a reboot, I don't see these error messages. >> >> I've traced this down to the sendmail_msp_queue_enable variable in >> /etc/rc.conf. If set to yes, that invokes sendmail with the -L option. >> >> There don't appear to be any currently filed bugs related to this >> issue, and google didn't turn up anything relevant. >> >> I'm running the GENERIC kernel. I've attached my /etc/rc.conf in case >> something there is pertinent. > > After you installed qmail (from ports?) were there any instructions on > how you should modify /etc/rc.conf? > > I use Postfix, and after I installed that from the ports tree, it told > me to add the following entries to rc.conf > > dj : ~> cat /etc/rc.conf | grep -i sendmail > sendmail_enable="YES" > sendmail_flags="-bd" > sendmail_pidfile="/var/spool/postfix/pid/master.pid" > sendmail_outbound_enable="NO" > sendmail_submit_enable="NO" > sendmail_msp_queue_enable="NO" > > Maybe that's some help? > > Cheers, > David > Sometime ago I installed qmail and what I remember is that in /etc/rc.conf the following line needs to be added; SENDMAIL="NONE" #check sendmail documentation for proper line Basically you dont want the sendmail daemon started during startup, this is now handled by qmail. Check qmail.org for more information.