Skip to content

netflower/puppet-postfix

Repository files navigation

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'
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published