From owner-freebsd-questions Mon Jun 8 14:06:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08730 for freebsd-questions-outgoing; Mon, 8 Jun 1998 14:06:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from blues.jpj.net (benh@blues.jpj.net [204.97.17.146]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08604 for ; Mon, 8 Jun 1998 14:05:57 -0700 (PDT) (envelope-from benh@blues.jpj.net) Received: from localhost (benh@localhost) by blues.jpj.net (backatcha) with SMTP id RAA04962; Mon, 8 Jun 1998 17:05:32 -0400 (EDT) Date: Mon, 8 Jun 1998 17:05:32 -0400 (EDT) From: Ben Hockenhull To: Dara Ghahremani cc: freebsd-questions@FreeBSD.ORG Subject: Re: daily and security output email msgs. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dara, By default, cron mails the output of any job to the owner of that job, in this case, root. This is distinct from any sort of call to mail in a cron-run script. About the only way to shut up cron is to redirect STDOUT and STDERR to /dev/null. However, you probably want to see the output of the daily/weekly/monthly scripts as they can alert you to system anamolies. If you'd rather they went to a regular user account rather than the root account, simply add an alias for root to a regular user (you?) in /etc/aliases and then run newaliases. -- Ben Hockenhull benh@jpj.net On Mon, 8 Jun 1998, Dara Ghahremani wrote: > > Hi, > > I would like to have FreeBSD stop sending daily run output and security > check output messages to root. I'm using release 2.2.6 on a PII-300MHz. > I've commented out the pipe to sendmail in /etc/crontab under "do > daily/weekly/monthly maintenance", but I still receive the messages. I > can't find any other relevant mail commands in /etc files. What else can I > do to stop the messages from being sent? > > Thanks, > Dara Ghahremani > Computational Neurobiology Laboratory > The Salk Institute for Biological Studies > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message