From owner-freebsd-current Mon Apr 16 12:30:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 3DD0C37B423 for ; Mon, 16 Apr 2001 12:30:20 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f3GJUAM20721 for ; Mon, 16 Apr 2001 12:30:10 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id E8C6538FE; Mon, 16 Apr 2001 12:30:09 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: estair@computer-exchange.com Cc: freebsd-current@FreeBSD.ORG Subject: Re: Unable to stop sendmail from loading at boot. In-Reply-To: <001701c0c67f$500931e0$3149d5d1@mshome.net> Date: Mon, 16 Apr 2001 12:30:09 -0700 From: Peter Wemm Message-Id: <20010416193009.E8C6538FE@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG estair@computer-exchange.com wrote: > Hello all. > > I'm running 5.0current 4-12-01, from a net install, X-Kern-Developer base. > > The problem I'm having is that sendmail is running at system start, even > though > the default /etc/defaults/rc.conf sets sendmail_enable="NO", and I've tried > setting > the same in /etc/rc.conf in case it's not parsing the defaults file. But it > doesn't change > anything. > > Does anyone have any recommendations? I'm going to remove sendmail.cf since > that > is read as an "if" in /etc/rc to before starting sendmail, but that seems > quite the hack > just to disable the mail daemon. That would work. Make sure you disable cron too, because that calls sendmail. Removing /usr/sbin/sendmail would work too, and would also guarantee that the box cannot send mail, as you seem to want. You should also probably set NO_SENDMAIL=true and NO_MAILWRAPPER=true in your /etc/make.conf, and remove /usr/libexec/sendmail/sendmail as well. > I'll try any suggestions after work, and will re-post Tuesday. > > Thanks, > > Eli Stair > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message