Set up mail client DNS aliases for managed domains

This commit is contained in:
parkel committed 2026-11-24 13:41:06 +01:00
1 parent c0dd02e7a6
commit d81e716ff5
13 files changed
+185 -7

No files matched your search

+4 -2
View File
@@ -626,14 +626,16 @@ 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.mode == "local":
options.update(
COULOBRE_SMTP_HOST="127.0.0.1",
COULOBRE_SMTP_PORT="25",
COULOBRE_SMTP_STARTTLS="0",
COULOBRE_EMAIL_FROM=f"panel@{self.plan.mail.host}",
COULOBRE_MAIL_IMAP_HOST=self.plan.mail.host,
COULOBRE_MAIL_SUBMISSION_HOST=self.plan.mail.host,
)
hosting = self.plan.hosting
if hosting.public_addresses: