RHEL 9 must have the s-nail package installed.

STIG ID: RHEL-09-215095  |  SRG: SRG-OS-000363-GPOS-00150 |  Severity: medium |  CCI: CCI-001744 |  Vulnerability Id: V-257842 | 

Vulnerability Discussion

The "s-nail" package provides the mail command required to allow sending email notifications of unauthorized configuration changes to designated personnel.

Check

Verify that RHEL 9 is configured to allow sending email notifications.

Note: The "s-nail" package provides the "mail" command that is used to send email messages.

Verify that the "s-nail" package is installed on the system:

$ sudo dnf list --installed mailx

s-nail.x86_64 14.9.22-6.el9

If "s-nail" package is not installed, this is a finding.

Fix

The s-nail package can be installed with the following command:

$ sudo dnf install s-nail