OL 9 must not have the sendmail package installed.

STIG ID: OL09-00-000150  |  SRG: SRG-OS-000095-GPOS-00049 |  Severity: medium |  CCI: CCI-000381 |  Vulnerability Id: V-271466

Vulnerability Discussion

The sendmail software was not developed with security in mind, and its design prevents it from being effectively contained by SELinux. Postfix must be used instead.

Check

Verify that OL 9 does not have the sendmail package installed with the following command:

$ dnf list --installed sendmail
Error: No matching Packages to list

If the "sendmail" package is installed, this is a finding.

Fix

Remove the sendmail package with the following command:

$ sudo dnf remove sendmail