How to configure Red Hat Satellite 5 server to start/stop errata email notifications

Solution Verified - Updated -

Environment

  • Red Hat Satellite 5

Issue

  • How to configure Red Hat Satellite to start/stop email notifications about errata?
  • How does Red Hat Satellite send notification emails?

Resolution

  • Confirm user-specific settings in Red Hat Satellite web UI:

    • log in to the Red Hat Satellite web UI as the user to be notified
    • click on Overview > Your Preferences
    • check/uncheck the "Receive email notifications" box
    • click on Save Preferences
  • Verify that the system profile's "Receive Notifications of Updates/Errata" box is checked (enabled by default) in the system's Details > Properties tab

  • Verify that the Red Hat Satellite Administrator's email address is correct:

    • log in to the Red Hat Satellite web UI as the Satellite Administrator
    • click on Admin > Red Hat Satellite Configuration > General
    • verify that the address specified in Administrator Email Address is correct
  • Set the mail server that the Red Hat Satellite should use ("localhost" by default), with the web.smtp_server setting in /etc/rhn/rhn.conf:

    web.smtp_server=mail.example.com
    
  • Also verify /usr/share/rhn/config-defaults/rhn_java.conf

    java.smtp_server = mail.example.com
    
  • If using localhost as the default mail server, then verify that the sendmail service is running on the Red Hat Satellite server

  • Set the originating email address that the Red Hat Satellite should use ("Red Hat Satellite <dev-null@localhost>" by default), in the web.default_mail_from option of /etc/rhn/rhn.conf:

    • For Satellite v 5.7 and earlier versions

      web.default_mail_from=user@example.com
      
    • For Satellite v 5.8 and later versions

       default_mail_from=user@example.com
      

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments