Forge Home


A module to enable easy configuration of SSMTP


9,078 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released May 3rd 2015
This version is compatible with:
  • Gentoo

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'hacking-ssmtp', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add hacking-ssmtp
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install hacking-ssmtp --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Tags: ssmtp


hacking/ssmtp — version 0.1.0 May 3rd 2015

/etc/ssmtp/ssmtp.conf module for Puppet


Puppet module for managing the /etc/ssmtp/ssmtp.conf file.

Example usage

class { 'ssmtp': root => "", mailhub => "" }

Resulting file


# This file is automatically generated by Puppet
# Any changes made to this file will be lost on the next automated Puppet run!

# The person who gets all mail for user IDs < 1000

# The place where the mail goes

# The full hostname

Additional options

$port can be used to specify which port to connect to on the mail hub (default: 25). $hostname can be used to override the name of the local machine. $usessl if set to true then SSL will be used when connecting to the mail hub (default: false). This will also set the default port to 465 unless $port is specified. $usetls if set to true then TLS will be used when connecting to the mail hub (default: false). $usetlscert if set to true then a TLS certificate will be used when connecting to the mail hub (default: false). $tlscert when $usetlscert is set the path to the TLS client certificate should be specified here.