docker-mailserver/test
Brennan Kinney ed84dca147
chore: LDAP config improvements (#3522)
* chore: Drop management of `SASLAUTHD_*` ENV

- `variables-stack.sh` does not need to manage all these extra ENV or store them. They're not used anywhere else.
- `saslauthd.sh` is the only consumer of these ENV which are effectively direct key/value mappings, with some defaults provided / inherited.

Instead of trying to conditionally support key/value pairs when ENV is set, we could instead use `sed` to delete lines with empty values.

* chore: Drop fallbacks + update configs to match docs

- Drop deprecated support:
  - `DOVECOT_HOSTS` is an ENV deprecated since v10.
  - Fallback for missing URI scheme introduced for Dovecot and SASLAuthd in v10.
  - Adding error log message when no LDAP URI scheme is detected for the supported ENV (when set).
- Docs updated for ENV to reflect the mandatory requirement. `mailserver.env` partially synced equivalent sections.
- Provided base LDAP configs (for overriding) likewise updated from `domain.com` to `example.com`.
- LDAP test updated for required `ldap://` URI scheme. Common ENV shared across LDAP configs hoisted out of the Postfix group.

* chore: Remove unset lines in generated `saslauthd.conf`
2023-09-02 22:07:02 +12:00
..
bats@e8c840b58f update BATS & helper + minor updates to BATS variables (#2988) 2023-01-09 08:54:04 +01:00
config tests: Revise LDAP config + setup (#3514) 2023-08-29 23:52:06 +12:00
helper Change 'for' style (#3368) 2023-05-26 14:00:40 +02:00
linting Bump hadolint/eclint version (#3371) 2023-05-28 22:48:11 +02:00
test-files Rspamd: adjust learning of ham (#3334) 2023-05-13 13:59:16 +02:00
test_helper Change 'until' style (#3366) 2023-05-26 07:42:03 +02:00
tests chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00