From owner-freebsd-questions@FreeBSD.ORG Tue Jun 1 13:41:24 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33E3D1065670 for ; Tue, 1 Jun 2010 13:41:24 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BF7198FC2D for ; Tue, 1 Jun 2010 13:41:23 +0000 (UTC) Received: by wyb36 with SMTP id 36so1127857wyb.13 for ; Tue, 01 Jun 2010 06:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3zOzVFpsdCq0+kryfo0qe6sybbOPBeGkMtudRrg8u9I=; b=a/DuHgtAW8lK+yYVoq4Add+kQOt5VKBMFZvvM0LXbW10AKHeCKsPhoZ2gLGXHZ8U8x l92C8ljHTYp44LN4g4HVYX2gyf1YYxgyJv9+5PA25LjckpyUHDuy+yXmJiOC2kJHjNRQ /ib0Y6VI5gcaEEtf0Qz3KFeV+I2+h3r0xYYvw= 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; b=EfKG3oOXF1T7ndNnzyqWmEec5fRemTrR29LdV1ll7WFyok1Nwr2Oaf/f2m67V1TEnE kUw3we514OJd825kHDTRiF505ke4TqTKb1ml9EXoV9TbmSO+r1h/Mtgl5IPqT+D7pOtL zigPUOYE343uf0lcrxBnYZNaDF0MQikiFKGP0= MIME-Version: 1.0 Received: by 10.216.159.80 with SMTP id r58mr5217827wek.48.1275399680398; Tue, 01 Jun 2010 06:41:20 -0700 (PDT) Received: by 10.216.166.71 with HTTP; Tue, 1 Jun 2010 06:41:11 -0700 (PDT) In-Reply-To: <4BFFAC35.2040503@shopzeus.com> References: <4BFFAC35.2040503@shopzeus.com> Date: Tue, 1 Jun 2010 09:41:11 -0400 Message-ID: From: APseudoUtopia To: Laszlo Nagy Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: cron not sending emails 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: Tue, 01 Jun 2010 13:41:24 -0000 2010/5/28 Laszlo Nagy : > Hi All! > > After upgrading to 8.0 RELEASE, I'm not getting any emails from cron. > > If I put this into root's crontab > > * * * * * echo "TEST" > > then I see this in the maillog: > > May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No > recipient addresses found in message header > > Just as a side note, I started having this problem a while ago with 7.2-RELEASE, I believe. I was using the base-system sendmail and no special configuration with cron or anything. I never found a solution. I posted on this mailing list and nothing anyone suggested solved it. I ended up just piping every single cron command into /usr/bin/mail: 0 */4 * * * root /usr/local/backups/daily_backup.sh | /usr/bin/mail -E -s "Daily Backup" email@address.tld That works fine.