Skip to content

Disable Postfix Network Listening

An XCCDF Rule

Description

Edit the file /etc/postfix/main.cf to ensure that only the following inet_interfaces line appears:

inet_interfaces = 

Rationale

This ensures postfix accepts mail messages (such as cron job reports) from the local system only, and not from the network, which protects it from network attack.

ID
xccdf_org.ssgproject.content_rule_postfix_network_listening_disabled
Severity
Medium
References
Updated