add docker setup

This commit is contained in:
2026-08-15 06:22:02 +01:00
parent 892f366a16
commit 310700407e
11 changed files with 410 additions and 19 deletions
+7 -5
View File
@@ -25,9 +25,11 @@ var defaults = []struct {
{"Server", []defaultKV{
{"", "", "Server configuration for SMTP ports and hostname"},
{"", "", "Plain SMTP port for internal/whitelisted IPs"},
{"SMTP_PORT", "4025", ""},
{"", "", "TLS SMTP port for authenticated users"},
{"SMTP_TLS_PORT", "40465", ""},
{"", "", "(standard port 25 — the process needs CAP_NET_BIND_SERVICE or root to bind"},
{"", "", "it directly; not an issue in the Docker deployment, which runs as root)"},
{"SMTP_PORT", "25", ""},
{"", "", "Direct/implicit-TLS SMTP port for authenticated users (like SMTPS, not STARTTLS)"},
{"SMTP_TLS_PORT", "465", ""},
{"", "", "Server hostname for HELO/EHLO identification"},
{"HOSTNAME", "mail.example.com", ""},
{"", "", "Override HELO hostname"},
@@ -112,9 +114,9 @@ var defaults = []struct {
{"IMAP", []defaultKV{
{"", "", "IMAP server configuration for mailbox retrieval (Thunderbird, etc.)"},
{"", "", "Plain IMAP port (STARTTLS not offered, matching the SMTP plain-port design)"},
{"IMAP_PORT", "1143", ""},
{"IMAP_PORT", "143", ""},
{"", "", "Implicit-TLS IMAP port (IMAPS)"},
{"IMAP_TLS_PORT", "1993", ""},
{"IMAP_TLS_PORT", "993", ""},
}},
{"Mailstore", []defaultKV{
{"", "", "Local mailbox storage configuration"},