From 181948015366c2111013f7121806217a097587b5 Mon Sep 17 00:00:00 2001 From: Easton Man Date: Wed, 28 Aug 2024 00:41:49 +0800 Subject: [PATCH] docs: suggest an FQDN in docker compose file (#2019) The 'hostname' field in the docker-compose file is later used in Listmonk to generate the 'Message-Id' of each mail. The hostname is used as the id-right section of 'Message-Id'. According to RFC 2822 3.6.4, id-right = dot-atom-text / no-fold-literal / obs-id-right Also, Rspamd has a spam filtering field 'MID_RHS_NOT_FQDN' which defaults to a 1.0 score. This commit suggests an FQDN in the docker-compose file, which is guaranteed to meet the requirement. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 23c3ee86..e15ea101 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,6 +43,7 @@ services: app: <<: *app-defaults container_name: listmonk_app + hostname: listmonk.example.com # Recommend using FQDN for hostname depends_on: - db volumes: