From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 16:15:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F65D1065679 for ; Wed, 7 Oct 2009 16:15:15 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4E33D8FC28 for ; Wed, 7 Oct 2009 16:15:15 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n97GFBFc019136; Wed, 7 Oct 2009 10:15:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n97GFBJE019133; Wed, 7 Oct 2009 10:15:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 7 Oct 2009 10:15:11 -0600 (MDT) From: Warren Block To: Polytropon In-Reply-To: <20091007164212.f7dff406.freebsd@edvax.de> Message-ID: References: <496325.97096.qm@web56204.mail.re3.yahoo.com> <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> <20091007164212.f7dff406.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Wed, 07 Oct 2009 10:15:11 -0600 (MDT) Cc: Aflatoon Aflatooni , Glen Barber , freebsd-questions@freebsd.org Subject: Re: Daily run reports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 16:15:15 -0000 On Wed, 7 Oct 2009, Polytropon wrote: > On Wed, 7 Oct 2009 13:09:51 +0000, Glen Barber wrote: >> You should see these lines in /etc/crontab: >> >> # Perform daily/weekly/monthly maintenance. >> 1 3 * * * root periodic daily >> 15 4 * * 6 root periodic weekly >> 30 5 1 * * root periodic monthly >> >> You can set the MAILTO environment variable in /etc/crontab to mail to >> an alternate address if needed. > > Another way is to edit /etc/mail/aliases and forward mail > to root to your preferred account, e. g. > > root: myuser > > Note that "recompiling" sendmail's files is neccessary, To be more precise, rebuilding the aliases file. > and sendmail needs to be restarted. It is explained at the top of > Makefile in the /etc/mail directory. It's quite easy. :-) But 'newaliases' is easier yet. Is restarting sendmail after newaliases really necessary? I change aliases so rarely I've never really noticed. -Warren Block * Rapid City, South Dakota USA