1
1
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2024-09-29 11:41:18 +02:00
docker-mailserver/docs/content/config
Nathan Pierce c267d8a990
HOSTNAME and DOMAINNAME setting improvements (#2175)
Centralize the collection of the HOSTNAME and DOMAINAME so that it's predictable and uniform across the various scripts (using the helper). Ensure it supports the various configurations users can have (both subdomain and without subdomain, override and no override).

---

* using _obtain_hostname_and_domainname helper + covers when not a subdomain
doc: OVERRIDE_HOSTNAME takes priority

* added tests for non-subdomain hostname + further improvements

* moved SRS DOMAINANME tests into hostname test file + Allowing DOMAINNAME ENV to override what would be automatically set

---

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2021-09-12 02:20:16 +12:00
..
advanced More typo fixes and improve ports example at POP3 docs (#2128) 2021-08-13 10:33:10 +02:00
best-practices docs(deps): bump mkdocs-material to 7.1.6 (#2015) 2021-05-31 19:02:56 +12:00
security Improve fail2ban docs and fix a typo (#2126) 2021-08-13 10:30:39 +02:00
troubleshooting chore(docs): outsourcing environment vars to the documentation (#1948) 2021-05-11 22:15:34 +12:00
user-management docs(refactor): Large refactor + additions + fixes 2021-03-25 11:49:24 +13:00
environment.md HOSTNAME and DOMAINNAME setting improvements (#2175) 2021-09-12 02:20:16 +12:00
pop3.md More typo fixes and improve ports example at POP3 docs (#2128) 2021-08-13 10:33:10 +02:00
setup.sh.md More typo fixes and improve ports example at POP3 docs (#2128) 2021-08-13 10:33:10 +02:00