From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 04:24:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B55516A4CE for ; Fri, 11 Feb 2005 04:24:44 +0000 (GMT) Received: from smtp819.mail.sc5.yahoo.com (smtp819.mail.sc5.yahoo.com [66.163.170.5]) by mx1.FreeBSD.org (Postfix) with SMTP id B11CF43D45 for ; Fri, 11 Feb 2005 04:24:43 +0000 (GMT) (envelope-from krinklyfig@spymac.com) Received: from unknown (HELO smogmonster.com) (jtinnin@pacbell.net@64.173.27.163 with login) by smtp819.mail.sc5.yahoo.com with SMTP; 11 Feb 2005 04:24:43 -0000 From: Joshua Tinnin To: freebsd-questions@freebsd.org, Kyle Jensen Date: Thu, 10 Feb 2005 20:24:42 -0800 User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502102024.42558.krinklyfig@spymac.com> Subject: Re: Sending nightly cron job output without running sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 04:24:44 -0000 On Thursday 10 February 2005 08:04 pm, Kyle Jensen wrote: > Hi, > > I have deactivated sendmail via > > sendmail_enable="NONE" > > in my /etc/rc.conf. However, I > would like to receive the output > of my periodic cron jobs via email. > How can I configure my system for > this? sendmail_enable="NO" This disables sendmail's incoming mail service, but it will still deliver system mail. I also use this: sendmail_flags="-q1m" This means sendmail will process the queue once a minute. Also, in my crontab, I have: MAILTO=username ... which will email the output of cron jobs to username. I only use this in my local crontabs, but I guess you could put this in the main one. - jt