From owner-freebsd-questions@freebsd.org Thu Aug 27 12:41:35 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F8349C3AE3 for ; Thu, 27 Aug 2015 12:41:35 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C2C11819 for ; Thu, 27 Aug 2015 12:41:35 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by igcse8 with SMTP id se8so66024595igc.1 for ; Thu, 27 Aug 2015 05:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=vibrUlr3Y7RIjUSPVfPFOKMdHRZybXOOTT1oywg1pCM=; b=wKoFRwaFOUAPFxBZin5L+cn51IV02T2E2rzCXOIro9bqaQvwuF79L25YfYXZ27qkiu dRWhLmP+UND4zNt2FHuzDnipKBoGcefNEyoTk1lPqT4JbZQtXAJJEPlUuA559WbJi3RX HaPx+25lLfXEWKnXNNfWU7G+L4xmK4AV+HMX11DaWmW91JkUthi2bPunUfUnuCaV5Ryt eXHO/+X5DNTozGpeeKU4SKJQVANWGMfMXi+jnVsi66rbPEdLCpY2KPnekOqbU9ZGRkgL c8s2leGLNv2LFdIZwcH/wcB5uIX7Yrd9iq+2LSptR0yx+VC8bHLaMo2zXUNgRjuGgPKU tPuQ== X-Received: by 10.50.62.193 with SMTP id a1mr9118329igs.61.1440679294810; Thu, 27 Aug 2015 05:41:34 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by smtp.googlemail.com with ESMTPSA id hh9sm1581681igb.18.2015.08.27.05.41.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Aug 2015 05:41:34 -0700 (PDT) Message-ID: <55DF057F.6040205@gmail.com> Date: Thu, 27 Aug 2015 08:41:35 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: how to change daily cron emails to go to user account instead of root Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 12:41:35 -0000 Hello list; How do I change the daily cron emails to go to user account instead of root? I don't want any cron email going to root any more. man 5 crontab says the cron environment variable MAILTO = "account user name" is way to change the cron email from the default of "root" to the "account user name" you want. The part that is not clear is where do I place this MAILTO environment variable? Do I edit /etc/crontab and pace it next to the PATH variable or maybe in /etc/periodic.conf or /etc/csh.cshrc or /boot/loader.conf?