OL07-00-040680 - The Oracle 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_Oracle_Linux_7_V3R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-221883r991589_rule, STIG-ID|OL07-00-040680, STIG-Legacy|SV-108609, STIG-Legacy|V-99505, Vuln-ID|V-221883

Plugin: Unix

Control ID: bb8a2ea8af408bdcb6bc011413f56e889ebd60897c5c6bd11da43f109b6242ea