docker/wildduck/wildduck.toml

105 lines
1.9 KiB
TOML

name = "WildDuck Mail Server"
[api]
port = 8080
host = "0.0.0.0"
secure = false
[dbs]
# MongoDB Verbindung
mongodb = "mongodb://wildduck:wildduck123@mongo:27017/wildduck"
# Redis Verbindung
redis = "redis://redis:6379/2"
# Attachments in GridFS
gridfs = "mongodb://wildduck:wildduck123@mongo:27017/wildduck"
[imap]
port = 143
host = "0.0.0.0"
secure = false
# STARTTLS aktivieren
starttls = true
[imaps]
port = 993
host = "0.0.0.0"
secure = true
[pop3]
port = 110
host = "0.0.0.0"
secure = false
starttls = true
[pop3s]
port = 995
host = "0.0.0.0"
secure = true
[smtp]
port = 25
host = "0.0.0.0"
secure = false
starttls = true
# Authentifikation für ausgehende Mails
authMethods = ["PLAIN", "LOGIN"]
[submission]
port = 587
host = "0.0.0.0"
secure = false
starttls = true
# Submission Port erfordert immer Authentifikation
authRequired = true
[attachments]
type = "gridstore"
bucket = "attachments"
[log]
level = "info"
# Logausgabe in JSON Format für bessere Verarbeitung
json = true
[emailDomain]
# Hauptdomain
default = "andreasknuth.de"
[sender]
# Hostname für SMTP HELO/EHLO
name = "mail.andreasknuth.de"
# Bounce-Adresse
address = "mailer-daemon@andreasknuth.de"
# Amazon SES Integration wird später hinzugefügt
[relay]
enabled = false
[tls]
# TLS-Konfiguration für SMTP
ciphers = "ECDHE+AESGCM:ECDHE+CHACHA20:DHE+AESGCM:DHE+CHACHA20:!aNULL:!MD5:!DSS"
minVersion = "TLSv1.2"
[limits]
# Maximale Anzahl gleichzeitiger Verbindungen
windowSize = 1000
# Maximale Nachrichten pro Verbindung
rcptTo = 100
# Maximale Größe einer Nachricht (25MB)
maxSize = 26214400
[tasks]
# Automatische Bereinigungsaufgaben
enabled = true
# Gelöschte Nachrichten nach 30 Tagen endgültig löschen
deleteAfter = 30
[webhooks]
# Webhook-URLs für Events (für Auto-Reply und Forwarding)
enabled = true
[auditLog]
# Audit-Log für Compliance
enabled = true
# Aufbewahrungszeit für Audit-Logs (365 Tage)
retention = 365