--- El Jue 26 Jul 2007, Andrew Sackville-West encontró un teclado y tipeó lo siguiente: > AS: On Thu, Jul 26, 2007 at 08:33:30AM -0300, Sergio Belkin wrote: > AS: > --- El Jue 26 Jul 2007, Marc encontró un teclado y tipeó lo > siguiente: AS: > > Ma: Hmmm.. one thing might be that the variable is > called "MAILTO" and not AS: > > Ma: "MAIL"? > AS: > > Ma: You can try with that, but in general, as the man page says: > AS: > > Ma: "When executing commands, any output is mailed to the owner > of AS: > > Ma: the crontab ..." > AS: > > Ma: > AS: > > Ma: Sergio Belkin wrote: > AS: > > Ma: > Hi > AS: > > Ma: > Non-root users are not getting information mail about > scheduled AS: > > tasks. Ma: > I've included the line MAIL=joendoe in > jondoe user. Task are AS: > > performed Ma: > but users are not notified. > AS: > > Ma: > > AS: > > Ma: > I am using Etch and exim4. What's wrong with this? > AS: > > Ma: > AS: > > Ma: > AS: > > AS: > Thanks, "MAIL" was a typo, but even if I issue MAILTO=jondoe in > jondoe user AS: > crontab file, it doesn't work either... > AS: > AS: does mail work on the system? can you mail from the command line? does > AS: the cron job produce any output to mail? > AS: > AS: A > AS:
It seems that maildir (as I had configured it) won't work with cron (am I right?) I've changed to mbox, and now it works... -- Sergio Belkin Soluciones Informáticas Open Source Community Site http://www.openkairos.com Blog http://sebelk.blogspot.com ----------------------------------------