Red hat / CentOS / Fedora Send Yum Package Update Notification Via Email

last updated in Categories , , , , , , , , ,

I know how to send package update email notification under Debian / Ubuntu Linux. How do I send Automatic Email Notification under RHEL v4/5, CentOS, Red Hat and Fedora Linux, when security & package updates available? How do I force yum to send an email when upgrades available?


RHEL / Fedora / CentOS has yum-updatesd, which provides notification of updates which are available to be applied to your system. This notification can be done either
via syslog, email or over dbus. Configuration is done via the /etc/yum/yum-updatesd.conf file.

Open /etc/yum/yum-updatesd.conf file, enter:
# vi /etc/yum/yum-updatesd.conf
Setup variables as follows:
emit_via = email
# who to send the email to:
email_to =
# who send the notifications
email_from =

Here is complete working config file:

# how often to check for new updates (in seconds)
run_interval = 3600
# how often to allow checking on request (in seconds)
updaterefresh = 600
# how to send notifications (valid: dbus, email, syslog)
emit_via = email
# who to send the email
email_to =
# who send the notifications
email_from =
# should we listen via dbus to give out update information/check for
# new updates 
dbus_listener = yes
# automatically install updates
do_update = no
# automatically download updates
do_download = no
# automatically download deps of updates
do_download_deps = no

Save and close the file. Restart notification yum-updatesd service:
# /etc/init.d/yum-updatesd restart

Sample email sent by yum notification

This is the automatic update system on

There are 2 package updates available. Please run the system updater.

Packages available for update:


Thank You,
Your Computer


Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

11 comment

  1. Great article. However, after conducting a “find / | grep yum-updatesd” I got zero hits on a RHEL 5.2 box.

    Where is the file? Is there another file to perform the same task?



  2. Hi, I have problem i am using fedora 10 but unfortunatlly everything on that is comeing big i mean it is using high resolution (800X600), when i check it it is not identifing my monitor, well this is a little problem. It is hanging after start, i dont know why after that when i manually restart then it start otherwise it not showing any thing… tell me what i do to rectify it also tell me how i check the error logs related to this

  3. One thing more how i check which updates are installed on my FC10 and is it asking me before it download or it autometically download the sites. what to do to stop automatic update

  4. I could send emails without email server being installed only if you setup the system to use an external email server.

    Btw, linux by default is coming with email server setup only to serve localhost, so there is nothing to worry about.

  5. I have installed the CentOS 7 minimal version, now the yum-updatesd package is not installed.
    I also can not install it with “yum install yum-updatesd”.

    How can I get the package now ?

    Still, have a question? Get help on our forum!