Use the public service hostname for existing mail nodes
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-24 13:43:58 +01:00
1 parent d81e716ff5
commit e2489aaa1c
8 files changed
+107 -13

No files matched your search

+4 -3
View File
@@ -626,9 +626,10 @@ class Installer:
options["COULOBRE_LOCAL_MAILBOX_PROVISIONING"] = "1"
if self.plan.mail.mode in {"local", "remote-install"}:
options["COULOBRE_MAIL_NODE_DKIM"] = "1"
options["COULOBRE_MAIL_IMAP_HOST"] = self.plan.mail.mail_hostname
options["COULOBRE_MAIL_SUBMISSION_HOST"] = (
self.plan.mail.mail_hostname
if self.plan.mail.mail_hostname:
options.update(
COULOBRE_MAIL_IMAP_HOST=self.plan.mail.mail_hostname,
COULOBRE_MAIL_SUBMISSION_HOST=self.plan.mail.mail_hostname,
)
if self.plan.mail.mode == "local":
options.update(