[CentOS] yum-cron email notification doesn't appear

Mon Aug 11 12:02:44 UTC 2014
SilverTip257 <silvertip257 at gmail.com>

On Mon, Aug 11, 2014 at 7:30 AM, <1th at setevoy.kiev.ua> wrote:

> Hi.
>
> I'm installed yum-cron and set:
>
> # by default MAILTO is unset, so crond mails the output by itself
> # example:  MAILTO=root
> MAILTO="root at domain.org.ua"
>
> I see in log that yum-cron done it's job:
>
> # grep "yum" /var/log/cron
> Aug 11 03:08:02 venti run-parts(/etc/cron.daily)[4516]: starting
> 0yum.cron
> Aug 11 03:49:30 venti run-parts(/etc/cron.daily)[4761]: finished
> 0yum.cron
>
>
> And I see that packages really updated, but - I don't see email
> notifications in my mail box... I got notification from spamd, for
> example, but nothing from yum-cron.
>

Anything run by cron.daily scripts result in _one_ email (unless of course
the script being run by cron.daily sends mail itself).

If you want a separate message, set up a cronjob separate from cron.daily
in cron.d


>
> How can i find it in maillog? Some text from 'Subject'?


> # grep "yum" /var/log/maillog
>

grep for "run-parts /etc/cron.daily"


>
> Doesn't give result.
>
> Or - some other way to check?
>
> Thanks for tips.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //