El día Tuesday, June 01, 2010 a las 09:41:11AM -0400, APseudoUtopia escribió:

> 2010/5/28 Laszlo Nagy <gand...@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" em...@address.tld
> 
> That works fine.

current# uname -a
FreeBSD current.unixarea.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 
09:55:14 CET 2010     g...@current.unixarea.de:/usr/obj/usr/src/sys/GENERIC i386

current# crontab -l | fgrep 15
56 15 * * *   /usr/sbin/ntpdate -b ntps1-0.cs.tu-berlin.de

current# tail -3 /var/log/cron
Jun  1 15:56:00 current /usr/sbin/cron[1509]: (root) RELOAD (tabs/root)
Jun  1 15:56:00 current /usr/sbin/cron[8209]: (root) CMD (/usr/sbin/ntpdate -b 
ntps1-0.cs.tu-berlin.de)
Jun  1 15:57:17 current crontab[8220]: (root) LIST (root)

current# tail /var/log/maillog
Jun  1 15:56:01 current sm-mta[8213]: o51Du1q1008212: 
to=<r...@current.unixarea.de>, ctladdr=<r...@current.unixarea.de> (0/0), 
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30877, relay=local, 
dsn=2.0.0, stat=Sent

i.e. no problem on my system;

        matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <g...@unixarea.de> - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to