Add email support for Matrix/Synapse.

This commit is contained in:
Viyurz 2024-03-16 20:34:38 +01:00
parent 23eebca05a
commit 542d4ad5f3
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8
2 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,7 @@
# Server
server_name: "{{ domain }}"
pid_file: /data/homeserver.pid
public_baseurl: "https://matrix.{{ domain }}"
listeners:
- port: 8008
tls: false
@ -14,6 +15,14 @@ listeners:
resources:
- names: [client, federation]
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

View file

@ -17,6 +17,8 @@ searxng_secrets:
searxng_secret:
synapse_secrets:
smtp_user:
smtp_pass:
postgres_password:
turn_shared_secret: "{{ coturn_secrets['static_auth_secret'] }}"
macaroon_secret_key: