Search

5.3. Message Transfer Agent (MTA) Configuration

download PDF
If Red Hat Satellite serves Monitoring-entitled systems and you aim to acknowledge via email the alert notifications you receive, configure your Message Transfer Agent (MTA) to properly handle incoming mail. This is required by the email redirect feature, which allows you to stop notifying users about a Monitoring-related event with a single reply.
Sendmail and Postfix are two options for MTAs that can be enabled in the Red Hat Satellite server.

Note

Only one MTA may be enabled at one time.

5.3.1. Sendmail

To configure sendmail correctly, run the following commands as root.
  1. Create a symbolic link allowing sendmail to run the notification enqueuer with the following command:
    # ln -s /usr/bin/ack_enqueuer.pl /etc/smrsh/.
    
  2. Edit the /etc/aliases file on the mail server and add the following line:
    rogerthat01: "| /etc/smrsh/ack_enqueuer.pl"
    
  3. Edit the /etc/mail/sendmail.mc file and change:
    "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl"
    
    to:
    "DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl"
    
  4. Process the alias with the following command:
    # newaliases
    
  5. Update the sendmail-cf package:
    # yum update sendmail-cf
    
  6. Restart sendmail:
    # service sendmail restart
    
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.