RHEL-09-252050 - RHEL 9 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

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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257951r1014843_rule, STIG-ID|RHEL-09-252050, Vuln-ID|V-257951

Plugin: Unix

Control ID: e65c8d91ed36cb550b075aa760c30087363c3f6247c1a3d679d046bde52fe79f