-
-
Notifications
You must be signed in to change notification settings - Fork 274
Expand file tree
/
Copy pathdefault.toml
More file actions
134 lines (104 loc) · 3.59 KB
/
Copy pathdefault.toml
File metadata and controls
134 lines (104 loc) · 3.59 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Uncomment if you start the app as root and want to downgrade
# once all privileged actions are completed
# If you do not use privileged ports then you can start the app already under required user account
#user="wildduck"
#group="wildduck"
# process title
ident = "wildduck"
# If true, /authenticate returns a short-lived 2FA nonce instead of a user token
# when WildDuck-verifiable 2FA is enabled for the user. Set to false to keep the
# legacy behavior where /authenticate returns the user token immediately.
strict2fa = true
# how many processes to start
# either a number for specific process count or "cpus" for machine thread count
processes = 1
# If usernames are not email addresses then use this domain as default hostname part
#emailDomain="mydomain.info"
[dbs]
# @include "dbs.toml"
[totp]
# If enabled then encrypt TOTP seed tokens with the secret password. By default TOTP seeds
# are not encrypted and stored as cleartext. Once set up do not change these values,
# otherwise decrypting totp seeds is going to fail
#secret="a secret cat"
#cipher="aes192" # only for decrypting legacy values (if there are any)
[pwned]
# If enabled then on every login checks the user's passwords against PwnedPasswords API
enabled = false # disabled by default
type = "softfail"
# hardfail -> Fail auth even is API is down or the password is Pwned
# fail -> Fail auth only if the password is Pwned
# softfail -> Auth succeeds even if password is Pwned but a flag is added to API response
# none -> No check is conducted
apiUrl = "" # url of the PwnedPasswords API. If not set then uses the public url, if set then you can use your own API that uses HIBP Passwords downloaded via official PwnedPasswordsDownloader
[webauthn]
rpId = "example.com" # origin domain
rpName = "WildDuck Email Server"
challengeSize = 64
attestation = "none"
authenticatorUserVerification = "discouraged"
[attachments]
# @include "attachments.toml"
[log]
level = "silly"
skipFetchLog = false # if true, then does not output individual * FETCH responses to log
updateStream = false # if true, then logs EventSource updates stream lifecycle and emitted events to console
# delete authentication log entries after 30 days
# changing this value only affects new entries
# set to false to not log authentication events
# set to 0 to keep the logs infinitely
# NB! Removed. Use const:authlog:time setting instead
#authlogExpireDays=30
[log.gelf]
enabled = false
hostname = false # defaults to os.hostname()
component = "wildduck"
[log.gelf.options]
graylogPort = 12201
graylogHostname = "127.0.0.1"
connection = "lan"
[imap]
# @include "imap.toml"
[tls]
# @include "tls.toml"
[lmtp]
# @include "lmtp.toml"
[pop3]
# @include "pop3.toml"
[api]
# @include "api.toml"
[sender]
# @include "sender.toml"
[dkim]
# @include "dkim.toml"
[acme]
# @include "acme.toml"
[certs]
# Encrypt stored TLS private keys with the following password (disabled by default):
#secret="a secret cat"
#cipher="aes192" # only for decrypting legacy values (if there are any)
[plugins]
# @include "plugins.toml"
[tasks]
# if enabled then process jobs like deleting expired messages etc
enabled = true
[smtp.setup]
# Public configuration for SMTP MDA, needed for mobileconfig files
hostname = "localhost"
secure = false
port = 2587
[webhooks]
# At least one server must have webhook processing enabled,
# otherwise events would pile up in the Redis queue.
enabled = true
[elasticsearch]
enabled = false
url = "http://127.0.0.1:9200"
user = "elastic"
pass = "supersecret"
index = "wildduck"
[elasticsearch.indexer]
# idexing worker
enabled = false
[migrations]
# @include "migrations.toml"