1.325 OL09-00-002425

Information

OL 9 must be configured to prevent unrestricted mail relaying.

GROUP ID: V-271763
RULE ID: SV-271763r1092001

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

Modify the postfix configuration 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/27024