AlmaLinux OS 9 must not have the sendmail package installed.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-269336ALMA-09-028950SV-269336r1050218_ruleCCI-000381medium
Description
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.
STIGDate
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide2025-05-22

Details

Check Text (C-269336r1050218_chk)

Verify that the sendmail package is not 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 Text (F-73268r1048385_fix)

Remove the sendmail package with the following command: $ dnf remove sendmail