- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with ssmtp
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
The ssmtp module provides the installation procedure for SSMTP including the setup of the alternate system if not overwritten by class parameter.
The SSMTP module prelace the standard mail server configuration with a light wight sending only server. The behavior is the same as sendmail but without the possibility to recieve mails from external systems.
- ssmtp package.
- ssmtp configuration file.
- ssmtp alternative service configuration.
You need to activate the EPEL repository before you can setup the SSMTP instance. If you use a rpm based system from the RedHat family you can use my yum module (thbe-yum):
class { "::yum": repo_epel => true }
include '::ssmtp' is enough to get you up and running if the parameters point to proper values. If you wish to pass in parameters like which servers to use then you can use:
class { '::ssmtp':
mail_hub => 'mail.example.local',
}
All interaction with the ssmtp module can do be done through the main ssmtp class. This means you can simply toggle the options in the ssmtp class to get at the full functionality.
include '::ssmtp'
class { '::ssmtp':
mail_hub => 'mail.example.local',
root_email => '[email protected]',
}
See https://github.com/thbe/puppet-ssmtp/blob/master/REFERENCE.md
This module has been built on and tested against Puppet 5 and higher.
The module has been tested on:
- CentOS 7
- Debian 9
- Ubuntu 18.04
Testing on other platforms has been light and cannot be guaranteed.
If you like to add or improve this module, feel free to fork the module and send me a merge request with the modification.
The list of contributors can be found at: https://github.com/thbe/puppet-ssmtp/graphs/contributors