docker-mailserver/target/scripts/startup
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
..
check-stack.sh HOSTNAME and DOMAINNAME setting improvements (#2175) 2021-09-12 02:20:16 +12:00
daemons-stack.sh Update check (#1951) 2021-05-19 21:18:06 +02:00
fixes-stack.sh do not delete supervisord.pid (#2044) 2021-06-19 14:01:38 +02:00
misc-stack.sh start-mailserver.sh split (#1820) 2021-02-23 20:03:01 +01:00
setup-stack.sh Fix #2122 - only chmod when needed (#2127) 2021-08-13 00:09:44 +02:00