Use the public service hostname for existing mail nodes
This commit is contained in:
1 parent
d81e716ff5
commit
e2489aaa1c
8 files changed
+107
-13
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user