Information
The operating system must be configured to prevent unrestricted mail relaying.
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:
Example: vim /etc/postfix/main.cf
Add this line:
# postconf -e 'smtpd_client_restrictions = permit_mynetworks,reject'