Forge Home

sendmailses

Configures sendmail to use SES on Amazon Linux

9,431 downloads

9,310 latest version

1.9 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.0.2 (latest)
  • 0.0.1
released Aug 10th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'jaredhatfield-sendmailses', '0.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jaredhatfield-sendmailses
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jaredhatfield-sendmailses --version 0.0.2

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.

Download
Tags: sendmail, ses

Documentation

jaredhatfield/sendmailses — version 0.0.2 Aug 10th 2014

puppet-sendmailses

Puppet module to configure Sendmail to use AWS SES

The current version of this script has only been tested with Amazon Linux running on EC2.

This module will install the necessary packages (sendmail, sendmail-cf, and m4) as well as create the necessary configuration files and run the necessary commands to fully configure sendmail. Using sendmail in combination with SES will only work when the from address has been properly configured in your AWS account. Generally speaking this configuration must be performed on an application by application basis.

sendmailses

Configuring sendmail for SES requires only that the necessary credentials be provided.

smtp_user           - The "U" parameter specifying the user for SMPT authentication
                      This is the name of the SES credentials specified by the user
smtp_authentication - The "I" parameter specifying the authentication for SMPT authentication
                      This is the SES SMPT Username generated by AWS
smtp_password       - The "P" parameter specifying the password for SMPT authentication
                      This is the SES SMPT Password generated by AWS

Example

class { "sendmailses":
  smtp_user           => "SES_CREDENTIALS_NAME",
  smtp_authentication => "SES_SMPT_USERNAME",
  smtp_password       => "SES_SMPT_PASSWORD",
}

References

http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sendmail.html