Forge Home

sendmail

Puppet module for sendmail

433,379 downloads

6,819 latest version

2.1 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.3 (latest)
  • 0.1.1
  • 0.1.0
released Feb 23rd 2017

Start using this module

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

Add this module to your Puppetfile:

mod 'desalvo-sendmail', '0.1.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add desalvo-sendmail
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install desalvo-sendmail --version 0.1.3

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

Documentation

desalvo/sendmail — version 0.1.3 Feb 23rd 2017

puppet-sendmail

Puppet module for managing sendmail configuration.

Table of Contents

  1. Overview - What is the sendmail module?

Overview

This module manages and confgiures the sendmail agent.

Parameters

  • sendmail_mc_template: path to the sendmail.mc template
  • smart_host: the smtp outgoing server
  • smtp_port: the smtp port
  • exposed_user: the username to be displayed instead of the masquerade name
  • masquerade_as: this causes mail being sent to be labeled as coming from the indicated host.domain
  • masquerade_envelope: if masquerading is enabled or the genericstable is in use, set this parameter to true to also masquerade envelopes, normally only the header addresses are masqueraded
  • masquerade_entire_domain: set this to true if you need all hosts within the masquerading domains to be rewritten to the masquerade name
  • masquerade_domain: the effect of this is that although mail to user@otherhost.domain will not be delivered locally, any mail including any user@otherhost.domain will, when relayed, be rewritten to have the masquerade_as address; this can be a space-separated list of names
  • rootmail: mail address for the root user, default is undef
  • aliases: hash of aliases. Example: { 'user' => 'email' }
  • generics_domains: list of domains to serve. Example: [ 'domain1.com', 'domain2.com' }
  • generics_table: hash of user email addresses for multiple domains. Example: { 'user', 'email' }
  • auth_user: SMTP user, not used for authentication
  • auth_email: SMTP email (username)
  • auth_password: SMTP password

Usage

Example

This is and example of setting up the sendmail agent using the default configuration.

Using the sendmail module

class { 'sendmail': }

Contributors

Release Notes

0.1.3

  • Support for authorization

0.1.2

  • Template fix

0.1.1

  • Fix for path to the make command

0.1.0

  • Initial version