From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 16:42:44 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 EEB7110656A3 for ; Wed, 7 Oct 2009 16:42:44 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 7C09F8FC17 for ; Wed, 7 Oct 2009 16:42:44 +0000 (UTC) Received: by fxm22 with SMTP id 22so4951388fxm.36 for ; Wed, 07 Oct 2009 09:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4jHG6Hhlj8/JBeokXGqDk/0IS6FW2sa/EsVUotp1rb4=; b=ewjHA5aC+WDdygAZaae/0ezQ7adrLatYLe4zYnAi2rgN/wtWcbCJ2z5sCS5kxPA6MF 9Q7H64xuiVic5gZesPrz/f9Wwn8GEho4AUiGwjNUiUoKvH367eoY6yvqGicY2t+Hu2bf kXSoYxzjvwIxWXFjqHzBDOfhgzS6d1atmjf0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DgSgMHtcUZfqjBle9iUX928pX2zQgTrWRZVDAL+e8LTO5rOacsEEpfZGeDuy67tKnt 15MF4qKZnbmNtXt0iCMpsDBDqCqJM5kCHStCrFiJyjwgol85NasKbpxfW5NNttebbU6N X7q7cShyEJ8U33JPhccnHH9bPTDY9rCrL0dNs= MIME-Version: 1.0 Received: by 10.223.14.22 with SMTP id e22mr59556faa.42.1254933762062; Wed, 07 Oct 2009 09:42:42 -0700 (PDT) In-Reply-To: References: <496325.97096.qm@web56204.mail.re3.yahoo.com> <4ad871310910070609r126fb880he201b9f2aa2d3f3f@mail.gmail.com> <20091007164212.f7dff406.freebsd@edvax.de> Date: Wed, 7 Oct 2009 16:42:41 +0000 Message-ID: <4ad871310910070942u71a613bar99bf460055808561@mail.gmail.com> From: Glen Barber To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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:42:45 -0000 On Wed, Oct 7, 2009 at 4:15 PM, Warren Block wrote: > 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 =A0 =A0 =A0 3 =A0 =A0 =A0 * =A0 =A0 =A0 * =A0 =A0 =A0 * =A0 =A0 =A0 r= oot =A0 =A0periodic daily >>> 15 =A0 =A0 =A04 =A0 =A0 =A0 * =A0 =A0 =A0 * =A0 =A0 =A0 6 =A0 =A0 =A0 r= oot =A0 =A0periodic weekly >>> 30 =A0 =A0 =A05 =A0 =A0 =A0 1 =A0 =A0 =A0 * =A0 =A0 =A0 * =A0 =A0 =A0 r= oot =A0 =A0periodic 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. >> >> =A0 =A0 =A0 =A0root: 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 Makefi= le >> in the /etc/mail directory. It's quite easy. :-) > > But 'newaliases' is easier yet. =A0Is restarting sendmail after newaliase= s > really necessary? =A0I change aliases so rarely I've never really noticed= . > No, you do not need to restart sendmail with newaliases(1). --=20 Glen Barber