wildduck/config/default.toml

100 lines
2.3 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
processes=1
# default quota storage in MB (can be overriden per user)
maxStorage=1024
# default smtp recipients for 24h (can be overriden per user)
maxRecipients=2000
# default forwarded messages for 24h (can be overriden per user)
maxForwards=2000
# If usernames are not email addresses then use this domain as hostname part
#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
#cipher="aes192"
#secret="a secret cat"
2017-10-10 16:19:10 +08:00
[u2f]
# Fully qualified URL of your website (must use HTTPS!)
appId="https://localhost:3000"
[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
2017-08-08 18:20:03 +08:00
authlogExpireDays=30
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"
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