[]
(https://travis-ci.org/mricon/puppet-postsrsd)
- Overview
- Module Description - What the module does and why it is useful
- Setup
- Reference
- Limitations - OS compatibility, etc.
Puppet module to manage postsrsd installation and configuration.
This module installs and configures the postsrsd daemon version 1.4+, see https://github.com/roehling/postsrsd for more details.
This module was forked from https://github.com/thomasvs/puppet-postsrsd.
You MUST set $srs_secret_content, as it is bad practice to use auto-generated values (if you ever migrate, you will lose ability verify your previously issued envelope-senders).
It's expected that this module will be used with hiera, so the quickest way to configure it for your environment is to add it to your Puppetfile:
mod 'mricon-postsrsd'
The minimal configuration bits that should go into hiera are:
postsrsd::config::srs_secret_content: 'somestring24+charslong'
Without the above, the module will refuse to run.
Whether to manage the package. At least on Red Hat systems, the only place where the postsrsd package is available is in one of the COPR locations.
Default: true
Whether to manage the postsrsd service.
Default: true
Package name (OS-specific).
Default: postsrsd
Service name (OS-specific).
Default: postsrsd
Location of the startup parameters file.
Default: /etc/sysconfig/postsrsd
For the descriptions, see the default configuration file.
You do not have to define it, as the default behaviour is for postsrsd to take
the output of postconf -h mydomain
.
Default: undef
An Array of domains to exclude from being processed by postsrsd.
Default: undef
Default: '='
Location of the file with the secret used to hash the values.
Default: /etc/postsrsd.secret
The value of the secret used to hash the values. The only value that must be set for the module to work.
Default: undef
Default: 4
Default: 4
Default: 10001
Default: 10002
Default: 127.0.0.1
Default: nobody
Default: undef
This module will NOT make any changes to your postfix installation, so you will need to adjust your configuration using the postfix module.
Written and tested for CentOS 7 and Debian stretch (9) only. To get the package for CentOS, please see https://copr.fedorainfracloud.org/coprs/natolumin/postsrsd/