Skip to content

convectionlabs/puppet-module-sendmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppet-module-sendmail

Puppet module for sendmail

This module supports the use of sendmail for mail relaying purposes only.

Requirements


  • Puppet version 3 or greater with Hiera support
  • Puppet Modules:
OS Family Module
ALL clabs/core

Usage


Loading the sendmail class:

include sendmail

Configuration


All configuration settings should be defined using Hiera.

RedHat Linux OS Family defaults

sendmail::enabled       : true
sendmail::svc           : 'sendmail'
sendmail::packages:
    - 'sendmail'
    - 'sendmail-cf'
    - 'cyrus-sasl-plain'
sendmail::relay_smart   : true

Example: Enable & configure sendmail relaying on RedHat Linux OS Family

sendmail::relay_host    : 'email-smtp.us-east-1.amazonaws.com'
sendmail::relay_user    : 'ASDKFJWNEFJSNES'
sendmail::relay_pass    : 'asjfsASFANajsfajsfi2wwwkx34nss'

Example: Enable hiera hash merging and setup a local mail alias for root

sendmail::hieramerge    : true
sendmail::aliases:
  root:
    recipient: 'foo@example.com'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published