Configuring YUM server for automatic notification to clients

We have a situation. We have 100+ client machines in our network and whenever some new package is available on YUM, I want all the clients to get updated for the new package via email so that they can use the package, if they need.

How to configure YUM to send email for updates available on server.

STEP #1 – Edit /etc/yum/yum-updatesd.conf

STEP #2 – Edit / Add these lines:

emit_via = email
email_to =
email_from =

STEP #3 – Save and Restart the service.

service yum-updatesd restart
chkconfig yum-updatesd on

So now your YUM server will be sending a email to staff user (it can be aliased in your MTA configuration) whenever a new package is available.

Check the video of this post on

God Bless.