From owner-freebsd-stable Wed Mar 5 7: 6: 8 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B53437B401 for ; Wed, 5 Mar 2003 07:06:05 -0800 (PST) Received: from dart.sr.se (dart.SR.SE [134.25.0.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DC4843FCB for ; Wed, 5 Mar 2003 07:06:04 -0800 (PST) (envelope-from gunnar@oldie.sr.se) Received: from honken.sr.se (honken.sr.se [134.25.128.27]) by dart.sr.se (8.12.6/8.12.6) with ESMTP id h25F5xmr038311; Wed, 5 Mar 2003 16:05:59 +0100 (CET) (envelope-from gunnar@oldie.sr.se) Received: from oldie.sr.se (oldie [134.25.200.100]) by honken.sr.se (8.12.3/8.12.3) with ESMTP id h25F5x1j042358; Wed, 5 Mar 2003 16:05:59 +0100 (CET) (envelope-from gunnar@oldie.sr.se) Received: from oldie.sr.se (localhost [127.0.0.1]) by oldie.sr.se (8.12.8/8.12.5) with ESMTP id h25F5xeD064764; Wed, 5 Mar 2003 16:05:59 +0100 (CET) (envelope-from gunnar@oldie.sr.se) Received: (from gunnar@localhost) by oldie.sr.se (8.12.8/8.12.8/Submit) id h25F5wfp064762; Wed, 5 Mar 2003 16:05:58 +0100 (CET) Date: Wed, 5 Mar 2003 16:05:58 +0100 From: Gunnar Flygt To: Scott Renna Cc: stacey@vickiandstacey.com, "'Joachim =?iso-8859-1?Q?Str=F6mbergson'?=" , "'stable'" Subject: Re: RE: sendmail_enable="NO" ignored in 4.7+? Message-ID: <20030305150558.GA58739@sr.se> Reply-To: Gunnar Flygt References: <1046761873.20729.223.camel@localhost> <000501c2e328$691eac10$1802a8c0@das.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000501c2e328$691eac10$1802a8c0@das.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Mar 05, 2003 at 10:03:35AM -0500, Scott Renna wrote: > Hello all, > > I had a question in regards to this post about sendmail. I noticed the > same problem on my system: How come this is so hard. Just do a grep for sendmail in /etc/defaults/rc.conf and you get: 2$ grep sendmail /etc/defaults/rc.conf mta_start_script="/etc/rc.sendmail" # Settings for /etc/rc.sendmail: sendmail_enable="YES" # Run the sendmail inbound daemon (YES/NO/NONE). # If NONE, don't start any sendmail processes. sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only) sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO). sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m" # Flags for sendmail_msp_queue daemon. And the read the lines about sendmail_enable! > > > Due to my less than perfect memory I can't pinpoint exactly when, but > > after upgrading my 4.x-system it seems like the sendmail_enable="NO" > > in /etc/rc.conf is being ignored and sendmail gets started anyway. > > Is there any reason why even if you put "NO" sendmail still starts up? > It seems kind of weird that it would start. > > Scott Renna > > > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG] On Behalf Of Stacey Roberts > Sent: Tuesday, March 04, 2003 2:11 AM > To: Joachim Strömbergson > Cc: stable > Subject: Re: sendmail_enable="NO" ignored in 4.7+? > > > Hello, > > On Tue, 2003-03-04 at 07:06, Joachim Strömbergson wrote: > > Aloha! > > > > Due to my less than perfect memory I can't pinpoint exactly when, but > > after upgrading my 4.x-system it seems like the sendmail_enable="NO" > > in /etc/rc.conf is being ignored and sendmail gets started anyway. > > > > AFAIK, this happened after upgrading from 4.6 to 4.7. I'm currently at > > > 4.8-RC and the same behaviour is present. > > > > Checking processes after boot I see: > > > > root 106 0,0 0,3 3196 1788 ?? Ss 11:04pm 0:00,97 > sendmail: > > accepting connections (sendmail) > > smmsp 109 0,0 0,3 3076 1404 ?? Is 11:04pm 0:00,01 > sendmail: > > Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) > > > > What have I missed? Why is the setting in rc.conf being ignored. > > Where/what is starting sendmail? > > To completely disable sendmail on startup, use: > > sendmail_enable="NONE" > > Regards, > > Stacey > > > > > Any pointers and help greatly appreciated. > -- > Stacey Roberts > B.Sc (HONS) Computer Science > > Web: www.vickiandstacey.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Gunnar Flygt, Postmaster SR To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message