1
1
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2024-10-18 10:18:07 +02:00
docker-mailserver/target/dovecot
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
..
10-auth.conf
10-logging.conf
10-mail.conf Dovecot: make home dir distinct from mail dir (#3335) 2023-05-15 20:10:29 +02:00
10-master.conf config: remove chroot for Dovecot & PostSRSd (#3208) 2023-03-31 12:17:44 +02:00
10-ssl.conf
15-mailboxes.conf
20-imap.conf
20-lmtp.conf
60-stats.conf
90-quota.conf
90-sieve.conf Rspamd: more features (#3159) 2023-03-18 23:32:48 +08:00
auth-master.inc Dovecot: make home dir distinct from mail dir (#3335) 2023-05-15 20:10:29 +02:00
auth-passwdfile.inc Dovecot: make home dir distinct from mail dir (#3335) 2023-05-15 20:10:29 +02:00
chroot.inc config: remove chroot for Dovecot & PostSRSd (#3208) 2023-03-31 12:17:44 +02:00
dovecot-ldap.conf.ext chore: LDAP config improvements (#3522) 2023-09-02 22:07:02 +12:00
dovecot-purge.cron
lmtp-master.inc config: ensure SASL socket file is not inside a volume mount (#3131) 2023-03-03 23:42:55 +01:00