From 15b788b4d41bc36dc357898ca5b20ca5ed7b55db Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 2 Aug 2024 16:30:25 -0400 Subject: Add 'mail' subdomain to hostname placeholders Add this subdomain as a hint to the user, to distinguish the specific server hostname from the virtual domain list, which should usually only contain second-level domain names. Signed-off-by: Malfurious --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0efa133..cb70190 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: args: # CONFIGURE ME! # The FQDN this mail server identifies itself as - HOSTNAME: "YOUR-DOMAIN.example" + HOSTNAME: "mail.YOUR-DOMAIN.example" # All domain names this server accepts mail for (comma separated) VIRTUAL_DOMAINS: "YOUR-DOMAIN.example" @@ -43,8 +43,8 @@ services: # certificates. This also allows other web services to operate on the # same host. Set the domain (common name) to generate certs for below # (typically the same value used for HOSTNAME above). - VIRTUAL_HOST: "YOUR-DOMAIN.example" - LETSENCRYPT_HOST: "YOUR-DOMAIN.example" + VIRTUAL_HOST: "mail.YOUR-DOMAIN.example" + LETSENCRYPT_HOST: "mail.YOUR-DOMAIN.example" command: ["/usr/sbin/dovecot", "-F"] mlmmj-maint: -- cgit v1.2.3