此内容没有您所选择的语言版本。

4.4. 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.

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 /opt/notification/scripts/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:
up2date 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
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat