Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2009 10:15:11 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        Aflatoon Aflatooni <aaflatooni@yahoo.com>, Glen Barber <glen.j.barber@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Daily run reports
Message-ID:  <alpine.BSF.2.00.0910071002570.19098@wonkity.com>
In-Reply-To: <20091007164212.f7dff406.freebsd@edvax.de>
References:  <496325.97096.qm@web56204.mail.re3.yahoo.com> <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> <20091007164212.f7dff406.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Oct 2009, Polytropon wrote:

> On Wed, 7 Oct 2009 13:09:51 +0000, Glen Barber <glen.j.barber@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0910071002570.19098>