forked from matrix-org/sydent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsydent.example.conf
53 lines (44 loc) · 1.34 KB
/
sydent.example.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[DEFAULT]
[general]
server.name = example.com
log.path = /var/log/matrix-sydent/sydent.log
pidfile.path = /run/sydent.pid
[db]
db.file = /var/lib/matrix-sydent/sydent.db
[http]
client_http_base = http://example.com
clientapi.http.port = 8090
verify_response_template = /var/lib/matrix-sydent/res/verify_response.template
replication.https.certfile = /etc/matrix-sydent/sydent.cert
replication.https.port = 4434
replication.https.cacert =
obey_x_forwarded_for = True
[email]
email.from = Sydent Validation <[email protected]>
email.smtpport = 25
email.subject = Your Validation Token
email.template = /var/lib/matrix-sydent/res/email.template
email.smtphost = mail.example.com
email.tlsmode = 0
email.smtppassword = somesecret
email.hostname = example.com
email.smtpusername = username
email.invite.subject = %(sender_display_name)s has invited you to chat
token.length = 6
[crypto]
ed25519.signingkey =
[sms]
# # Uncoment if you need ldap support
# [ldap]
# uri = ldap://example.com:389/
# startls = false
# base = dc=example,dc=com
# email = mail
# msisdn = phone
# id_attr = samaccountname
# # if hs_name empty we assume that id_attr contain users matrix id
# # othercase we generate matrix id as @id_attr:hs_name
# hs_name = example.com
# bind_dn = cn=namager,cn=users,dc=example,dc=com
# bind_pw = secret
# filter = (&(objectClass=user)(objectCategory=person))