Skip to content

Ansible role for configuring Mailgun SMTP relaying with Postfix

License

Notifications You must be signed in to change notification settings

major/ansible-mailgun

Repository files navigation

ansible-mailgun

Build Status

This role configures postfix to use Mailgun for outgoing email on Linux servers.

Requirements

Ansible 2.7 is strongly recommended, but Ansible 2.4 should work (unless you're on Fedora, then you need 1.9 for sure for dnf support).

Role Variables

The variables for this role are found within defaults/main.yml and include the following:

  • mailgun_username - your Mailgun SMTP username
  • mailgun_password - your Mailgun SMTP password
  • smtp.mailgun.org - the Mailgun SMTP, default is smtp.mailgun.org, for EU use smtp.eu.mailgun.org

Please note: This is your SMTP username/password combination, not the credentials you use to access the Mailgun dashboard on the website. The SMTP credentials should be different for each domain you host and they're found here:

https://mailgun.com/app/domains/{your-domain-name}

Dependencies

This role has no dependencies.

License

Apache 2.0

Author Information

Major Hayden

About

Ansible role for configuring Mailgun SMTP relaying with Postfix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published