← Rules Catalog
mediumservicesverified rollback-safe

Ensure mailx package is installed

pkg-mailx-present · RHEL ≥ 8 · 1 impl

Description

The mailx package provides the mail command used to send email notifications. It must be installed so the system can deliver administrative and audit alerts.

Rationale

Several controls depend on the system being able to send email alerts, such as audit storage warnings and account-action notifications. Without a mail-sending command like mailx, those notifications cannot be delivered.

Check → Remediate

Checkpackage_state
name:
mailx
state:
present
Remediatepackage_present
name:
mailx

Framework references

STIG

V-256974 / RHEL-08-010358

NIST 800-53

CM-3(5)

Live verification

rhel8:check
#package#mail#notification