cron not sending emails

Matthias Apitz guru at unixarea.de
Sun May 30 19:29:07 UTC 2010


El día Sunday, May 30, 2010 a las 05:21:20PM +0200, Laszlo Nagy escribió:

> If I put this into root's crontab
> >>>
> >>>* * * * * echo "TEST"
> >>
> >>a quick guess, you have a line like:
> >>MAILTO="address"
> >>
> >It doesn't work. With, or without the MAILTO.  Just for completeness, 
> >I have used this:
> >
> >MAILTO=gandalf
> >
> >The "gandalf" user is a local user on the system. I can send local 
> >mail to this user using the "sendmail" postfix program (checked twice).
> Cron is still not sending emails. Any idea?

Yes, check the log of cron (/var/log/cron) if you job is run at all; if
so check the log of mails (/var/log/maillog).

Btw: what is the purpose of putting TEST into ""?

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/
¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan!
There's an end of it! NATO troups out of Afghanistan!
Schluss jetzt endlich! NATO raus aus Afghanistan!


More information about the freebsd-questions mailing list