From owner-freebsd-questions Wed Dec 4 0:33: 2 2002 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 E720037B401 for ; Wed, 4 Dec 2002 00:33:00 -0800 (PST) Received: from spf0.us4.outblaze.com (205-158-62-68.outblaze.com [205.158.62.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 8209943E4A for ; Wed, 4 Dec 2002 00:33:00 -0800 (PST) (envelope-from franklin_pierce@operamail.com) Received: (qmail 22570 invoked by uid 1017); 4 Dec 2002 08:32:58 -0000 Received: (qmail 22212 invoked from network); 4 Dec 2002 08:32:55 -0000 Received: from unknown (HELO ws5-1.us4.outblaze.com) (205.158.62.131) by 205-158-62-153.outblaze.com with SMTP; 4 Dec 2002 08:32:55 -0000 Received: (qmail 15316 invoked by uid 1001); 4 Dec 2002 08:32:55 -0000 Message-ID: <20021204083255.15315.qmail@operamail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [65.28.10.43] by ws5-1.us4.outblaze.com with http for franklin_pierce@operamail.com; Wed, 04 Dec 2002 02:32:55 -0600 From: "Franklin Pierce" To: freebsd-questions@FreeBSD.ORG Date: Wed, 04 Dec 2002 02:32:55 -0600 Subject: Re: Removing sendmail and getting roots mail X-Originating-Ip: 65.28.10.43 X-Originating-Server: ws5-1.us4.outblaze.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: Tim Peters Date: Wed, 4 Dec 2002 16:28:03 +1030 To: Grant Cooper Subject: Re: Removing sendmail and getting roots mail > On Tue, Dec 03, 2002 at 08:13:44PM -0800, Grant Cooper wrote: > > If I remove sendmail will that stop root from getting roots security reports? > > Yes, unless you install a different MTA (qmail, postfix etc) and > configure it correctly. > > If all you want to do is prevent incoming smtp connections, just use > sendmail_enable="NO" in /etc/rc.conf. > > -tim > If you just want to shut off sendmail, you merely have to put: sendmail_enable="NONE" in /etc/rc.conf This will make periodic unhappy. However if you add a file called /etc/periodic.conf and put the lines: daily_output="/var/log/daily.log" daily_status_security_output="/var/log/daily.log" weekly_output="/var/log/weekly.log" monthly_output="/var/log/monthly.log" in it, you can still read said status reports in those files AND periodic won't whinge the night away, blatting stupid error messages up on your ttyv0 (not that error messages are a bad thing, per se) AND you won't have lovingly crafted emails from your computer telling you how much it loves you every morning at 03:00, although I can clearly see why this isn't the default behaviour. Anyway, it was all the abolitionists fault that the secessionists got so peeved. Love, Franklin Pierce -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message