support multi-domain certificates

This commit is contained in:
Aine
2022-11-13 16:07:38 +02:00
parent 29cd6c4dcb
commit 519c44e998
5 changed files with 25 additions and 18 deletions

View File

@@ -99,8 +99,8 @@ func initSMTP(cfg *config.Config) {
smtpm = smtp.NewManager(&smtp.Config{
Domains: cfg.Domains,
Port: cfg.Port,
TLSCert: cfg.TLS.Cert,
TLSKey: cfg.TLS.Key,
TLSCerts: cfg.TLS.Certs,
TLSKeys: cfg.TLS.Keys,
TLSPort: cfg.TLS.Port,
TLSRequired: cfg.TLS.Required,
LogLevel: cfg.LogLevel,