From 4b8223fd63fd7104e8d8e025bddb1b417b6b1587 Mon Sep 17 00:00:00 2001 From: LUXEY Adrien Date: Mon, 31 Aug 2020 18:26:48 +0200 Subject: [PATCH] quotes around smtp_port in synapse config file prevented from sending mail --- deployer/roles/build/tasks/synapse.yml | 2 +- deployer/roles/build/templates/synapse/homeserver.yaml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployer/roles/build/tasks/synapse.yml b/deployer/roles/build/tasks/synapse.yml index 72ec85a..a2431b6 100644 --- a/deployer/roles/build/tasks/synapse.yml +++ b/deployer/roles/build/tasks/synapse.yml @@ -42,7 +42,7 @@ SYNAPSE_REPORT_STATS: "no" UID: "{{ site.user_uid }}" GID: "{{ site.user_gid }}" - tags: config + tags: config ############################ diff --git a/deployer/roles/build/templates/synapse/homeserver.yaml.j2 b/deployer/roles/build/templates/synapse/homeserver.yaml.j2 index 6b780a6..49899c2 100644 --- a/deployer/roles/build/templates/synapse/homeserver.yaml.j2 +++ b/deployer/roles/build/templates/synapse/homeserver.yaml.j2 @@ -1628,7 +1628,7 @@ email: # The port on the mail server for outgoing SMTP. Defaults to 25. # #smtp_port: 587 - smtp_port: "{{ site.smtp_port }}" + smtp_port: {{ site.smtp_port }} # Username/password for authentication to the SMTP server. By default, no # authentication is attempted.