[CentOS] centos 6.3, cron and mail script output

Tue Nov 27 04:41:15 UTC 2012
Mihamina Rakotomandimby <mihamina at rktmb.org>

On 11/26/2012 09:41 AM, John R. Dennison wrote:
> On Mon, Nov 26, 2012 at 09:32:37AM +0300, Mihamina Rakotomandimby wrote:
>> Is there a special feature such as "it only mail if STDERR"?
>> Because all the messages (rsync output + echo "foo") is to STDOUT.
> Nope.  _ALL_ output, bother stdout and stderr, will be sent via mail to
> the owner of the crontab or the address specified in the MAILTO
> variable.
> Please include the _full_ rsync command line.

Forget about it: the culprit was the Google App antispam.
It sent all the message from this particular crontjob to tha "Spam" folder.

I'm going to fix the antispam settings of my account.