RHEL-07-040680 - The Red Hat Enterprise Linux operating system must be configured to prevent unrestricted mail relaying.

Information

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.

Solution

If 'postfix' is installed, modify the '/etc/postfix/main.cf' file to restrict client connections to the local network with the following command:

# postconf -e 'smtpd_client_restrictions = permit_mynetworks,reject'

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_7_V3R15_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204619r991589_rule, STIG-ID|RHEL-07-040680, STIG-Legacy|SV-86921, STIG-Legacy|V-72297, Vuln-ID|V-204619

Plugin: Unix

Control ID: ae4000a439db412a32d72ec0991523385400443aba86b874bfa1932629775ad1