Forge Home


Controls postfix, spf and dkim using opendkim


9,008 latest version

3.6 quality score

Version information

  • 0.1.1 (latest)
  • 0.1.0 (deleted)
  • 0.0.1 (deleted)
released Mar 24th 2015

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'alkivi-postfix', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add alkivi-postfix
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install alkivi-postfix --version 0.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



alkivi/postfix — version 0.1.1 Mar 24th 2015

postfix Module

This module will install and configure a postfix server and allow you to manage spf and dkim configuration as well


Server configuration

class { 'postfix': 
  myorigin        => '',
  myhostname      => '',
  mydestination   => ['', 'localhost'],
  rootAlias       => '',
  inet_interfaces => 'loopback-only',
  mynetworks      => [],
  motd            => true,

This will do the typical install, configure and service management.

DKIM support

class { 'postfix::dkim':
  hostname => '',

you will have to manually put a DKIM (TXT) entry in your dns as show in the files :

### SPF support
class { 'postfix::spf': }

For SPF, you have to do the same. A SPF DNS entry looks like: v=spf1 ip4: ~all


  • This module has been tested on Debian Wheezy, Squeeze.


All the code is freely distributable under the terms of the LGPLv3 license.


Need help ?


Please log tickets and issues at our Github