1.231 ALMA-09-028950

Information

AlmaLinux OS 9 must not have the sendmail package installed.

GROUP ID: V-269336
RULE ID: SV-269336r1050218

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.

Solution

Remove the sendmail package with the following command:

$ dnf remove sendmail

See Also

https://workbench.cisecurity.org/benchmarks/27039