mirror of
https://github.com/knadh/listmonk.git
synced 2024-09-20 07:16:33 +08:00
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:
parent
c812caad1a
commit
1819480153
|
@ -43,6 +43,7 @@ services:
|
||||||
app:
|
app:
|
||||||
<<: *app-defaults
|
<<: *app-defaults
|
||||||
container_name: listmonk_app
|
container_name: listmonk_app
|
||||||
|
hostname: listmonk.example.com # Recommend using FQDN for hostname
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue