STIGUI
V-269252CAT II — Medium severitySV-269252r1050134_rule

AlmaLinux OS 9 must be configured to prevent unrestricted mail relaying.

Rule version ALMA-09-019490 · STIG v1 · 2026-08-25

Discussion

If unrestricted mail relaying is permitted, unauthorized senders could use this host as a mail relay for the purpose of sending spam or other unauthorized activity.

Check

Note: If postfix is not installed, this is Not Applicable.

Verify AlmaLinux OS 9 is configured to prevent unrestricted mail relaying with the following command:

$ postconf -n smtpd_client_restrictions 

smtpd_client_restrictions = permit_mynetworks,reject

If the "smtpd_client_restrictions" parameter contains any entries other than "permit_mynetworks" and "reject", and the additional entries have not been documented with the information system security officer (ISSO), this is a finding.

Fix

Modify the postfix configuration file to restrict client connections to the local network with the following command:

$ postconf -e 'smtpd_client_restrictions = permit_mynetworks,reject'

Identifiers

Group ID
V-269252
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-269252r1050134_rule
Check ID
C-73283r1049387_chk
Fix ID
F-73184r1048133_fix