Ce contenu n'est pas disponible dans la langue sélectionnée.

4.4. Sendmail Configuration


If your RHN Satellite will serve Monitoring-entitled systems and you wish to acknowledge via email the alert notifications you receive, you must configure sendmail 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.

Important

Some more restrictive corporate mail configurations will not allow mail to be sent from an address that is not recognized as valid. Therefore, it may be necessary to configure rogerthat01@{mail domain} as a valid email address in your corporate environment. Check with your mail systems administrator.
To configure sendmail correctly, run the following commands as root. First, create a symbolic link allowing sendmail to run the notification enqueuer with the following command:
ln -s /usr/bin/ack_enqueuer.pl /etc/smrsh/.

Copy to Clipboard Toggle word wrap
Next, edit the /etc/aliases file on the mail server and add the following line:
rogerthat01: | /etc/smrsh/ack_enqueuer.pl

Copy to Clipboard Toggle word wrap
Next, edit the /etc/mail/sendmail.mc file and change:
"DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl"

Copy to Clipboard Toggle word wrap
to:
"DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl"

Copy to Clipboard Toggle word wrap
Then, have the alias processed like so:
newaliases

Copy to Clipboard Toggle word wrap
Finally, update the sendmail-cf package:
yum update sendmail-cf

Copy to Clipboard Toggle word wrap
Note, disconnected installs must obtain this package from the ISO.
Restart sendmail:
service sendmail restart

Copy to Clipboard Toggle word wrap
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat