Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2010 18:16:52 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Laszlo Nagy <gandalf@shopzeus.com>
Cc:        questions@freebsd.org
Subject:   Re: cron not sending emails
Message-ID:  <20100530161652.GA4423@current.Sisis.de>
In-Reply-To: <4C028270.5030900@shopzeus.com>
References:  <4BFFAC35.2040503@shopzeus.com> <4BFFDCC4.5080408@fechner.net> <4C00099D.6070005@shopzeus.com> <4C028270.5030900@shopzeus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100530161652.GA4423>