add docker setup
This commit is contained in:
@@ -138,8 +138,8 @@ func main() {
|
||||
var smtpRunning atomic.Bool
|
||||
|
||||
runSMTP := func() {
|
||||
smtpPort := cfg.Section("Server").Key("SMTP_PORT").MustInt(4025)
|
||||
smtpTLSPort := cfg.Section("Server").Key("SMTP_TLS_PORT").MustInt(40465)
|
||||
smtpPort := cfg.Section("Server").Key("SMTP_PORT").MustInt(25)
|
||||
smtpTLSPort := cfg.Section("Server").Key("SMTP_TLS_PORT").MustInt(465)
|
||||
banner := smtpserver.ResolveBanner(cfg, heloHostname)
|
||||
|
||||
// Bind IPv4-only ("0.0.0.0"), matching both listeners in server_runner.py
|
||||
@@ -175,8 +175,8 @@ func main() {
|
||||
}
|
||||
|
||||
runIMAP := func() {
|
||||
imapPort := cfg.Section("IMAP").Key("IMAP_PORT").MustInt(1143)
|
||||
imapTLSPort := cfg.Section("IMAP").Key("IMAP_TLS_PORT").MustInt(1993)
|
||||
imapPort := cfg.Section("IMAP").Key("IMAP_PORT").MustInt(143)
|
||||
imapTLSPort := cfg.Section("IMAP").Key("IMAP_TLS_PORT").MustInt(993)
|
||||
|
||||
plainServer := imapserver.NewPlainServer(imapBackend)
|
||||
tlsServer := imapserver.NewTLSServer(imapBackend, tlsConfig)
|
||||
|
||||
Reference in New Issue
Block a user