name="webmail.{{DOMAIN}}"
|
|
|
|
title="Wild Duck Mail"
|
|
|
|
[service]
|
|
# email domain for new users
|
|
domain="{{DOMAIN}}"
|
|
# default quotas for new users
|
|
quota=1024
|
|
recipients=2000
|
|
forwards=2000
|
|
identities=10
|
|
allowIdentityEdit=true
|
|
allowJoin=true
|
|
enableSpecial=true # if true the allow creating addresses with special usernames
|
|
# allowed domains for new addresses
|
|
domains=["{{DOMAIN}}"]
|
|
|
|
[api]
|
|
# url="http://127.0.0.1:8080"
|
|
# accessToken=""
|
|
url="http://wildduck"
|
|
accessToken="notoken"
|
|
|
|
[dbs]
|
|
# mongodb connection string for the main database
|
|
mongo="mongodb://mongo:27017/wildduck"
|
|
|
|
# redis connection string for Express sessions
|
|
redis="redis://redis:6379/3"
|
|
|
|
[www]
|
|
host="webmail"
|
|
port=3000
|
|
proxy=true
|
|
postsize="5MB"
|
|
log="dev"
|
|
secret="secret times"
|
|
secure=false
|
|
# baseurl="https://webmail.{{DOMAIN}}"
|
|
listSize=20
|
|
|
|
[recaptcha]
|
|
enabled=false
|
|
siteKey=""
|
|
secretKey=""
|
|
|
|
[totp]
|
|
# Issuer name for TOTP, defaults to config.name
|
|
issuer=false
|
|
# once setup do not change as it would invalidate all existing 2fa sessions
|
|
secret="a secret cat"
|
|
|
|
[u2f]
|
|
# set to false if not using HTTPS
|
|
enabled=false
|
|
# must be https url or use default
|
|
#appId="https://127.0.0.1:8080"
|
|
appId="https://webmail.{{DOMAIN}}"
|
|
|
|
[log]
|
|
level="silly"
|
|
mail=true
|
|
|
|
[setup]
|
|
# these values are shown in the configuration help page
|
|
[setup.imap]
|
|
hostname="imap.{{DOMAIN}}"
|
|
secure=true
|
|
port=993
|
|
[setup.pop3]
|
|
hostname="imap.{{DOMAIN}}"
|
|
secure=true
|
|
port=993
|
|
[setup.smtp]
|
|
hostname="smtp.{{DOMAIN}}"
|
|
secure=true
|
|
port=465
|