spatialdev/ansible-ssmtp

Name: ansible-ssmtp

Owner: SpatialDev

Description: Ansible role for installing and configuring sSMTP to deliver local email to a mail hub

Forked from: oriolrius/ansible-ssmtp

Created: 2016-11-01 21:17:43.0

Updated: 2015-10-26 23:35:06.0

Pushed: 2015-05-05 09:43:50.0

Homepage: null

Size: 164

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ansible-ssmtp

Ansible role for installing and configuring sSMTP to deliver local email to a mail hub. sSMTP is ideal for situations where a full-blown mail transfer agent such as Postfix, Exim or Sendmail is not desired.

Optimized to be used with Mandrill service (http://mandrill.com/)

Role Variables

A more detailed description of these options can be found in the templates/ssmtp_conf.j2 file and templates/revaliases.j2.

notification_mail - Address which is to receive root emails

ssmtp_mailhub - Hostname or IP address of server that will receive emails, do not change default is OK

ssmtp_hostname - Hostname used in SMTP protocol

ssmtp_auth_user - Mandrill username

ssmtp_auth_pass - Mandrill API key

Requirements

Remember to modify your SPF and DKIM register in the DNS entry of your doamin to use Mandrill as a SMTP relay host.

Dependencies

Mandrill account.

Installation

ansible-galaxy install oriol.rius.ssmtp-mandrill

---
- hosts: all
  roles:
    - oriol.rius.ssmtp-mandrill
License

MIT

Author Information

Oriol Rius

GitHub project page

based on work of:

Brian Showalter

GitHub project page


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.