From e273c605f68b26e8d70cd512a224e23f2428dd49 Mon Sep 17 00:00:00 2001 From: sonny Date: Thu, 4 Feb 2021 22:57:00 +0100 Subject: [PATCH] Use different email port See added SO thread --- templates/sentry.config.j2 | 1 + vars/email.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/sentry.config.j2 b/templates/sentry.config.j2 index c939e5f..962e455 100644 --- a/templates/sentry.config.j2 +++ b/templates/sentry.config.j2 @@ -9,6 +9,7 @@ # Mail Server # ############### +# https://stackoverflow.com/questions/47328056/smtpserverdisconnected-connection-unexpectedly-closed-timed-out/47328415#47328415 mail.backend: 'smtp' mail.host: '{{ smtp_server }}' mail.port: {{ smtp_port }} diff --git a/vars/email.yml b/vars/email.yml index 09d660a..c6969e0 100644 --- a/vars/email.yml +++ b/vars/email.yml @@ -1,5 +1,5 @@ smtp_server: 'smtp.transip.email' -smtp_port: 465 +smtp_port: 587 smtp_password: !vault | $ANSIBLE_VAULT;1.1;AES256 34306430333263396535626334633436623532623536663134656332323239663731343230623035