wildduck/config/default.toml

105 lines
2.5 KiB
TOML
Raw Normal View History

2017-07-12 02:38:23 +08:00
# Uncomment if you start the app as root and want to downgrade
# once all privileged actions are completed
2018-04-18 03:09:47 +08:00
# If you do not use privileged ports then you can start the app already under required user account
2017-07-12 02:38:23 +08:00
#user="wildduck"
#group="wildduck"
2018-04-18 03:09:47 +08:00
# process title
2017-07-12 02:38:23 +08:00
ident="wildduck"
# how many processes to start
2021-11-12 16:29:17 +08:00
# either a number for specific process count or "cpus" for machine thread count
2017-07-12 02:38:23 +08:00
processes=1
2021-11-12 16:29:17 +08:00
# If usernames are not email addresses then use this domain as default hostname part
2017-07-12 02:38:23 +08:00
#emailDomain="mydomain.info"
[dbs]
2017-08-15 21:41:18 +08:00
# @include "dbs.toml"
2017-07-17 21:32:31 +08:00
[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"
2021-07-05 20:24:01 +08:00
#cipher="aes192" # only for decrypting legacy values (if there are any)
2022-03-06 06:08:48 +08:00
[webauthn]
2022-03-07 15:58:22 +08:00
rpId = "example.com" # origin domain
rpName = "WildDuck Email Server"
challengeSize = 64
attestation = "none"
authenticatorUserVerification = "discouraged"
2017-10-10 16:19:10 +08:00
[attachments]
# @include "attachments.toml"
2017-07-12 02:38:23 +08:00
[log]
level="silly"
2018-11-16 16:01:18 +08:00
skipFetchLog=false # if true, then does not output individual * FETCH responses to log
2017-08-08 18:20:03 +08:00
# delete authentication log entries after 30 days
# changing this value only affects new entries
2017-09-25 17:19:24 +08:00
# set to false to not log authentication events
# set to 0 to keep the logs infinitely
2021-09-05 19:11:24 +08:00
# NB! Removed. Use const:authlog:time setting instead
#authlogExpireDays=30
2017-08-08 18:20:03 +08:00
2018-10-18 15:37:32 +08:00
[log.gelf]
enabled=false
hostname=false # defaults to os.hostname()
component="wildduck"
[log.gelf.options]
graylogPort=12201
2018-11-14 16:02:53 +08:00
graylogHostname="127.0.0.1"
connection="lan"
2018-10-18 15:37:32 +08:00
2017-07-12 02:38:23 +08:00
[imap]
2017-08-15 21:41:18 +08:00
# @include "imap.toml"
2017-07-25 20:50:16 +08:00
2017-07-12 02:38:23 +08:00
[tls]
2017-08-15 21:41:18 +08:00
# @include "tls.toml"
2017-07-12 02:38:23 +08:00
[lmtp]
2017-08-15 21:41:18 +08:00
# @include "lmtp.toml"
2017-07-12 02:38:23 +08:00
[pop3]
2017-08-15 21:41:18 +08:00
# @include "pop3.toml"
2017-07-25 20:50:16 +08:00
2017-07-12 02:38:23 +08:00
[api]
2017-08-15 21:41:18 +08:00
# @include "api.toml"
2017-07-25 20:50:16 +08:00
2017-07-12 02:38:23 +08:00
[sender]
2017-08-15 21:41:18 +08:00
# @include "sender.toml"
2017-07-25 20:50:16 +08:00
2018-01-02 21:42:57 +08:00
[dkim]
# @include "dkim.toml"
[acme]
# @include "acme.toml"
[certs]
2021-07-05 20:24:01 +08:00
# Encrypt stored TLS private keys with the following password (disabled by default):
#secret="a secret cat"
2021-07-05 20:24:01 +08:00
#cipher="aes192" # only for decrypting legacy values (if there are any)
2017-10-26 15:21:32 +08:00
[plugins]
# @include "plugins/*.toml"
2018-10-10 21:19:20 +08:00
[tasks]
# if enabled then process jobs like deleting expired messages etc
enabled=true
2017-07-25 20:50:16 +08:00
[smtp.setup]
2017-09-11 03:53:12 +08:00
# Public configuration for SMTP MDA, needed for mobileconfig files
hostname="localhost"
secure=false
port=2587
2020-10-09 16:08:33 +08:00
[webhooks]
# At least one server must have webhook processing enabled,
# otherwise events would pile up in the Redis queue.
enabled = true