docker-mailserver/test/tests/serial
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
..
mail_pop3.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
mail_with_imap.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
mail_with_ldap.bats chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
mail_with_relays.bats tests: refactor POP3, IMAP (actually SASLauthd + RIMAP) & relay (#3062) 2023-02-06 23:59:01 +01:00
no_container.bats tests: refactor POP3, IMAP (actually SASLauthd + RIMAP) & relay (#3062) 2023-02-06 23:59:01 +01:00
open_dkim.bats chore: Change setup config dkim default key size to 2048 (open-dkim) (#3508) 2023-08-29 09:40:02 +12:00
permit_docker.bats tests: refactor 4 more tests (#3018) 2023-01-24 09:21:39 +01:00
sedfile.bats ci: refactored sedfile & used _send_mail where possible (#3103) 2023-02-22 10:26:04 +01:00
test_helper.bats ci: fix ShellCheck linting for BATS tests (#3347) 2023-05-23 14:33:58 +00:00
tests.bats ci: fix ShellCheck linting for BATS tests (#3347) 2023-05-23 14:33:58 +00:00