Просмотр исходного кода

make matrix_synapse_email_smtp_enable_tls configurable

pull/2791/head
Alexis Yushin 2 лет назад
Родитель
Сommit
1a4663d85a
2 измененных файлов: 3 добавлений и 1 удалений
  1. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
  2. +2
    -0
      roles/custom/matrix-synapse/vars/main.yml

+ 1
- 1
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Просмотреть файл

@@ -2351,7 +2351,7 @@ email:
# must present a certificate that is valid for 'smtp_host'. If this option
# is set to false, TLS will not be used.
#
#enable_tls: false
enable_tls: {{ matrix_synapse_email_smtp_enable_tls|to_json }}

# notif_from defines the "From" address to use when sending emails.
# It must be set if email sending is enabled.


+ 2
- 0
roles/custom/matrix-synapse/vars/main.yml Просмотреть файл

@@ -5,6 +5,8 @@ matrix_synapse_federation_api_url_endpoint_public: "https://{{ matrix_server_fqn

matrix_synapse_media_store_directory_name: "{{ matrix_synapse_media_store_path | basename }}"

matrix_synapse_email_smtp_enable_tls: true

# A Synapse generic worker can handle both federation and client-server API endpoints.
# We wish to split these, as we normally serve federation separately and don't want them mixed up.
#


Загрузка…
Отмена
Сохранить