postsrsd

Manage PostSRSd

239 downloads

239 latest version

3.1 quality score

Version information

  • 1.0.0 (latest)
released Sep 29th 2023
This version is compatible with:
  • Puppet Enterprise 2025.4.x, 2025.3.x, 2025.2.x, 2025.1.x, 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2021.7.x
  • Puppet >= 7.24 < 9.0.0
  • FreeBSD

Start using this module

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

Add this module to your Puppetfile:

mod 'opuscodium-postsrsd', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add opuscodium-postsrsd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install opuscodium-postsrsd --version 1.0.0

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

opuscodium/postsrsd — version 1.0.0 Sep 29th 2023

postsrsd

Build Status Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores License

Table of Contents

Module Description

The postsrsd module lets you use Puppet to manage PostSRSd (Postfix Sender Rewriting Scheme daemon).

Setup

Beginning with postsrsd

Providing a list of domains to manage is enough to get started:

class { 'postsrsd':
  secrets => [
    Sensitive('Example! Please use a better secret!'),
  ],
  domains => [
    'example.com',
    'example.org',
  ],
}

When using the puppet-postfix module, add the following to your Postfix configuartion to use PostSRSd:

postfix::config {
  'sender_canonical_maps':       value => 'socketmap:unix:srs:forward';
  'sender_canonical_classes':    value => 'envelope_sender';
  'recipient_canonical_maps':    value => 'socketmap:unix:srs:reverse';
  'recipient_canonical_classes': value => 'envelope_recipient,header_recipient';
}