docker-mailserver/docs/content/config/advanced
Georg Lauterbach ab55343d8e
scripts: rework environment variables setup (#2716)
* outsourcing env variable setup

This commit contains major parts of the work of refactoring the setup
and usage of environment variables. It outsources the setup into its own
script and provides dedicated functions to be executed at a later point in time.

A **new** env variable was added: `USER_PROVISIONG` which provides a
better way of defining which method / protocol to use when it comes to
setting up users. This way, the `ENABLE_LDAP` variable is deprecated,
but all of this is backwards compatible due to a "compatibility layer", a function provided by the new variables script.

This is not a breaking change. It mostly refators internal scripts. The
only change facing the user-side is the deprecation of `ENABLE_LDAP`. We
can prolong the period of deprecation for this variable as long as we
want, because the new function that ensures backwards compatibility
provides a clean interface for the future.

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2022-08-22 08:31:32 +02:00
..
mail-forwarding Fix some documentation links (#2426) 2022-02-23 18:22:44 +01:00
maintenance Fixed typo in update-and-cleanup.md. (#2388) 2022-02-01 15:38:24 +01:00
override-defaults scripts: improve custom user-supplied Postfix configuration (#2598) 2022-06-06 09:30:10 +02:00
auth-ldap.md scripts: rework environment variables setup (#2716) 2022-08-22 08:31:32 +02:00
dovecot-master-accounts.md feat: Support for Dovecot master accounts (#2535) 2022-05-08 00:28:32 +02:00
full-text-search.md docs: Improve cron tasks and fix link in documentation (#2708) 2022-08-02 23:38:22 +12:00
ipv6.md docs: Update metadata and links to new locations 2021-03-25 11:49:24 +13:00
kubernetes.md docs: Revise Kubernetes documentation (#2696) 2022-07-28 10:26:53 +12:00
mail-fetchmail.md docs(chore): Normalize for consistency (#2206) 2021-09-23 11:29:37 +12:00
mail-sieve.md Fix some documentation links (#2426) 2022-02-23 18:22:44 +01:00
optional-config.md docs(chore): Normalize for consistency (#2206) 2021-09-23 11:29:37 +12:00
podman.md documentation: DOCKER_HOST missing unix:// (#2595) 2022-05-18 12:18:38 +02:00