Skip to content

AlmaLinux OS 9 must be configured to prevent unrestricted mail relaying.

An XCCDF Rule

Description

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.

ID
SV-269252r1050134_rule
Version
ALMA-09-019490
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Modify the postfix configuration file to restrict client connections to the local network with the following command:

$ postconf -e 'smtpd_client_restrictions = permit_mynetworks,reject'