From a1e8203d5523ca567eb8787b92e9661835215da2 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sat, 26 Nov 2022 23:15:09 +0100 Subject: [PATCH] Don't hardcode domains --- roles/docker/templates/mailu.env.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/docker/templates/mailu.env.j2 b/roles/docker/templates/mailu.env.j2 index aa353e0..52a4865 100644 --- a/roles/docker/templates/mailu.env.j2 +++ b/roles/docker/templates/mailu.env.j2 @@ -32,7 +32,7 @@ SUBNET={{ services.mailu.subnet }} DOMAIN={{ base_domain }} # Hostnames for this server, separated with comas -HOSTNAMES=mail.{{ base_domain }} +HOSTNAMES={{ services.mailu.domain }} # Postmaster local part (will append the main mail domain) POSTMASTER=admin @@ -120,7 +120,7 @@ WEB_WEBMAIL=/webmail SITENAME={{ base_domain }} # Linked Website URL -WEBSITE=https://mail.{{ base_domain }} +WEBSITE=https://{{ services.mailu.domain }}