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: 3 months 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 (11 months ago)
- Last Synced: 2025-02-17T20:44:12.017Z (3 months 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
[](https://github.com/opus-codium/puppet-postsrsd/releases)
[](https://forge.puppetlabs.com/opuscodium/postsrsd)
[](https://forge.puppetlabs.com/opuscodium/postsrsd)
[](https://forge.puppetlabs.com/opuscodium/postsrsd)
[](https://forge.puppetlabs.com/opuscodium/postsrsd)
[](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';
}
```