OL08-00-040290 - OL 8 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 to send spam or for 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:

$ sudo postconf -e 'smtpd_client_restrictions = permit_mynetworks,reject'

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-248895r991589_rule, STIG-ID|OL08-00-040290, Vuln-ID|V-248895

Plugin: Unix

Control ID: 296f96f64d6d75de4ce54cc7ba6ed377c20feaf57bf18106868364a1de9523fd