Enable Postfix Service
An XCCDF Rule
Description
The Postfix mail transfer agent is used for local mail delivery
within the system. The default configuration only listens for connections to
the default SMTP port (port 25) on the loopback interface (127.0.0.1). It is
recommended to leave this service enabled for local mail delivery.
The postfix
service can be enabled with the following command:
$ sudo systemctl enable postfix.service
Rationale
Local mail delivery is essential to some system maintenance and notification tasks.
- ID
- xccdf_org.ssgproject.content_rule_service_postfix_enabled
- Severity
- Unknown
- Updated
Remediation - Puppet
include enable_postfix
class enable_postfix {
service {'postfix':
enable => true,
ensure => 'running',
Remediation - OS Build Blueprint
[customizations.services]
enabled = ["postfix"]
Remediation - Ansible
- name: Enable service postfix
block:
- name: Gather the package facts
package_facts:
manager: auto