1.359 OL08-00-040290

Information

OL 8 must be configured to prevent unrestricted mail relaying.

GROUP ID: V-248895
RULE ID: SV-248895r991589

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://workbench.cisecurity.org/benchmarks/23791