Enable email in matrix.
This commit is contained in:
parent
f5ffd21dd3
commit
8c24a02a43
|
@ -820,23 +820,10 @@ password_config:
|
||||||
# If your SMTP server requires authentication, the optional smtp_user &
|
# If your SMTP server requires authentication, the optional smtp_user &
|
||||||
# smtp_pass variables should be used
|
# smtp_pass variables should be used
|
||||||
#
|
#
|
||||||
#email:
|
email:
|
||||||
# enable_notifs: false
|
smtp_host: "{{ smtp_host }}"
|
||||||
# smtp_host: "localhost"
|
smtp_port: {{ smtp_port }}
|
||||||
# smtp_port: 25
|
notif_from: "{{ services.matrix.domain }} <no-reply@{{ services.matrix.domain }}>"
|
||||||
# smtp_user: "exampleusername"
|
|
||||||
# smtp_pass: "examplepassword"
|
|
||||||
# require_transport_security: False
|
|
||||||
# notif_from: "Your Friendly %(app)s Home Server <noreply@example.com>"
|
|
||||||
# app_name: Matrix
|
|
||||||
# # if template_dir is unset, uses the example templates that are part of
|
|
||||||
# # the Synapse distribution.
|
|
||||||
# #template_dir: res/templates
|
|
||||||
# notif_template_html: notif_mail.html
|
|
||||||
# notif_template_text: notif_mail.txt
|
|
||||||
# notif_for_new_users: True
|
|
||||||
# riot_base_url: "http://localhost/riot"
|
|
||||||
|
|
||||||
|
|
||||||
#password_providers:
|
#password_providers:
|
||||||
# - module: "ldap_auth_provider.LdapAuthProvider"
|
# - module: "ldap_auth_provider.LdapAuthProvider"
|
||||||
|
|
|
@ -82,6 +82,7 @@
|
||||||
networks:
|
networks:
|
||||||
- matrix
|
- matrix
|
||||||
- external_services
|
- external_services
|
||||||
|
- postfix
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ services.matrix.volume_folder }}/data:/data"
|
- "{{ services.matrix.volume_folder }}/data:/data"
|
||||||
environment:
|
environment:
|
||||||
|
@ -113,5 +114,7 @@
|
||||||
external_services:
|
external_services:
|
||||||
external:
|
external:
|
||||||
name: external_services
|
name: external_services
|
||||||
|
postfix:
|
||||||
|
external: true
|
||||||
matrix:
|
matrix:
|
||||||
name: "matrix"
|
name: "matrix"
|
||||||
|
|
|
@ -23,6 +23,6 @@
|
||||||
- "{{ services.postfix.volume_folder }}/dkim:/etc/opendkim/keys"
|
- "{{ services.postfix.volume_folder }}/dkim:/etc/opendkim/keys"
|
||||||
env:
|
env:
|
||||||
# Get all services which have allowed_sender_domain defined
|
# Get all services which have allowed_sender_domain defined
|
||||||
ALLOWED_SENDER_DOMAINS: "{{ services | dict2items | selectattr('value.allowed_sender_domain', 'true') | map(attribute='value.domain') | join(' ') }}"
|
ALLOWED_SENDER_DOMAINS: "{{ base_domain }} {{ services | dict2items | selectattr('value.allowed_sender_domain', 'true') | map(attribute='value.domain') | join(' ') }}"
|
||||||
HOSTNAME: "{{ services.postfix.domain }}" # the name the smtp server will identify itself as
|
HOSTNAME: "{{ services.postfix.domain }}" # the name the smtp server will identify itself as
|
||||||
DKIM_AUTOGENERATE: "true"
|
DKIM_AUTOGENERATE: "true"
|
||||||
|
|
Loading…
Reference in a new issue