TOSS 5 must be configured to prevent unrestricted mail relaying.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-282681SRG-OS-000480-GPOS-00227TOSS-05-000207SV-282681r1201023_rule2026-04-011

Description

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

Verify TOSS 5 is configured to prevent unrestricted mail relaying using 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 using the following command: $ sudo postconf -e 'smtpd_client_restrictions = permit_mynetworks,reject'