Questo contenuto non è disponibile nella lingua selezionata.
4.4.11. Message Transfer Agent (MTA) Configuration
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.
4.4.11.1. Sendmail Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
To configure sendmail correctly, run the following commands as root.
- Create a symbolic link allowing sendmail to run the notification enqueuer with the following command:
ln -s /usr/bin/ack_enqueuer.pl /etc/smrsh/.
# ln -s /usr/bin/ack_enqueuer.pl /etc/smrsh/.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Edit the
/etc/aliases
file on the mail server and add the following line:rogerthat01: | /etc/smrsh/ack_enqueuer.pl
rogerthat01: | /etc/smrsh/ack_enqueuer.pl
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Edit the
/etc/mail/sendmail.mc
file and change:"DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl"
"DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow to:"DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl"
"DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Process the alias with the following command:
newaliases
# newaliases
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Update the
sendmail-cf
package:yum update sendmail-cf
# yum update sendmail-cf
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart sendmail:
service sendmail restart
# service sendmail restart
Copy to Clipboard Copied! Toggle word wrap Toggle overflow