feat: FQDN-Support, IMAP-TLS und SMTP-TLS via Master-Cert
- config: IMAPServerConfig um TLSCert/TLSKey erweitert - imapserver: TLS-Support (tls.Listen) mit automatischem Port 993-Default - Server-Konfiguration: FQDN archivmail.scahome.local - nginx server_name auf archivmail.scahome.local gesetzt - SMTP domain auf archivmail.scahome.local - SMTP TLS aktiviert (/etc/ssl/archivmail/archivmail.crt) - IMAP-Server TLS auf Port 993 aktiviert - secure_cookies: true (HTTPS) - Firewall: Port 993 geöffnet - Zertifikat neu ausgestellt (SAN: archivmail.scahome.local + archivmail + 192.168.1.131) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -35,7 +35,9 @@ type Config struct {
|
||||
// IMAPServerConfig holds settings for the embedded read-only IMAP archive server.
|
||||
type IMAPServerConfig struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
Bind string `yaml:"bind"` // default: "127.0.0.1:1143"
|
||||
Bind string `yaml:"bind"` // plain: ":1143", TLS: ":993"
|
||||
TLSCert string `yaml:"tls_cert"` // path to PEM certificate; if set, TLS is enabled
|
||||
TLSKey string `yaml:"tls_key"` // path to PEM private key
|
||||
}
|
||||
|
||||
// ServerConfig holds port settings for the main services.
|
||||
|
||||
Reference in New Issue
Block a user