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.
This commit is contained in:
Easton Man 2024-08-28 00:41:49 +08:00 committed by GitHub
parent c812caad1a
commit 1819480153
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: