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 feat: Support for Dovecot master accounts (#2535) 2022-05-08 00:28:32 +02:00
10-logging.conf formatting files according to standard (#1619) 2020-09-24 14:54:21 +02:00
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 fix: Remove mkcert.sh usage + _setup_ssl refactor. (#2196) 2021-09-20 00:31:11 +12:00
15-mailboxes.conf docs: Add example for customizing IMAP folders (#2045) 2021-06-23 10:28:43 +12:00
20-imap.conf added dovecot quota feature 2020-04-24 14:56:15 +02:00
20-lmtp.conf make Postfix -> Dovecot delivery over LMTP (was LDA) (#305) (#360) 2016-10-24 15:03:08 +02:00
60-stats.conf removed stats configuration for old statistics plugin (#2336) 2021-12-20 22:46:13 +01:00
90-quota.conf fix: Only listen on 127.0.0.1 for the Dovecot quota-status service (#3057) 2023-02-04 09:27:10 +00:00
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 Add purge cron job for dbox 2020-12-17 20:35:06 +01:00
lmtp-master.inc config: ensure SASL socket file is not inside a volume mount (#3131) 2023-03-03 23:42:55 +01:00