Forge Home

postgrey

A simple module for managing postgrey

11,113 downloads

10,469 latest version

2.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.2 (latest)
  • 0.0.1
released Jul 11th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'bobtfish-postgrey', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add bobtfish-postgrey
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install bobtfish-postgrey --version 0.0.2

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.

Download

Documentation

bobtfish/postgrey — version 0.0.2 Jul 11th 2014

What is it?

A puppet module for managing postgrey (http://postgrey.schweikert.ch/)

How do I use it?

Just include the 'postgrey' module

Further configuration

The whitelists of senders and recipients can be configured in the module, either by supplying parameters, or by hiera data bindings.

The following configuration keys are available:

$enable = true

If the postgrey service should be enabled

$start = true

If the postgrey service should be started

$port = 10023

The port to run the service on

$host = 127.0.0.1

The host to bind the service to listen to

$delay = 300

greylist for N seconds

$max_age = 35

delete entries older than N days since the last time that they have been seen

$auto_whitelist_clients = 5

whitelist host after first successful delivery N is the minimal count of mails before a client is whitelisted (turned on by default with value 5) specify N=0 to disable

$retry_window = 2,

allow only N days for the first retrial (default: 2) append 'h' if you want to specify it in hours

$extra_options = ''

Any extra options to supply to the daemon. See man postgrey(8)

$default_whitelist_clients = true

If the default list of whitelist clients should be used

$whitelist_clients = []

Additional clients to whitelist

default_whitelist_recipients = true

If the default list of recipients should be whitelisted (abuse@ and postmaster@)

$whitelist_recipients = []

Additional recipients to whitelist.