Skip to content

Configure System to Forward All Mail For The Root Account

An XCCDF Rule

Description

Make sure that mails delivered to root user are forwarded to a monitored email address. Make sure that the address is a valid email address reachable from the system in question. Use the following command to configure the alias:

$ sudo echo "root: " >> /etc/aliases
$ sudo newaliases

Rationale

A number of system services utilize email messages sent to the root user to notify system administrators of active or impending issues. These messages must be forwarded to at least one monitored email address.

ID
xccdf_org.ssgproject.content_rule_postfix_client_configure_mail_alias
Severity
Medium
References
Updated