Skip to content

Configure System to Forward All Mail through a specific host

An XCCDF Rule

Description

Set up a relay host that will act as a gateway for all outbound email. Edit the file /etc/postfix/main.cf to ensure that only the following relayhost line appears:

relayhost = 

Rationale

A central outbound email location ensures messages sent from any network host can be audited for potential unexpected content. Tooling on the central server may help prevent spam or viruses from being delivered.

ID
xccdf_org.ssgproject.content_rule_postfix_client_configure_relayhost
Severity
Medium
Updated