Puppet module for sendmail
This module supports the use of sendmail for mail relaying purposes only.
- Puppet version 3 or greater with Hiera support
- Puppet Modules:
OS Family | Module |
---|---|
ALL | clabs/core |
Loading the sendmail class:
include sendmail
All configuration settings should be defined using Hiera.
sendmail::enabled : true
sendmail::svc : 'sendmail'
sendmail::packages:
- 'sendmail'
- 'sendmail-cf'
- 'cyrus-sasl-plain'
sendmail::relay_smart : true
sendmail::relay_host : 'email-smtp.us-east-1.amazonaws.com'
sendmail::relay_user : 'ASDKFJWNEFJSNES'
sendmail::relay_pass : 'asjfsASFANajsfajsfi2wwwkx34nss'
sendmail::hieramerge : true
sendmail::aliases:
root:
recipient: '[email protected]'