blse2-public/package-riot/templates/mxisd.yaml.j2

48 lines
1.0 KiB
Django/Jinja

---
# mxisd configuration file
# {{ ansible_managed }}
matrix:
domain: "im.{{ blsedomains_webdomain }}"
key:
path: '/var/lib/mxisd/keys'
storage:
provider:
sqlite:
database: '/var/lib/mxisd/store.db'
ldap:
enabled: true
connection:
host: "{{ blsecluster_ldaphost }}"
port: 389
bindDn: "{{ username_ldap_admin }}"
bindPassword: "{{ passwd_ldap_admin }}"
baseDNs:
- "{{ ldap_basedn }}"
filter: "(&(objectClass=mailUser)(accountStatus=active))"
attribute:
uid:
type: "uid"
value: "uid"
name: "cn"
threepid:
email:
- "mail"
threepid:
medium:
email:
identity:
from: "matrix@{{ blsedomains_webdomain }}"
connectors:
smtp:
host: "{{ blsecluster_smtphost }}"
port: 587
tls: 1
login: "{{ username_email_root }}"
password: "{{ passwd_email_root }}"
dns:
overwrite:
homeserver:
client:
- name: 'im.{{ blsedomains_webdomain }}'
value: 'http://localhost:8008'