Add email support for Matrix/Synapse.
This commit is contained in:
parent
23eebca05a
commit
542d4ad5f3
2 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
# Server
|
# Server
|
||||||
server_name: "{{ domain }}"
|
server_name: "{{ domain }}"
|
||||||
pid_file: /data/homeserver.pid
|
pid_file: /data/homeserver.pid
|
||||||
|
public_baseurl: "https://matrix.{{ domain }}"
|
||||||
listeners:
|
listeners:
|
||||||
- port: 8008
|
- port: 8008
|
||||||
tls: false
|
tls: false
|
||||||
|
@ -14,6 +15,14 @@ listeners:
|
||||||
resources:
|
resources:
|
||||||
- names: [client, federation]
|
- names: [client, federation]
|
||||||
compress: false
|
compress: false
|
||||||
|
email:
|
||||||
|
smtp_host: "mail.{{ domain }}"
|
||||||
|
smtp_port: {{ ports['mailserver_smtps'] }}
|
||||||
|
smtp_user: "{{ synapse_secrets['smtp_user'] }}"
|
||||||
|
smtp_pass: '{{ synapse_secrets["smtp_pass"] }}'
|
||||||
|
force_tls: true
|
||||||
|
notif_from: "Matrix <matrix@{{ domain }}>"
|
||||||
|
invite_client_location: "https://element.{{ domain }}"
|
||||||
|
|
||||||
|
|
||||||
# Homeserver blocking
|
# Homeserver blocking
|
||||||
|
|
|
@ -17,6 +17,8 @@ searxng_secrets:
|
||||||
searxng_secret:
|
searxng_secret:
|
||||||
|
|
||||||
synapse_secrets:
|
synapse_secrets:
|
||||||
|
smtp_user:
|
||||||
|
smtp_pass:
|
||||||
postgres_password:
|
postgres_password:
|
||||||
turn_shared_secret: "{{ coturn_secrets['static_auth_secret'] }}"
|
turn_shared_secret: "{{ coturn_secrets['static_auth_secret'] }}"
|
||||||
macaroon_secret_key:
|
macaroon_secret_key:
|
||||||
|
|
Loading…
Reference in a new issue