postfix

Simple module to manage Postfix mail server

Nathan R Valentine

nrvale0

16,678 downloads

15,056 latest version

2.5 quality score

Version information

  • 2.1.0 (latest)
  • 2.0.1
  • 2.0.0
  • 1.0.0
  • 0.1.0
released Nov 24th 2014
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet 3.x
  • Ubuntu
    ,
    Debian
    ,
    RedHat
    ,
    CentOS

Start using this module

Documentation

nrvale0/postfix — version 2.1.0 Nov 24th 2014

Build Status

nrvale0-postfix

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with postfix
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

Simple module for installing and running the Postfix MTA on RedHat-based and Debian-based systems.

Module Description

The module installs the Postfix MTA from vendor packages on supported platforms and provides the ability to override package name and service init state.

The module is appropriate for forwarding MTA setup and basic inbound MTA. It does not currently expose an API which allows complicated mail filtering, TLS, nor vhosted setups. Pull requests encouraged.

Setup

What postfix affects

  • by default, installs from vendor Postfix packages
  • makes modifications to /etc/postfix/main.cf

Beginning with postfix

sudo puppet module install nrvale0-postfix

Usage

include ::postfix
class { '::postfix':
  relayhost => 'mail.myorg.private',
  myorigin => $::fqdn,
}

Note there are no required parameters to class postfix.

Reference

  • 'relayhost' and 'myorigin' are injected into main.cf using Puppet resource type file_line from puppetlabs/stdlib.

Limitations

  • current OS support:

  • Ubuntu 12.04, 14.04

  • Debian 7

  • RedHat/CentOS 6

  • upcoming OS support

  • Ubuntu 13.10

  • RedHat/CentOS 7

Development

https://github.com/nrvale0/puppet-postfix

License

Apache License 2.0

About the author

Nathan Valentine - nrvale0@gmail.com | nathan@puppetlabs.com http://about.me/nrvale0