This role configures postfix to use Mailgun for outgoing email on Linux servers.
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).
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}
This role has no dependencies.
Apache 2.0