/ansible-mailgun

Ansible role for configuring Mailgun SMTP relaying with Postfix

Primary LanguagePythonApache License 2.0Apache-2.0

ansible-mailgun

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

Requirements

Ansible 2.7+ should work, this fork has currently not been tested on anything other than Ubuntu.

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

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