Date: Tue, 1 Jun 2010 09:41:11 -0400 From: APseudoUtopia <apseudoutopia@gmail.com> To: Laszlo Nagy <gandalf@shopzeus.com> Cc: questions@freebsd.org Subject: Re: cron not sending emails Message-ID: <AANLkTilCQ9WYKWUyQ7S3CBvycpwpPhUC6czDh3CA0bJz@mail.gmail.com> In-Reply-To: <4BFFAC35.2040503@shopzeus.com> References: <4BFFAC35.2040503@shopzeus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/5/28 Laszlo Nagy <gandalf@shopzeus.com>: > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilCQ9WYKWUyQ7S3CBvycpwpPhUC6czDh3CA0bJz>