Commit fa333aa4 authored by Jan-Oliver Opdenhövel's avatar Jan-Oliver Opdenhövel
Browse files

[synapse] Configuring e-mail sending

parent d81ea14d
......@@ -248,20 +248,16 @@ oidc_config:
config:
# Jinja2 template for the localpart of the MXID.
#
# When rendering, this template is given the following variables:
# * user: The claims returned by the UserInfo Endpoint and/or in the ID
# Token
#
# This must be configured if using the default mapping provider.
#
localpart_template: "{{ user.nickname }}"
# Jinja2 template for the display name to set on first login.
#
# If unset, no displayname will be set.
#
display_name_template: "{{ user.name }}"
# Jinja2 template for the email to set on first login.
#
email_template: "{{ user.email }}"
password_config:
# Disable password login
#
......@@ -316,3 +312,42 @@ enable_group_creation: false
user_directory:
enabled: false
search_all_users: false
# Configuration for sending emails from Synapse.
#
email:
# App name in subjects.
#
app_name: "FSMI-Matrix"
# SMTP server config.
#
smtp_host: mail.uni-paderborn.de
smtp_port: 25
# Sender information.
#
notif_from: "%(app)s <noreply@die-fachschaft.de>"
# Enable the option for mail notifications.
# Users still have to activate notifications, but this setting allows it.
#
enable_notifs: true
# Direct invited users to our webclient.
#
invite_client_location: "https://element.die-fachschaft.de"
# Mail subjects.
#
subjects:
message_from_person_in_room: "[%(app)s] Du hast eine Nachricht von %(person)s im %(room)s-Raum bekommen"
message_from_person: "[%(app)s] Du hast eine Nachricht von %(person)s bekommen"
messages_from_person: "[%(app)s] Du hast mehrere Nachrichten von %(person)s bekommen"
messages_in_room: "[%(apps)s] Du hast mehrere Nachrichten im %(room)s-Raum bekommen"
messages_in_room_and_others: "[%(app)s] Du hast mehrere Nachrichten, unter anderem im %(room)s-Raum bekommen"
messages_from_person_and_others: "[%(app)s] Du hast mehrere Nachrichten, unter anderem von %(person)s bekommen"
invite_from_person_to_room: "[%(app)s] %(person)s hat dich in den $(room)s-Raum eingeladen"
invite_from_person: "[%(app)s] %(person)s hat dich zum Chatten eingeladen"
email_validation: "[%(server_name)s] Bestätige deine E-Mail-Addresse"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment