postfix

Install and configure Postfix aliases
netflower

netflower

netflower

7,352 downloads

7,352 latest version

5.0 quality score

Version information

  • 0.0.1 (latest)
released Jul 3rd 2019
This version is compatible with:
  • Debian
    ,
    Ubuntu

Start using this module

Documentation

netflower/postfix — version 0.0.1 Jul 3rd 2019

Postfix

Build Status

Puppet module to install and manage Postfix.

Usage

Include the postfix class in your manifest to install it.

include postfix

If you not set any parameters, Postfix will be installed with its default configuration with the nodes fqdn set as needed. The main purpose of this module is to configure aliases from user accounts to other user accounts or mail addresses.

class { 'postfix':
  aliases => {
    'root' => 'user'
    'user' => 'user@example.com'
  }
}

Here is an example declaring the class with the full list of available parameters and their defaults:

class { 'postfix':
  aliases              => {},
  config_file          => '/etc/postfix/main.cf',
  config_file_template => 'postfix/main.cf.erb',
  inet_interfaces      => 'loopback-only',
  myhostname           => $fqdn,
  mydestination        => "${fqdn}, localhost",
  package_name         => 'postfix',
  service_ensure       => 'running'
}