Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ 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
* _mailgun_smtp_ - 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
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
line: "{{ item.line }}"
regexp: "{{ item.regexp }}"
with_items:
- { regexp: "^relayhost", line: "relayhost = [smtp.mailgun.org]:587" }
- { regexp: "^relayhost", line: "relayhost = [{{ mailgun_smtp }}]:587" }
- { regexp: "^smtp_tls_security_level", line: "smtp_tls_security_level = encrypt" }
- { regexp: "^smtp_tls_note_starttls_offer", line: "smtp_tls_note_starttls_offer = yes" }
- { regexp: "^smtp_sasl_auth_enable", line: "smtp_sasl_auth_enable = yes" }
Expand Down