4.3. Sendmail Configuration

If your RHN Satellite Server 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.

To configure sendmail correcly, edit the /etc/aliases file on the mail server as root and add the following line:

rogerthat01:  "| /opt/notification/scripts/ack_enqueuer.pl"

Then, also as root, edit the /etc/mail/sendmail.mc file, and change:

"FEATURE(`smrsh',`/usr/sbin/smrsh')dnl"

to:

"FEATURE(`smrsh',`/bin/sh')dnl"

and:

"DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl"

to:

"DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl"

Then, run these commands:

up2date sendmail-cf

Note, disconnected installs will need to add this package from the ISO.

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
service sendmail restart