Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opus-codium/puppet-postsrsd
Manage Postfix Sender Rewriting Scheme daemon
https://github.com/opus-codium/puppet-postsrsd
hacktoberfest postfix puppet srs
Last synced: 2 days ago
JSON representation
Manage Postfix Sender Rewriting Scheme daemon
- Host: GitHub
- URL: https://github.com/opus-codium/puppet-postsrsd
- Owner: opus-codium
- License: apache-2.0
- Created: 2023-09-28T20:22:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-02T16:31:44.000Z (7 months ago)
- Last Synced: 2025-01-17T03:10:39.895Z (24 days ago)
- Topics: hacktoberfest, postfix, puppet, srs
- Language: Ruby
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# postsrsd
[![Build Status](https://img.shields.io/github/actions/workflow/status/opus-codium/puppet-postsrsd/release.yml)](https://github.com/opus-codium/puppet-postsrsd/releases)
[![Puppet Forge](https://img.shields.io/puppetforge/v/opuscodium/postsrsd.svg)](https://forge.puppetlabs.com/opuscodium/postsrsd)
[![Puppet Forge - downloads](https://img.shields.io/puppetforge/dt/opuscodium/postsrsd.svg)](https://forge.puppetlabs.com/opuscodium/postsrsd)
[![Puppet Forge - endorsement](https://img.shields.io/puppetforge/e/opuscodium/postsrsd.svg)](https://forge.puppetlabs.com/opuscodium/postsrsd)
[![Puppet Forge - scores](https://img.shields.io/puppetforge/f/opuscodium/postsrsd.svg)](https://forge.puppetlabs.com/opuscodium/postsrsd)
[![License](https://img.shields.io/github/license/opus-codium/puppet-postsrsd.svg)](https://github.com/voxpupuli/opuscodium-postsrsd/blob/master/LICENSE.md)#### Table of Contents
* [Module Description](#module-description)
* [Setup](#setup)
* [Beginning with postsrsd](#beginning-with-postsrsd)## Module Description
The postsrsd module lets you use Puppet to manage [PostSRSd](https://github.com/roehling/postsrsd) (Postfix Sender Rewriting Scheme daemon).
## Setup
### Beginning with postsrsd
Providing a list of domains to manage is enough to get started:
```puppet
class { 'postsrsd':
secrets => [
Sensitive('Example! Please use a better secret!'),
],
domains => [
'example.com',
'example.org',
],
}
```When using the [puppet-postfix](https://github.com/voxpupuli/puppet-postfix/) module, add the following to your Postfix configuartion to use PostSRSd:
```puppet
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';
}
```